GIS4WRF / gis4wrf

QGIS toolkit 🧰 for pre- and post-processing 🔨, visualizing 🔍, and running simulations 💻 in the Weather Research and Forecasting (WRF) model 🌀
https://gis4wrf.github.io
MIT License
159 stars 36 forks source link

Cleanup metgrid outputs to avoid issue re-running wrf #184

Closed letmaik closed 3 years ago

letmaik commented 3 years ago

Fixes #183.

Note that this did not lead to incorrect simulations as real picks the right met_em files anyway. The issue is more with gis4wrf code that tries to read some metadata from the met_em files to populate the num_metgrid_levels option in the namelist for running wrf. If the number is incorrect, real.exe will just exit. Cleaning up old output files before running metgrid fixes this issue and is good style generally.