Releases: ASFHyP3/asf-tools
Releases · ASFHyP3/asf-tools
ASF Tools v0.8.3
ASF Tools v0.8.2
Added
- Add
mypy
tostatic-analysis
ASF Tools v0.8.1
Fixed
- The
release
Github Actions workflow now uses thegh
CLI instead of the archivedrepo-sync/pull-request
action.
Changed
- The
static-analysis
Github Actions workflow now usesruff
rather thanflake8
.
ASF Tools v0.8.0
Removed
- Support for Python 3.8 and 3.9 has been removed.
ASF Tools v0.7.2
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
Added
- A description of the
asf_tools.watermasking
sub-package has been added to theasf_tools
README - Installation instructions for
osmium-tool
have been added to theasf_tools.watermasking
README
Fixed
osmium-tool
dependency handling. Becauseosmium-tool
is not distributed on PyPI and thus is not installed whenpip
installingasf_tools
,asf_tools
will now raise anImportError
whenosmium-tool
is missing that provides installation instructions. Note:osmium-tool
is distributed on conda-forge and will be included when conda installingasf_tools
.
ASF Tools v0.7.0
Added
- Scripts and entrypoints for generating our global watermasking dataset added to
watermasking
.
ASF Tools v0.6.0
Added
- You can choose whether the
ts
(threat score; default) orfmi
(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 aminimization_metric
keyword argument
- the
- 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 aiterative_min_size
keyword argument
- the
Changed
- The HydroSAR code (
flood_map
,water_map
, andhand
) inasf_tools
has been isolated to anasf_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
andepsg_to_wkt
have been moved fromasf_tools.composite
toasf_tools.util
read_as_array
andwrite_cog
have been moved fromasf_tools.composite
toasf_tools.raster
get_coordinates
has been moved fromasf_tools.flood_map
toasf_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 packagehydrosar
. Theasf_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
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
Changed
asf-tools.flood_map
now produces rasters with pixel values of a positive integer where water is present and0
where water is not present. Everywhere else is set to nodata.