Skip to content

Releases: mwtoews/gridit

Version 0.6

26 Jun 09:42
Compare
Choose a tag to compare

Changed

  • Change Grid(projection) to be None (#34).
  • Change build to hatch, use only ruff format and lint tools, add workflow to publish to PyPI (#33).

Fixed

  • Fix tests with latest numpy, xarray, fiona and rasterio/GDAL versions (#32).

Version 0.5

06 Dec 22:33
Compare
Choose a tag to compare

Added

  • Add vector (polygon) attributes and functions, including cell_geoms property, a write_vector() method.
  • Add cell_geoseries() and cell_geodataframe() methods.
  • Allow other geometry types to be used (not just polygon).

Changed

  • Change array_from_vector to use refine=None, to auto-select appropriate value.
  • Change mask_from_vector to use refine=1 and all_touched=True.
  • Better filter for Grid.from_vector class method.
  • Build Grid from FloPy modelgrid object.

Fixed

  • Allow write_raster to write bool array; fix issue with nodata.
  • Fix resampling option for array_from_raster and array_from_array.

Version 0.4

08 Nov 20:46
Compare
Choose a tag to compare

Added

  • Add all_touched option for array_from_vector.
  • Add Dependabot to project.

Fixed

  • Fix issue calculating catchment weights with time stats.
  • Fix splitting option on absolute paths with drives (e.g. "C:")

Version 0.3

19 Sep 11:07
Compare
Choose a tag to compare

Added

  • Add array_to_array function to resample numpy arrays.
  • Add write outputs to cli, including --write-image, --write-raster and --write-text.
  • Add Grid.from_modflow and mask_from_modflow functions.

Changed

  • Better missing data handling with array_from_vector function.
  • Remove --array-from-raster-bidx, use --array-from-raster FILE[:BIDX] instead.
  • Handle additional indexing with netCDF files.

Version 0.2

30 Aug 00:13
Compare
Choose a tag to compare

Added

  • Specify Zenodo DOI for project.
  • Use setuptools_scm for version and file management.
  • Start a change log file.

Version 0.1

29 Aug 03:18
Compare
Choose a tag to compare

Initial release.