Skip to content

Adjusting data downloader and subscriber to use earthaccess login methods - #191

Merged
jpl-btlunsfo merged 3 commits into
developfrom
issue/175
Jun 10, 2026
Merged

Adjusting data downloader and subscriber to use earthaccess login methods#191
jpl-btlunsfo merged 3 commits into
developfrom
issue/175

Conversation

@jpl-btlunsfo

Copy link
Copy Markdown
  • Updated pyproject.toml to include new earthaccess package, and adjusted python minimum requirements
  • Modified podaac_data_{subscriber,downloader}.py to use the earthaccess module's login methods and token fetching.
  • Removed podaac_access module's old login and token methods, and the relevant pytest scripts.

Should close #175, unless we want to make use of more of earthaccess's search/download methods.

@jpl-btlunsfo
jpl-btlunsfo requested a review from viviant100 May 14, 2026 17:19
@jpl-btlunsfo jpl-btlunsfo self-assigned this May 14, 2026
@jasonmlkang
jasonmlkang self-requested a review May 14, 2026 17:58
jasonmlkang
jasonmlkang previously approved these changes May 14, 2026
@jasonmlkang
jasonmlkang dismissed their stale review May 14, 2026 18:41

Will do more local testing

@jasonmlkang
jasonmlkang self-requested a review May 14, 2026 18:41
Comment thread subscriber/podaac_data_subscriber.py Outdated
Comment thread pyproject.toml
Comment thread tests/test_token_regression.py Outdated
- moved token fetch back into podaac_access (still calling earthaccess), with a wrapper for updating param iterables
- modified get_cmr_collections to allow refreshing token on 401
- added earthaccess login tests
@jpl-btlunsfo
jpl-btlunsfo requested a review from viviant100 May 19, 2026 20:57
@jpl-btlunsfo
jpl-btlunsfo merged commit ec2da4c into develop Jun 10, 2026
1 of 10 checks passed
@jpl-btlunsfo
jpl-btlunsfo deleted the issue/175 branch June 10, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants