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_x
andcell_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 almost 2 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 2 years ago

PyLUSAT -
Fixed
RasterManager
: Inmatch_extent
method,dtype
of the output was fixed as 'int32' previously. Changed to use thedtype
of theRasterManager
.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch over 2 years ago

PyLUSAT -
Added
combine
function to thegeotools
module.
Updated
RasterManager
- Added a
match_extent
method that can match the union of
the extent of theself
and the other raster. rescale
now returnsMemoryFile
of Rasterio.
- Added a
gridify
has been moved fromutils
module togeotools
module.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch over 2 years ago

PyLUSAT -
0.5.3
2022-07-20
Updated
RasterManager
- Added arescale
method that can change the resolution to
a specified cell size.
Improved
RasterManager
- InstantiateRasterManager
object by passing arasterio
dataset, which allows to chain multiple operations, e.g.,reproject_vrt
and
rescale
.
Added
- Tests for
RasterManager
class.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch almost 3 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 almost 4 years ago

PyLUSAT -
Improved
- Change test framework to
pytest
to work with GitHub Actions for continuous
integration (CI).
Updated
- Change
RasterManager
anddistance.to_cell
from usinggdal
methods to
rasterio
methods.
Natural Resources - Soil and Land
- Jupyter Notebook
Published by chjch almost 4 years ago

PyLUSAT -
Added
- test for
zonal_stats_raster
RasterManager
- This class is similar to theGeoDataFrameManager
inpylusat.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_gdf
and 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 almost 4 years ago









