earthaccess
earthaccess copied to clipboard
Python Library for NASA Earthdata APIs
GitHub Issue: #421 ### Description This change enables the login and use of different Earthdata CMR and EDL maturity levels — i.e., PROD, UAT, and SIT. ### Local test steps...
@MattF-NSIDC : Little experience with poetry, prefer setuptools @jhkennedy : Has #Reasons, happy to elaborate if the group is amenable to switching @jrbourbeau : "I want to be able to...
Use of `pkg_resources` is deprecated in favor of [importlib.resources](https://docs.python.org/3.11/library/importlib.resources.html#module-importlib.resources): ``` $ python -W always -c "import earthaccess" /home/honnorat/usr/conda/envs/earthaccess/lib/python3.12/site-packages/earthaccess/formatters.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources ```...
Checksums are available as a part of UMM-G records for some datasets (e.g., [Daymet](https://cmr.earthdata.nasa.gov/search/concepts/G2625060389-ORNL_CLOUD.umm_json) provides `SHA-256`; [GHRSST](https://cmr.earthdata.nasa.gov/search/concepts/G2857127720-POCLOUD.umm_json) provides `MD5`). `earthaccess.download()` should verify the integrity of the downloaded granules against the...
The following code uses page_size and page number to iterate through results: https://github.com/nsidc/earthaccess/blob/8fe60974ce0f6e5d6f8fbec679afb96f12f1506f/earthaccess/search.py#L282C13-L282C64 Limit could be set to a value sufficiently high to cause CMR problems. Search-After is used to...
`[granule.data_links(access="direct") for granule in results]` returns a list of 1-item lists that contain the S3 URLs. Result: ``` [['s3://gesdisc-cumulus-prod-protected/OCO2_DATA/OCO2_L2_Lite_FP.11.1r/2020/oco2_LtCO2_200704_B11100Ar_230603215457s.nc4'], ['s3://gesdisc-cumulus-prod-protected/OCO2_DATA/OCO2_L2_Lite_FP.11.1r/2020/oco2_LtCO2_200705_B11100Ar_230603215543s.nc4']] ``` I want the URLs just as strings in a...
A common search pattern is a seasonal search, e.g. Landsat scenes from July for the last 10 years. This is supported by CMR(although is not well documented) and will allow...
Hello again! I was wondering if there would be an option to search for data using a tile/tiles aside from a bounding box? That option exists in the https://search.earthdata.nasa.gov/search A...
Hello again, I wanted to download ECOSTRESS LST data, but I have been getting: `requests.exceptions.HTTPError: 502 Server Error: Bad Gateway` halfway through downloading a file. Here is a snippet: ```...
Related: https://github.com/nsidc/earthaccess/issues/573 Probably won't be reliably responsive here for at least a day, but wanted to get these thoughts down while I had the opportunity. I think we need a...