WRF on the Mac, in as few steps as possible
- First, big props to the Catastrophe Science blog. It's a little outdated, but I can confirm that even with the newest packages, you can compile WRF itself.
- It's not mentioned in the blog, but you can use Homebrew. Especially if you are used to packages in Linux, it's quite handy.
- Specfically, I used Homebrew to use GRIB2. Most of the files are in GRIB2 anyways from the major models, so it's worth it.
- This will be updated, but here are the basic steps I did after the steps listed above:
- Get 0p25 GRIB2 from Nomads (I use GFS)
- Save to data folder
- Dynamically link the GRIBS
-
./link_grib.csh ~/model/Data/gfs*
- Adjust namelist.input to time range and domain
- Wipe any FILE or geo or met files
- Execute UNGRIB
- At this point you should have FILE files
- Execute GEOGRID
- At this point you should have a geo file
- Execute metgrid
- At this point you should have met files
- Move to run folder of WRF
- Make sure your namelist.input matches what you used in the WPS!
- Link the files done from metgrid (below is an example)
-
ln -s ../../WPS-4.1/met_em.d01.2020-02-* .
- Execute real.exe in the directory
- Execuite wrf.exe
- Open in IDV
No comments:
Post a Comment