ERROR: Grib2 file or date problem, stopping in edition_num. Can't ungrib.exe SOLVED
Well, it seems that this problem can be very common.
Usually, you have a directory for downloading the meteorology from NCEP/UCAR. Probably, you will have the script for downloading the data in the same directory.
If you link the grib files based on the name there won't be any problems
ERROR: Grib2 file or date problem, stopping in edition_num
To avoid this error, just move the script for downloading the met data elsewhere and link the directory again. Finally, do ungrib.exe
UPDATE 2018-12/15 (I mean 15 of December of 2018)
I had the same problem again, and with the same data! and this solution did not work till i did this:
Usually, you have a directory for downloading the meteorology from NCEP/UCAR. Probably, you will have the script for downloading the data in the same directory.
If you link the grib files based on the name there won't be any problems
./link_grib.csh /path/GFS*
However, it could be possible to link the whole directory. You might do this when you have a whole year of meteorological data../link_grib.csh /path/
If you have scripts for downloading the met data in the same directory, THEN you will have the message:ERROR: Grib2 file or date problem, stopping in edition_num
To avoid this error, just move the script for downloading the met data elsewhere and link the directory again. Finally, do ungrib.exe
UPDATE 2018-12/15 (I mean 15 of December of 2018)
I had the same problem again, and with the same data! and this solution did not work till i did this:
./link_grib.csh /path/GFS
Yes only the first letters, in my case i was using fnl, so the process was
./link_grib.csh /path/fnl
WOW
Gracias!
ResponderEliminarwell described.
ResponderEliminarEnsure the GRIB2 file is correctly HostMyCode formatted and the date in the file matches the expected input format for ungrib.exe.
ResponderEliminar