Open wildintellect opened 3 weeks ago
A bit of code for context. At this stage I'm just doing wget with an EDL token, since the data are only on the DAAC but not EarthData. I'm using Python earthaccess to get an EDL token by pointing to a stored netrc file with my username/password. If we set up an automated job to do this daily, I'd want it to keep working outside my ADE and not fail after 60 days.
auth = earthaccess.login()
session = auth.get_session()
token = session.headers['Authorization']
command = f'wget -e robots=off -m -np -R .html,.tmp -nH --cut-dirs=3 "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/4014/VJ214IMG/2024/180/" --header "Authorization: {token}" -P ~/my-public-bucket/viirs'
os.system(command)
Code notebook is at /projects/shared-buckets/coffield/scripts/viirs_L2_extraction.ipynb
Additional reference https://github.com/orgs/MAAP-Project/discussions/1031
Dataset Name
VJ214IMG
Dataset Description
The NOAA21 standard product (VJ214IMG) is preliminary/unpublished and only accessible by EarthData accounts with permission from the VIIRS science team.
Right now EIS Fire uses a 60 EDL Token issued to a single approved user.
Requestor Name/Affiliation
Shane Coffield, EIS Fire GSFC @scoffiel
Platform/Method/Sensor
NOAA21 VIIRS
URL or DOI to Dataset Description
https://ncc.nesdis.noaa.gov/NOAA-21/index.php
URL to Download or Access the Data
https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/4014/VJ214IMG/
Data License
Yes
Intended Science Use Case
EIS Fire existing algorithms.
Format of the Data
No response
Approximate Size of the Data
No response
Date Needed By
No response
Additional Information
The team is looking for a sustainable solution for data access beyond manual token renewal from a single user's EDL account.
Some ideas:
https://github.com/orgs/MAAP-Project/discussions/1031
cc: @mccabete