Pygrib

Latest version: v2.1.5

Safety actively analyzes 640296 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

2.0.0

=================================
* migrate to Github (https://github.com/jswhit/pygrib).
* make sure is_missing(key) method of grib message doesn't fail when
key is analDate or validDate.
* fix grib_list so it handles analDate and validDate keys properly.
* update ncep g2clib to version 1.5.0.
* change download_url in setup.py to point to pypi instead of googlecode.
* silence warnings ("Non-trivial type declarators in shared declaration (e.g.
mix of pointers and values). Each pointer declaration should be on its own
line") with Cython 0.2.

1.9.9

================================
* analDate and validDate are now searchable with pygrib.open.select.
* expand_grid(False) now suppresses expansion of lats, lons returned from
latlons method, as well as data (issue 84)..

1.9.8

=================================
* to be consistent with what the grib_api lib does, don't flip data grids
when jScansPositively=0 or iScansNegatively=1 (issue 77).
* fix segfaulting in ncepgrib2.py when interpolating from reduced to regular
grids.
* raise exception in redtoreg.pyx if number of points on reduced grid
does not equal number of data values (to prevent segfault).
* add -m option to grib_list (same as -s, but also print min/max of data).
* add 'tolerate_badgrib' module variable. When set to True (default False)
execptions won't be raised when grib files are encountered with missing or
malformed keys. Toggle with tolerate_badgrib_on() and
tolerate_badgrib_off().
* add man pages (thanks to Jos De Klos and Alastair McKinstry). Modify
setup.py to install man pages in MAN_DIR/man1 (MAN_DIR is an environment
variable, or can be set in setup.cfg).
* fix for issue 80 (remove mention of --packing_scheme from
grib_repack help message).

1.9.7

================================
* add 'data' method for gribmessage that returns data, lats and lons
for a subset region (defined by bounding lat and lon values).
* fix for GRIB1 mercator data (issue 72).
* added 'expand_grid' method to gribmessage - toggles expansion of
reduced grids to regular grids. Expansion is on by default, to turn
off use grb.expand_grid(False).
* added runtime_library_dirs to Extension in setup.py (so correct library
path is built in when linking shared libs).

1.9.6

================================
* fixed print statement in setup.py and regenerated C interfaces with
new version of Cython to fix python 3.3 errors.
* print warning when trying to create an index from a file with
multi-field messages. This is because keys inside multi-field messages
will not be indexed correctly by the grib_api library
(https://software.ecmwf.int/issues/browse/SUP-275). Partially addresses
issue 61.

1.9.5

================================
* avoid crashing when julianDay is miscoded (by just not setting analDate,
validDate keys).
* update g2clib source to version 1.4.0.
* fix compilation issue when jpeg/openjpeg or png not needed (issue 59).
* add __dealloc__ method that closes file handles when no more
references exist to the object.
* fix radius of the earth definition of WGS84 ellipsoid, use 'radius' key
to set earth radius if available (issue 58).
* change behaviour of select method (for index and open objects)
so that an error is raised if there are no matches.
This avoids a segfault that happens if the select method is
called for an index created from an empty file.

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.