Skip to content

Commit

Permalink
[0.2.9] - 2024-09-24
Browse files Browse the repository at this point in the history
[0.2.9] - 2024-09-24
  • Loading branch information
nkarasiak authored Sep 24, 2024
2 parents 3f85bfb + be63715 commit 4f9b548
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.9] - 2024-09-24

### Fixed

- `prefer_alternate` is set by default to `download` in datacube is order to
have presigned url.

## [0.2.8] - 2024-09-23

### Added
Expand Down
2 changes: 1 addition & 1 deletion earthdaily/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# to hide warnings from rioxarray or nano seconds conversion
# warnings.filterwarnings("ignore")

__version__ = "0.2.8"
__version__ = "0.2.9"


def EarthDataStore(
Expand Down
2 changes: 2 additions & 0 deletions earthdaily/earthdatastore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,8 @@ def ag_cloud_mask_from_items(items):
ids_ = [x for n in (items_id.values()) for x in n]
items_list = []
step = 100
kwargs.setdefault("prefer_alternate", "download")

for items_start_idx in range(0, len(ids_), step):
items = self.search(
collections=collections,
Expand Down

0 comments on commit 4f9b548

Please sign in to comment.