Replies: 4 comments 17 replies
-
Following up to note that there has been some discussion on Slack about the second half of this (s3 credentials), and next steps are to try accessing them via maap-py with the "maap-data-reader" profile for permanent credentials instead of via earthaccess. As far as we know, earthaccess does not handle auto-refreshing via the get_s3fs_session method, but it could. Chuck is going to open a new issue in earthaccess if it doesn't already exist |
Beta Was this translation helpful? Give feedback.
-
The most basic example of our direct bucket method is:
The above code will work in a DPS job. For the ADE This requires you setup an AWS config file as noted in #1001
There is an open ticket to clarify in the MAAP documentation. |
Beta Was this translation helpful? Give feedback.
-
@eorland FYI this may be relevant to your discussion with Otmar. |
Beta Was this translation helpful? Give feedback.
-
Regular product (VJ114IMG_NRT)https://lpdaac.usgs.gov/products/vj114imgv002/ is available via LPDAAC on EarthDataCloud (S3). Unclear how long after the NRT it gets published. This dataset is available via MAAP EDL authenticated methods and direct S3 reader Role. #1032 has a code example. NRT ( 1 to 3 hrs) (VJ114IMG_NRT)MAAP federated tokens appears to work.
Could also be done with EarthAccess, but would need secrets stored cc: @sujen1412
Other NotesTrying to better understand what this means
|
Beta Was this translation helpful? Give feedback.
-
@wildintellect here are some specific data ingest needs we have.
We have been getting data daily from:
Near Real Time (Via LANCE)
VNP14IMGTDL - https://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/suomi-npp-viirs-c2/Global/
VJ114IMGTDL - https://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/noaa-20-viirs-c2/Global/
We would love a way to handle tokening that's better than "let it fail and then bug someone to change it".
Also from @scoffiel
The other type of permanent token that would be really helpful is permanent AWS credentials for streaming the VIIRS Level 2 swaths (VNP14IMG, VJ114IMG) from LAADS via EarthData Cloud because currently they expire every hour:
I use the following s3 paths:
s3://lp-prod-protected/VJ114IMG.002
s3://lp-prod-protected/VNP14IMG.002
Getting credentials for buckets is described here: https://data.lpdaac.earthdatacloud.nasa.gov/s3credentialsREADME
index
Beta Was this translation helpful? Give feedback.
All reactions