pygrib
pygrib copied to clipboard
Can not open Grib files from Nomands
I am trying to read in a file from https://nomads.ncep.noaa.gov
I can read all multigrid files like here
but my script fails to read files from other links that are supposed to be Grib files such as files from here and fails with the error below
Exception has occurred: exceptions.ValueError
no matches found
File "/buio/buio/pygrib.pyx", line 610, in pygrib.open.select
or from here
I use the second python script here to read the files. I guess the format must be different?
The script you reference uses netcdf4-python to read the nomads dataset, not pygrib. pygrib is for reading grib files on a local disk - if you want to read remote opendap datasets use netcdf4-python.
Thanks for the comment @jswhit , there are two scripts and I refer to the second. Also, I have the files stored locally... Any idea why it fails reading?