Recent Releases of PyLUSAT
PyLUSAT - v0.5.8
Updated
gridify: The function now covers the input GeoDataFrame's extent based on
a (minimum) bounding box whose horizontal and vertical spans can be divided
by the cell size (cell_xandcell_y) without remainder.
Previously, the extent of the output grid is exactly the same as the input
GeoDataFrame's extent.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch about 3 years ago
PyLUSAT -
0.5.6
Added
- Add Examples to docstrings, which can be rendered by Sphinx's
autodoc.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch over 3 years ago
PyLUSAT -
Fixed
RasterManager: Inmatch_extentmethod,dtypeof the output was fixed as 'int32' previously. Changed to use thedtypeof theRasterManager.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch almost 4 years ago
PyLUSAT -
Added
combinefunction to thegeotoolsmodule.
Updated
RasterManager- Added a
match_extentmethod that can match the union of
the extent of theselfand the other raster. rescalenow returnsMemoryFileof Rasterio.
- Added a
gridifyhas been moved fromutilsmodule togeotoolsmodule.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch almost 4 years ago
PyLUSAT -
0.5.3
2022-07-20
Updated
RasterManager- Added arescalemethod that can change the resolution to
a specified cell size.
Improved
RasterManager- InstantiateRasterManagerobject by passing arasterio
dataset, which allows to chain multiple operations, e.g.,reproject_vrtand
rescale.
Added
- Tests for
RasterManagerclass.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch almost 4 years ago
PyLUSAT -
Fixed
zonal_stats_raster- fixed issues with the function when raster projection
and GeoDataFrame projection are not the same by fixing the backend class
RasterManager
Updated
- Updated the license
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch about 5 years ago
PyLUSAT -
Improved
- Change test framework to
pytestto work with GitHub Actions for continuous
integration (CI).
Updated
- Change
RasterManageranddistance.to_cellfrom usinggdalmethods to
rasteriomethods.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch about 5 years ago
PyLUSAT -
Added
- test for
zonal_stats_raster RasterManager- This class is similar to theGeoDataFrameManagerinpylusat.base. It manages the basic properties and methods of a raster dataset, such aswkt,srs,reproject(),to_array().
Removed
utils.read_raster- This function is replaced by the method inRasterManager.
Improved
zonal_stats_raster- This function now will compare the spatial reference system of thezone_gdfand theraster. If they are not the same, the function will attempt toWarp(reproject) the raster to match the spatial reference ofzone_gdf.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch about 5 years ago