friedemann
New member
Hi!
I would like to drive WRF 4.1.1 with ERA5, following the instructions here: https://dreambooker.site/2018/04/20/Initializing-the-WRF-model-with-ERA5/. While ungrib.exe, metgrid.exe and real.exe all run successfully, I get this message in rsl.error.0000 from real.exe:
Fatal error BAD VARIABLE DIMENSION in ext_ncd_read_field RH2015-02-01_00:00:00
for every timestep of the met_em-files (real.exe finishes with the message that it ran successfully, though!).
The RH fields in the met_em files have 1 level and are described as "Relative Humidity At 2 m" . The values look realistic. However, calc_ecmwf_p.exe complains: "WARNING: Either TT or SPECHUMD not found. No RH will be computed". A colleague suggested that problems with RH might not be important because WRF uses SPECHUMD instead of RH (the user guide says SPECHUMD and RH are not needed if the other is available). I tested this with a workaround for the warning by calc_ecmwf_p.exe, namely concatenating intermediate surface and 3d files before running it (https://github.com/wrf-model/WPS/issues/113). When I do that, the met_em files have RH fields on all model levels (weirdly, the description still says "Relative Humidity At 2 m" - don't know if that's an issue). I can run real.exe without complaining about RH. I then removed RH from these met_em files, and the output from real.exe (wrfinput and wrfbdy files) was identical - so RH was in fact not used. wrfinput and wrfbdy files do differ, however, from the case without concatenating intermediate files. The difference here must be that the met_em files only contain a GHT field when concatenating intermediate files.
While it seems that the issue with RH might not have an effect, I'm not sure the SPECHUMD fields in my met_em files are OK. They cover all num_metgrid_levels with realistic-looking values, except for the surface level where all values are -1. I haven't found out whether real/wrf are able to work with that, neither online nor from log files (when running WRF with ERA-Interim, I get-1e30 in the RH surface level, and real.exe says it'll use the values from the level above, so I'm suspicious about the lack of a similar log message in the case of SPECHUMD). Surface data for relative humidity and specific humidity aren't available in ERA5. Could someone shed light on this? At this point, I'm not sure whether using ERA5 causes errors because of the humidity-related variables.
Cheers,
Friedemann
I would like to drive WRF 4.1.1 with ERA5, following the instructions here: https://dreambooker.site/2018/04/20/Initializing-the-WRF-model-with-ERA5/. While ungrib.exe, metgrid.exe and real.exe all run successfully, I get this message in rsl.error.0000 from real.exe:
Fatal error BAD VARIABLE DIMENSION in ext_ncd_read_field RH2015-02-01_00:00:00
for every timestep of the met_em-files (real.exe finishes with the message that it ran successfully, though!).
The RH fields in the met_em files have 1 level and are described as "Relative Humidity At 2 m" . The values look realistic. However, calc_ecmwf_p.exe complains: "WARNING: Either TT or SPECHUMD not found. No RH will be computed". A colleague suggested that problems with RH might not be important because WRF uses SPECHUMD instead of RH (the user guide says SPECHUMD and RH are not needed if the other is available). I tested this with a workaround for the warning by calc_ecmwf_p.exe, namely concatenating intermediate surface and 3d files before running it (https://github.com/wrf-model/WPS/issues/113). When I do that, the met_em files have RH fields on all model levels (weirdly, the description still says "Relative Humidity At 2 m" - don't know if that's an issue). I can run real.exe without complaining about RH. I then removed RH from these met_em files, and the output from real.exe (wrfinput and wrfbdy files) was identical - so RH was in fact not used. wrfinput and wrfbdy files do differ, however, from the case without concatenating intermediate files. The difference here must be that the met_em files only contain a GHT field when concatenating intermediate files.
While it seems that the issue with RH might not have an effect, I'm not sure the SPECHUMD fields in my met_em files are OK. They cover all num_metgrid_levels with realistic-looking values, except for the surface level where all values are -1. I haven't found out whether real/wrf are able to work with that, neither online nor from log files (when running WRF with ERA-Interim, I get-1e30 in the RH surface level, and real.exe says it'll use the values from the level above, so I'm suspicious about the lack of a similar log message in the case of SPECHUMD). Surface data for relative humidity and specific humidity aren't available in ERA5. Could someone shed light on this? At this point, I'm not sure whether using ERA5 causes errors because of the humidity-related variables.
Cheers,
Friedemann