Releases: hyriver/pygeoutils
Releases · hyriver/pygeoutils
v0.11.2
Release Notes
The highlight of this release is performance improvement in
gtiff2xarray
for handling large responses.
New Features
- Automatic detection of the driver by default in
gtiff2xarray
as
opposed to it beingGTiff
.
Internal Changes
- Make
geo2polygon
,get_transform
, andget_nodata_crs
public functions since other packages use it. - Make
xarray_mask
a public function and simplifygtiff2xarray
. - Remove
MatchCRS
since it's already available inpygeoogc
. - Validate input geometry in
geo2polygon
. - Refactor
gtiff2xarray
to check for theds_dims
outside the main loops to improve the performance. Also, the function tries to detect the dimension names automatically ifds_dims
is not provided by the user, explicitly. - Improve performance of
json2geodf
by using list comprehension and
performing checks outside the main loop.
Bug Fixes
- Add the missing arguments for masking the data in
gtiff2xarray
.
v0.11.1
Release Notes
Bug Fixes
- In some edge cases the y-coordinates of a response might not be monotonically sorted so
dask
fails. This release sorts them to address this issue.
v0.11.0
Release Notes
New Features
- Function
gtiff2xarray
returns a parallelizedxarray.Dataset
orxarray.DataAraay
that can handle large responses much more efficiently. This is achieved usingdask
.
Breaking Changes
- Drop support for Python 3.6 since many of the dependencies such as
xarray
andpandas
have done so. - Refactor
MatchCRS
. Now, it should be instantiated by providing the
in and out CRSs like so:MatchCRS(in_crs, out_crs)
. Then its methods, namely,geometry
,bounds
andcoords
, can be called. These methods now have only one input, geometry. - Change input and output types of
MatchCRS.coords
from tuple of
lists of coordinates to list of(x, y)
coordinates. - Remove
xarray_mask
andgtiff2file
sincerioxarray
is more
general and suitable.
Internal Changes
- Remove unnecessary type checks for private functions.
- Refactor
json2geodf
to improve robustness. Useget
method of
dict
for checking key availability.
v0.10.1
Release Notes
- Setting transform of the merged dataset explicitly to address hyriver/py3dep#3
- Add annoucement regarding the new name for the softwate stack, HyRiver.
- Improve
pip
installation and release workflow.
Release v0.10.0
Please check HISTORY.rst file for a detailed list
of changes.
Release v0.9.0
Please check HISTORY.rst file for a detailed list
of changes.
Release v0.2.0
Please check HISTORY.rst file for a detailed list
of changes.
v0.1.10
v0.1.9
v0.1.8
- Retained the compatibility with
xarray
0.15 by removing theattrs
flag. - Added
xarray_geomask
function and made it a public function. - More efficient handling of large geotiff responses by cropping the response before converting it into a dataset.
- Added a new function called
geo2polygon
for converting and transforming a polygon or bounding box into a Shapley's Polygon in the target CRS. - This release will be a part of Hydrodata 0.7.0.