Hi, forum
I am trying to ungrib ERA5 surface and pressure data downloaded from Copernicus Climate Data Store |. When I ungrib the data the PFILEs are created but then I get the following error.
*** stopping in gribcode ***\n
\tI was expecting a Grib1 file, but this is a Grib2 file.
\tIt is possible this is because your GRIBFILE.XXX files
\tare not all of the same type.
\tWPS can handle both file types, but a separate ungrib
\tjob must be run for each Grib type.\n
STOP gribsize in gribcode
STOP
I want to point out that I have successfully ungrib ERA5 data from the NCAR website but because I can only download global data from ERA5 using the NCAR website (maybe I am wrong?) I had to download a subset of the data from the Copernicus website. I plan to run really long WRF simulations (~10 yrs) so I had to subset the ERA5 data using the Copernicus website.
So my question is. Does anyone know how to check which files are GRIB1 or GRIB2 (I have a lot of files ~3000) or how to approach the aforementioned error? I am using a cray computer and I compiled WPS version 4.5 in parallel using a Cray computer. I attach my ungrib.log file.
Thanks a lot
Alma
I am trying to ungrib ERA5 surface and pressure data downloaded from Copernicus Climate Data Store |. When I ungrib the data the PFILEs are created but then I get the following error.
*** stopping in gribcode ***\n
\tI was expecting a Grib1 file, but this is a Grib2 file.
\tIt is possible this is because your GRIBFILE.XXX files
\tare not all of the same type.
\tWPS can handle both file types, but a separate ungrib
\tjob must be run for each Grib type.\n
STOP gribsize in gribcode
STOP
I want to point out that I have successfully ungrib ERA5 data from the NCAR website but because I can only download global data from ERA5 using the NCAR website (maybe I am wrong?) I had to download a subset of the data from the Copernicus website. I plan to run really long WRF simulations (~10 yrs) so I had to subset the ERA5 data using the Copernicus website.
So my question is. Does anyone know how to check which files are GRIB1 or GRIB2 (I have a lot of files ~3000) or how to approach the aforementioned error? I am using a cray computer and I compiled WPS version 4.5 in parallel using a Cray computer. I attach my ungrib.log file.
Thanks a lot
Alma