Skip to content

Version 0.5

Latest
Compare
Choose a tag to compare
@mwtoews mwtoews released this 06 Dec 22:33
· 6 commits to main since this release

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.