Skip to content

Commit cc16650

Browse files
authored
release(v0.5.4)
release(v0.5.4)
2 parents 300316a + e22f89f commit cc16650

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

docs/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.5.4] - 2025-02-10
8+
9+
### Added
10+
11+
- `ini` credentials from `~/.earthdaily/credentials` now supports profile.
12+
13+
### Changed
14+
15+
- `filter_duplicate_items` has a time delta of 60 minutes
16+
(due to issues with `sentinel-2-l2a` duplicates).
17+
18+
719
## [0.5.3] - 2025-02-13
820

921
### Fixed

earthdaily/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
__all__ = ["options"]
88

9-
__version__ = "0.5.3"
9+
__version__ = "0.5.4"
1010

1111

1212
def EarthDataStore(

earthdaily/earthdatastore/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ def read_credentials(
506506
config = cls.read_credentials_from_environment()
507507

508508
else:
509-
config = cls.read_credentials_from_ini()
509+
config = cls.read_credentials_from_ini(profile=profile)
510510

511511
return config
512512

@@ -527,6 +527,8 @@ def read_credentials_from_ini(cls, profile: str = "default") -> dict:
527527

528528
from configparser import ConfigParser
529529

530+
if profile is None:
531+
profile = "default"
530532
ini_path = Path.home() / ".earthdaily/credentials"
531533
ini_config = ConfigParser()
532534
ini_config.read(ini_path)

earthdaily/earthdatastore/_filter_duplicate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def _select_latest_items(items: List[Dict]) -> List[Dict]:
161161

162162
def filter_duplicate_items(
163163
items: ItemCollection,
164-
time_threshold: timedelta = timedelta(minutes=5),
164+
time_threshold: timedelta = timedelta(minutes=60),
165165
method="proj:transform",
166166
) -> ItemCollection:
167167
"""

0 commit comments

Comments
 (0)