A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

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 and cell_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 - v0.5.7

Updated

  • RasterManager: The class can take both a file path and a rasterio.io.DatasetReader as input.
  • combine: Reflects the change in RasterManager.

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch over 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: In match_extent method, dtype of the output was fixed as
 'int32' previously.
 Changed to use the dtype of the RasterManager.

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch over 2 years ago

PyLUSAT -

Added

  • combine function to the geotools module.

Updated

  • RasterManager
    • Added a match_extent method that can match the union of
      the extent of the self and the other raster.
    • rescale now returns MemoryFile of Rasterio.
  • gridify has been moved from utils module to geotools 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 a rescale method that can change the resolution to
    a specified cell size.

Improved

  • RasterManager - Instantiate RasterManager object by passing a rasterio
    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 and distance.to_cell from using gdal 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 the GeoDataFrameManager in pylusat.base. It manages the basic properties and methods of a raster dataset, such as wkt, srs, reproject(), to_array().

Removed

  • utils.read_raster - This function is replaced by the method in RasterManager.

Improved

  • zonal_stats_raster - This function now will compare the spatial reference system of the zone_gdf and the raster. If they are not the same, the function will attempt to Warp (reproject) the raster to match the spatial reference of zone_gdf.

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch almost 4 years ago

PyLUSAT -

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch about 4 years ago

PyLUSAT -

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch about 4 years ago

PyLUSAT -

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch about 4 years ago

PyLUSAT -

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch about 4 years ago

PyLUSAT -

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch about 4 years ago

PyLUSAT -

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch about 4 years ago

PyLUSAT -

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch about 4 years ago

PyLUSAT -

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch over 4 years ago

PyLUSAT -

Natural Resources - Soil and Land - Jupyter Notebook
Published by chjch over 4 years ago