Releases: nsidc/earthaccess
v0.9.0
What's Changed
-
Features:
-
Bug fixes:
-
Maintenance:
- Update README.md by @abarciauskas-bgse in #429
- Clarify that temporal and bbox args must be tuples in docstrings, fix docstring formatting by @mfisher87, @danielfromearth in #448
- Update CITATION.cff to fix Zenodo, add CFF validator by @mfisher87 in #408
- Add workflow to update PRs with docs preview link in description by @mfisher87 in #414
- Remove s3fs < 2024 pin by @rsignell in #466
- Update README.md by @asteiker in #434
New Contributors
- @abarciauskas-bgse made their first contribution in #429
- @vincentsarago made their first contribution in #451
- @kvenkman made their first contribution in #459
- @rsignell made their first contribution in #466
Full Changelog: v0.8.2...v0.9.0
v0.8.2
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
What's Changed
- New Features:
- Add
kerchunk
metadata consolidation utility.
- Add
- 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
What's Changed
- Bug fixes:
- Fix zero granules being reported for restricted datasets. (#358)
- Enhancements:
New Contributors
- @danielfromearth made their first contribution in #358
Full Changelog: v0.7.1...v0.8.0
v0.7.1
What's Changed
- Fix: Assume granules without
RelatedUrls
are not cloud hosted by @mfisher87 in #339
Full Changelog: v0.7.0...v0.7.1
v0.7.0
- Bug Fixes:
- Fix spelling mistake in
access
variable assignment (direc
->direct
)
inearthaccess.store._get_granules
. - Pass
threads
arg to_open_urls_https
in
earthaccess.store._open_urls
, replacing the hard-coded value of 8. - Return S3 data links by default when in region.
- Fix spelling mistake in
- Enhancements:
earthaccess.download
now accepts a single granule as input in addition to a list of granules.earthaccess.download
now returns fully qualified local file paths.
- New Features:
- Earthaccess will now automatically search for Earthdata authentication.
earthaccess.login()
still works as before, but is no longer required if you have a~/.netrc
file for have set
EARTHDATA_USERNAME
andEARTHDATA_PASSWORD
environment variables. - Add
earthaccess.auth_environ()
utility for getting Earthdata authentication environment variables.
- Earthaccess will now automatically search for Earthdata authentication.
v0.6.1
Hotfix: A version number was out of sync prior to the last release. This release brings all the version numbers in sync and enables a successful publish to PyPI.
v0.6.0
v0.5.3
Enhancements
- We can search by doi at the granule level, if a collection is found earthaccess will grab the
concept_id
from the CMR record and search using it. - We will be able to use pattern matching on the granule file names! closes #198 combining the two we could have searches like
results = earthaccess.search_data(
doi = "10.5067/SLREF-CDRV3",
granule_name = "2005-*.nc",
count=100
)
-
If using remote Dask cluster, earthaccess will open the files using HTTPS links and will switch on the fly to S3 links if the cluster is in us-west-2 Thanks to @jrbourbeau! this change implemented a thin wrapper around
fsspec.AbstractFileSystem
-
The granule representation removed the spatial output in favor of a simpler
is_cloud_hosted
until we have a nicer spatial formatter (it was a blob of json)
Bugs fixed
size()
method for granules had a typo and returned 0 all the time, this was fixed- https sessions returned to
trust_env=False
with a True value the session will read the.netrc
and send both simple auth and tokens at the same time causing an authentication error with most services.
Documentation improvements
- Reorganized docs to include resources and end to end examples
- README is now using the SSHA dataset from PODAAC as is simpler to explain and work with compared to ATL data, addresses #241
- SSL and EMIT examples included in the documentation, they are executed end to end on CI
- Added a minimal example of
search_data()
filtering thanks @andypbarrett!
CI Maintenance:
- Integration tests are on a different file
- Integration tests are going to run only on pushes to main
- Documentation is only going to be updated when we update main
- PODAAC migrated all their data to the cloud already so there is no point in having it on the
on_prem
tests
Contributors to this release
@MattF-NSIDC @jrbourbeau @mrocklin @andypbarrett @betolink
🚀