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

Required variables and attributes for loading .nc files #210

Closed rr5577 closed 2 years ago

rr5577 commented 3 years ago

I have a netcdf file, that was apparently generated while not using the complete specifications. When i first tried to load it with QGIS/GIS4WRF, i got a keyerror because the time dimension was spelled "time" instead of "Time". I was able to fix that by renaming the dimension using xarray. But now I´m getting another keyerror for "Times" and I´m guessing this won´t be the last one. Is there a list of required dimensions, variables or attributes that are absolutely needed to successfully load a file in GIS4WRF? So i could try to ask the file creator to revise his generated netcdf files?

dmey commented 2 years ago

Is this a wrfout file? How did you try to load the file exactly?

letmaik commented 2 years ago

Closing, not related to gis4wrf. The netcdf format of WRF can be seen by opening an output file with ncdump or similar.