Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Ungrib fails for data from a specific year

GabrieleBentiv

New member
The message I get in the ungrib log is:
End-of-record mark (7777) not found 0
Sec0(1) = 283230 0
*** stopping in findgrib in gribcode ***\n
\tI could not find the GRIB string in the input file
\tafter testing the first 100,000 bytes.
\tThe file may be corrupt or it is not a GRIB file.
\tPerhaps a gzipped GRIB file or netcdf?\n
findgrib

But the same exact setup works for equivalent data, downloaded the same way, but for another year. I am using ERA5 renalysis data from Copernicus CDS, and their support states there is no problem in the dataset itself. Any idea on what the issue could be?
 
Hi,
Apologies for the delay. Can you share one of your input data files, along with the Vtable you're using, and your namelist.wps file? If the data file is too large to share, see the home page of this forum for details on sharing large files. Thanks!
 
Thank you for the reply, I was able to solve with the help of the CDS support. Apparently, if the download request is large enough, the file might get corrupted during download without any warning. So no issues on the ungrib side, which works with the same data but split up into smaller files.
 
I'm so glad you got it resolved, and thank you for updating the post with the resolution method!
 
Top