matthiasdemuzere / w2w

A python tool that ingests WUDAPT information into WRF.
MIT License
39 stars 16 forks source link

Couldn't open ./geo_em.d02.nc for input #9

Closed NicMan89 closed 3 years ago

NicMan89 commented 3 years ago

The metgrid.exe provide me the following error message:

ERROR: Couldn't open ./geo_em.d02.nc for input Note: The following floating-point exceptions are signalling: IEE_OVERFLOW_FLAG IEE_UNDERFLOW_FLAG IEE_DENORMAL

With w2w tool and EU_LCZ_map_epsg4326.tif (from https://figshare.com/articles/dataset/European_LCZ_map/13322450), I got the 3 output files from w2w.py
I have copy and paste the geo_em.d02_LCZ_params.nc and rename it to the standard name geo_em.d02.nc. I don't understand where is the mistake, I tried to use the new geogrid output from w2w for only d02 domain and for d01 and d02 domains but the error message is always the same. I use WPS 3.9.0.1 version.

Thank you in advance for your precious time.

matthiasdemuzere commented 3 years ago
  1. Are you sure geo_em.d02.nc is in the folder that metgrid.exe expects it to be?

  2. This issue might be similar to one: #2. The problem there was that WRF is not compiled with the netcdf/hdf5 libraries that are used to create the LCZ-based geo_em files. You could check this by testing:

> ncdump geo_em.d02.nc on the lcz-based geo_em file.

See here.

If that is the problem, you should probably first recompile netcdf4 (enabling hdf5), and then re-compile WRF.

Please let us know how this works for you ...

NicMan89 commented 3 years ago

Hi @matthiasdemuzere ,

sorry for the late answer but the workstation I usually use was not available to test your directions. I have solved the problem following this message from @Zhengzefeng1999. Now the metgrid work fine with the geogrid's output modify by w2w.py. I recompile hdf5 and netcdf-c netcdf-fortran from here, a script by @dspelaez, and then recompile WPS and WRF. Thanks a lot for your precious time.

Nicola Manconi