Skip to content

v0.5.3

Compare
Choose a tag to compare
@betolink betolink released this 01 Aug 15:44
· 686 commits to main since this release

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

πŸš€