Skip to content

Commit

Permalink
v0.0.6 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmarshak authored Jan 31, 2025
2 parents 2308319 + df499ba commit d32996d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/)
and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.6] - 2025-01-18

* Fixed default keyword argument for `merge_categorical_arrays` from `mode` (not possible with rasterio) to `min`.


## [0.0.5] - 2025-01-18

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/distmetrics/rio_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def merge_categorical_arrays(
profiles: list[dict],
target_crs: CRS | None = None,
exterior_mask_dilation: int = 0,
merge_method: str = 'mode',
merge_method: str = 'min',
) -> tuple[np.ndarray, dict]:
arrs_r, profiles_target = reproject_arrays_to_target_crs(
arrs, profiles, target_crs=target_crs, resampling_method='nearest'
Expand Down

0 comments on commit d32996d

Please sign in to comment.