Skip to content

Releases: ASFHyP3/asf-tools

ASF Tools v0.8.3

23 Jan 00:11
fb84876
Compare
Choose a tag to compare

Changed

  • Upgraded the reusable-mypy action to v0.15.0.

ASF Tools v0.8.2

13 Jan 20:37
cddc7f2
Compare
Choose a tag to compare

Added

ASF Tools v0.8.1

17 Dec 20:52
9f6b469
Compare
Choose a tag to compare

Fixed

  • The release Github Actions workflow now uses the gh CLI instead of the archived repo-sync/pull-request action.

Changed

  • The static-analysis Github Actions workflow now uses ruff rather than flake8.

ASF Tools v0.8.0

27 Jun 17:41
5b522a4
Compare
Choose a tag to compare

Removed

  • Support for Python 3.8 and 3.9 has been removed.

ASF Tools v0.7.2

20 Mar 19:06
ca56967
Compare
Choose a tag to compare

Fixed

  • Changed relative link to the watermasking readme in the repo readme to the full URL, so that the link is valid when readme content is mirrored in hyp3-docs

ASF Tools v0.7.1

04 Mar 17:54
7d354fb
Compare
Choose a tag to compare

Added

Fixed

  • osmium-tool dependency handling. Because osmium-tool is not distributed on PyPI and thus is not installed when pip installing asf_tools, asf_tools will now raise an ImportError when osmium-tool is missing that provides installation instructions. Note: osmium-tool is distributed on conda-forge and will be included when conda installing asf_tools.

ASF Tools v0.7.0

01 Mar 19:13
bc8a572
Compare
Choose a tag to compare

Added

  • Scripts and entrypoints for generating our global watermasking dataset added to watermasking.

ASF Tools v0.6.0

30 Oct 19:42
078a5ca
Compare
Choose a tag to compare

Added

  • You can choose whether the ts (threat score; default) or fmi (Fowlkes-Mallows index) minimization metric is used for the flood mapping iterative estimator:
    • the flood_map console script entrypoint now accepts a --minimization-metric argument
    • the asf_tools.hydrosar.floopd_map.make_flood_map function now accepts a minimization_metric keyword argument
  • The flood mapping iterative estimator will ignore waterbodies smaller than a minimum number of pixels (default = 0)
    • the flood_map console script entrypoint now accepts a --iterative-min-size argument
    • the asf_tools.hydrosar.floopd_map.make_flood_map function now accepts a iterative_min_size keyword argument

Changed

  • The HydroSAR code (flood_map, water_map, and hand) in asf_tools has been isolated to an asf_tools.hydrosar sub-package
  • The asf_tools.hydrosar.flood_map.iterative estimator now runs with a maximum step size of 3 instead of the default 0.5.
  • The asf_tools.hydrosar.flood_map.iterative estimator now uses the mean of the iterative bounds at the initial guess.
  • the known water threshold used to determine perennial water when creating flood maps will be calculated asf_tools.hydrosar.flood_map.get_pw_threshold if not provided
  • get_epsg_code and epsg_to_wkt have been moved fromasf_tools.composite to asf_tools.util
  • read_as_array and write_cog have been moved fromasf_tools.composite to asf_tools.raster
  • get_coordinates has been moved fromasf_tools.flood_map to asf_tools.util

Deprecated

  • The asf_tools.hydrosar sub-package is being moved to the HydroSAR project repository and will be provided in a new pip/conda installable package hydrosar. The asf_tools.hydrosar subpackage will be removed in a future release.

Fixed

  • Reverted the special handling of nan values introduced in v0.5.2, now that GDAL v3.7.0 has been released.

ASF Tools v0.5.2

15 Mar 19:30
329d8e1
Compare
Choose a tag to compare

Added

  • Updated tests to use a water_map/flood_map job that was created using a known input SLC

Fixed

  • Patched issue with gdalcompare.py's handling of nan values by allowing one differences between two rasters
    that contain nan values. This patch can be remove once the upstream fix is released within GDAL (likely v3.7.0)
  • Fixed incorrect datatype being set for flood_mask GeoTIFFs leading to missing nodata.

ASF Tools v0.5.1

03 Mar 22:22
6313bd7
Compare
Choose a tag to compare

Changed

  • asf-tools.flood_map now produces rasters with pixel values of a positive integer where water is present and 0 where water is not present. Everywhere else is set to nodata.