Skip to content

ASF Tools v0.6.0

Compare
Choose a tag to compare
@tools-bot tools-bot released this 30 Oct 19:42
078a5ca

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.