diff --git a/CHANGELOG.md b/CHANGELOG.md index c1845e4..24877b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ + +## v1.0.5 +### 2024-08-19 + +This version of HOSS updates the 'is_index_subset' method to check for empty list (in case of dimensions subset) +as well as None (for the spatial, bbox and temporal subsets. This prevents prefetch from being called for +variable subsetting which was occuring for SMAP L3/L4 collections. + ## v1.0.4 ### 2024-04-05 diff --git a/docker/service_version.txt b/docker/service_version.txt index ee90284..90a27f9 100644 --- a/docker/service_version.txt +++ b/docker/service_version.txt @@ -1 +1 @@ -1.0.4 +1.0.5 diff --git a/hoss/dimension_utilities.py b/hoss/dimension_utilities.py index 91908c4..9ee8d02 100644 --- a/hoss/dimension_utilities.py +++ b/hoss/dimension_utilities.py @@ -45,8 +45,6 @@ def is_index_subset(message: Message) -> bool: """ return any( - #rgetattr(message, subset_parameter, None) and - #rgetattr(message, subset_parameter, None) is not None rgetattr(message, subset_parameter, None) not in (None, []) for subset_parameter in [ 'subset.bbox',