pygrib icon indicating copy to clipboard operation
pygrib copied to clipboard

Python interface for reading and writing GRIB data

Results 85 pygrib issues
Sort by recently updated
recently updated
newest added

While working with 1x1 (single grid point) grib files, I noticed that .values returns a single value instead of a 1x1 2d array. Is this an expected behavior? Example: ```python...

Thanks for your work on pygrib! Here's a warning I sometimes see with current pygrib and numpy 1.12.0 ``` /usr/lib64/python2.7/site-packages/ncepgrib2.py:738: MaskedArrayFutureWarning: setting an item on a masked array which has...

https://github.com/jswhit/pygrib/blob/f2a8ce224ccc9b6c1bb24310a5c32a1953a97c8c/setup.py#L97 The same happens with `$GRIBAPI_LIBDIR`. BTW, it'd be nice to read configuration from `pkg-config` when `$GRIBAPI_DIR` isn't set.

I try this ... data, lats, lons = grb.data(lat1=20,lat2=70,lon1=0,lon2=28) grb['values'] = data msg = grb.tostring() grb = pygrib.fromstring(msg) data = grb.values() Script dies with: File "./get_latest.py", line 81, in open_grib_get_area...

I have encountered an incompatibility issue between pygrib latlons() and NDFD oceanic grids (GRIB2 files). The longitudes do not seem to be read in correctly using latlons(). It seems that...

I just want to modify some data of one grib2 file and then write modified data and the others to a new grib2 file. Is there any way to achieve...

I am trying to download a noaa grib2 file in python2.7 on Ubuntu 16.04. I am getting the following error: Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]...

I successfully installed pygrib2.0.2 by pip, but when I import it in python, I will met the problem: ### >>> import pygrib Traceback (most recent call last): File "", line...

Is there a way to install pygrib and pygrib2 together with Python3.6? Attempts to install conda install -c conda-forge pygrib=2.0.1 results in: UnsatisfiableError: The following specifications were found to be...

building 'pygrib' extension gcc -fno-strict-aliasing -I/Users/user/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/user/anaconda/lib/python2.7/site-packages/numpy/core/include -Ig2clib_src -I/Users/user/anaconda/include/python2.7 -c pygrib.c -o build/temp.macosx-10.7-x86_64-2.7/pygrib.o In file included from /Users/user/anaconda/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5/include-fixed/syslimits.h:7:0, from /Users/user/anaconda/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5/include-fixed/limits.h:34, from /Users/user/anaconda/include/python2.7/Python.h:19,...