Package: earthdatalogin 0.0.4
earthdatalogin: NASA 'EarthData' Access Utilities
Providing easy, portable access to NASA 'EarthData' products through the use of bearer tokens. Much of NASA's public data catalogs hosted and maintained by its 12 Distributed Active Archive Centers ('DAACs') are now made available on the Amazon Web Services 'S3' storage. However, accessing this data through the standard 'S3' API is restricted to only to compute resources running inside 'us-west-2' Data Center in Portland, Oregon, which allows NASA to avoid being charged data egress rates. This package provides public access to the data from any networked device by using the 'EarthData' login application programming interface (API), <https://www.earthdata.nasa.gov/data/earthdata-login>, providing convenient authentication and access to cloud-hosted NASA 'EarthData' products. This makes access to a wide range of earth observation data from any location straight forward and compatible with R packages that are widely used with cloud native earth observation data (such as 'terra', 'sf', etc.)
Authors:
earthdatalogin_0.0.4.tar.gz
earthdatalogin_0.0.4.tar.gz(r-4.7-any)earthdatalogin_0.0.4.tar.gz(r-4.6-any)
earthdatalogin_0.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
earthdatalogin/json (API)
NEWS
| # Install 'earthdatalogin' in R: |
| install.packages('earthdatalogin', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/boettiger-lab/earthdatalogin/issues
Pkgdown/docs site:https://boettiger-lab.github.io
Last updated from:e7a8804cc7. Checks:4 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 149 | ||
| source / vignettes | OK | 211 | ||
| linux-release-x86_64 | OK | 158 | ||
| wasm-release | OK | 131 |
Exports:collections_fetchedl_as_s3edl_downloadedl_extract_urlsedl_netrcedl_revoke_tokenedl_s3_tokenedl_searchedl_set_tokenedl_stac_urlsedl_unset_netrcedl_unset_s3edl_unset_tokengdal_cloud_configgdal_cloud_unconfigget_nasa_stac_urllist_nasa_stacslpdacc_example_urlwith_gdalcubes
Dependencies:askpassbase64encclicurlgluehttrhttr2jsonlitelifecyclemagrittrmimeopensslpurrrR6rappdirsrlangsysvctrswithr
Access within AWS Compute
Rendered fromnon-egressed.Rmdusingknitr::rmarkdownon Jun 13 2026.Last update: 2025-07-11
Started: 2023-11-17
Data Cubes with STAC
Rendered fromgdalcubes-stac-cog.Rmdusingknitr::rmarkdownon Jun 13 2026.Last update: 2025-07-11
Started: 2023-11-17
Data Formats
Rendered fromdata-formats.Rmdusingknitr::rmarkdownon Jun 13 2026.Last update: 2023-12-16
Started: 2023-11-17
Legacy data formats with cloud tools
Rendered fromlegacy-formats.Rmdusingknitr::rmarkdownon Jun 13 2026.Last update: 2023-12-16
Started: 2023-11-17
Motivations: What is Cloud-Native Access Anyway?
Rendered frommotivations.Rmdusingknitr::rmarkdownon Jun 13 2026.Last update: 2023-11-17
Started: 2023-11-17
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Fetch all collections from an 'rstac::collections()' query | collections_fetch |
| Replace https URLs with S3 URIs | edl_as_s3 |
| download assets from earthdata over https using bearer tokens | edl_download |
| Extract data URLs from edl_search | edl_extract_urls |
| Set up Earthdata Login (EDL) credentials using a .netrc file | edl_netrc |
| Revoke an EarthData token | edl_revoke_token |
| NASA Earthdata S3 Credentials Authentication | edl_s3_token |
| Search for data products using the EarthData API | edl_search |
| Get or set an earthdata login token | edl_set_token |
| Helper function for extracting URLs from STAC | edl_stac_urls |
| edl_unset_netrc | edl_unset_netrc |
| Unset AWS S3 Environment Variables | edl_unset_s3 |
| unset token | edl_unset_token |
| Recommended GDAL configuration for cloud-based access | gdal_cloud_config |
| Restores GDAL default configuration | gdal_cloud_unconfig |
| Get NASA STAC URL for a Provider | get_nasa_stac_url |
| List NASA STAC Catalogs | list_nasa_stacs |
| URL for an example of an LP DAAC COG file | lpdacc_example_url |
| with_gdalcubes | with_gdalcubes |
