Skip to content

Releases: nsidc/earthaccess

v0.14.0

11 Feb 23:51
34ffbe2
Compare
Choose a tag to compare

[v0.14.0] - 2025-02-11

📣 📣 📣 BREAKING CHANGE 📣 📣 📣

From now on, any time Earthdata Login rejects credentials, a Python exception will be raised. You can get the old behavior with a standard try/except block:

# Caution: If credentials are rejected, you should know about it and update any env vars
# or .netrc files. If credentials are rejected too many times, you could get locked out
# of your account.
try:
    earthaccess.login()
except Exception:
    pass

Added

  • search_datasets now accepts a has_granules keyword argument. Use has_granules=False to search for metadata about collections with no associated granules. The default value set in DataCollections remains True. (#939) (@juliacollins)

Changed

  • Breaking: earthaccess will now raise an exception when login credentials are rejected. If you need the old behavior, please use a try block. (#888) (@mfisher87, @chuckwondo, @jhkennedy)

New Contributors

Full Changelog: v0.13.0...v0.14.0

v0.13.0

29 Jan 04:45
762c2a2
Compare
Choose a tag to compare

[v0.13.0] - 2025-01-28

Changed

  • Integration tests: Test are no longer randomized! this means each fail should be reproducible, we are testing the most
    popular datasets from all DAACs, see files under tests/integration/popular_collections.
    (#215)
    (@mfisher87)

Added

  • VirtualiZarr: earthaccess can open archival formats (NetCDF, HDF5) as if they were Zarr by leveraging VirtualiZarr
    In order to use this capability the collection needs to be supported by OPeNDAP and have dmrpp files.
    See example notebooks!
    (@ayushnag and @TomNicholas)

Fixed

  • earthaccess.download will let requests automatically decode compressed content
    (#887)
    (@itcarroll)

  • earthaccess.download now shares the authenticated session cookie among threads to avoid overloading EDL.
    (#913)
    (@hailiangzhang)

Complete autogenerated list:

What's Changed

New Contributors

Full Changelog: v0.12.0...v0.13.0

v0.12.0

13 Nov 18:14
Compare
Choose a tag to compare

v0.12.0

Changed

  • Use built-in assert statements instead of unittest assertions in integration tests (#743) (@chuckwondo)

Added

  • Add support for NETRC environment variable to override default .netrc file location (#480) (@chuckwondo)
  • Add nox session for running integration tests locally (#815; @chuckwondo and #872; @jhkennedy)
  • Auto-add comment to PR that requires maintainer to review and re-run integration tests (#824) (@chuckwondo)

Removed

  • The scripts/integration-test.sh script has been removed in favor of the integration-tests nox session. (#872) (@jhkennedy)
  • Python 3.9 is no longer supported. (#876) (@mfisher87)

Fixed

Full Changelog: v0.11.0...v0.12.0

v0.11.0

01 Oct 18:28
Compare
Choose a tag to compare

v0.11.0

Changed

  • Automatically refresh EDL token and deprecate the Auth.refresh_tokens method with no replacement, as there is no longer a need to explicitly refresh (#484) (@fwfichtner)
  • Deprecate earthaccess.get_s3fs_session and Store.get_s3fs_session. Use earthaccess.get_s3_filesystem and Store.get_s3_filesystem, respectively, instead (#766) (@Sherwin-14, @chuckwondo)

Added

Fixed

  • Remove broken link "Introduction to NASA earthaccess" (#779) (@Sherwin-14)
  • Restore automation for tidying notebooks used in documentation (#788) (@itcarroll)

Removed

  • Remove binder/ directory, as we no longer need a special binder environment with the top-level environment.yml introduced in #733 (@jhkennedy)

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

19 Jul 19:53
Compare
Choose a tag to compare

v0.10.0

Changed

Added

Removed

Fixed

New Contributors

Full Changelog: v0.9.0...v0.10.0

v0.9.0

29 Feb 14:55
8fe6097
Compare
Choose a tag to compare

What's Changed

  • Features:

    • Allow datetime object to be provided for temporal queries by @vincentsarago in #451
    • Use pathlib in earthaccess.download() by @kvenkman in #459
    • earthaccess will send user-agent headers to track usage. #443
    • Search by instrument or project e.g. instrument="gedi" #443
  • Bug fixes:

    • Fixed searching for restricted datasets #443
    • Fixed accessing Opera data behind custom endpoints (ASF) #443
  • Maintenance:

New Contributors

Full Changelog: v0.8.2...v0.9.0

v0.8.2

06 Dec 23:00
ed89863
Compare
Choose a tag to compare

What's Changed

  • Bug fixes:
    • Enable AWS check with IMDSv2
    • Add region to running in AWS check
    • Handle opening multi-file granules
  • Maintenance:
    • Add CI tests with minimum supported versions
    • Update poetry lockfile
    • Add python-dateutil as a direct dependency
    • Remove binder PR comments
    • Add YAML formatting (prettier)

Full Changelog: v0.8.1...v0.8.2

v0.8.1

02 Dec 01:54
1a45326
Compare
Choose a tag to compare

What's Changed

  • New Features:
    • Add kerchunk metadata consolidation utility.
  • Enhancements:
    • Handle S3 credential expiration more gracefully.
  • Maintenanece:
    • Use dependabot to update Github Actions.
    • Consolidate dependabot updates.
    • Switch to ruff for formatting.

Full Changelog: v0.8.0...v0.8.1

v0.8.0

30 Nov 02:41
a1fd6dd
Compare
Choose a tag to compare

What's Changed

  • Bug fixes:
    • Fix zero granules being reported for restricted datasets. (#358)
  • Enhancements:
    • earthaccess will raise errors instead of printing them in more cases. (#351)
    • daac and provider parameters are now normalized to uppercase, since lowercase
      characters are never valid. (#355)

New Contributors

Full Changelog: v0.7.1...v0.8.0

v0.7.1

09 Nov 02:36
e9c68ed
Compare
Choose a tag to compare

What's Changed

  • Fix: Assume granules without RelatedUrls are not cloud hosted by @mfisher87 in #339

Full Changelog: v0.7.0...v0.7.1