Python module for reading and writing GRIB (editions 1 and 2) files. GRIB is the World Meterological Organization standard for distributing gridded data.
Questions tagged [pygrib]
51 questions
0
votes
0 answers
Pygrib Open encoding error
I'm trying to get pygrib to work in Python 3.5.
I have imported it in my program, I have assigned the grib file to a variable (grib).
But when I try to run the command:
grbs=pygrib.open(grib)
I get the following error:
File "", line 1, in
…

Stephane
- 31
- 7
0
votes
1 answer
importing pygrib anaconda throws dependency issues
I have the following issue: I have installed anaconda 3 and installed a package called "pygrib" into my anaconda environment. Now when importing pygrib in a file in my environment, it will show me this error:
import pygrib
ImportError:…

Christian
- 39
- 6
0
votes
1 answer
importing pygrib in python
In spite encountering no errors in pygrib installation, I encountered the following error when importing pygrib:
>>> import pygrib
Traceback (most recent call last):
File "", line 1, in
ImportError:…

acgvar
- 5
- 4
0
votes
2 answers
Accessing all parameters of a GRIB2 file using pygrib
I am trying to read a GRIB2 file using pygrib. I manage to open files and read data without problem, but I need to automate the process, and unfortunately each file contains multiple very similar fields:
1:Total Cloud Cover:%…

Holt
- 36,600
- 7
- 92
- 139
-1
votes
1 answer
Error: all the input array dimensions except for the concatenation axis must match exactly
output=np.column_stack((
L1.values.ravel(),
L2.values.ravel(),
L3.values.ravel(),
L8.values.ravel(),
L9.values.ravel(),
L10.values.ravel(),
L11.values.ravel(),
WCSFC,
WCUPPER,
TCSFC,
DCSFC,
TCUPPER,
Tornado,
L1.latlons()[0].ravel(),
L1.latlons()[1].r…

Kyle
- 51
- 2
- 8
-1
votes
1 answer
Change data source from THREDDS Catalouge for NetCDF
Hi i am using this code from here How to read NetCDF file and write to CSV using Python I want to be able to pull out the "Mean_period_of_swell_waves_ordered_sequence_of_data" from from the THREDDS Catalog here but am recieving the below error. I am…

Alec Short
- 1
- 2