-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement CMR query to get collection-level metadata elements that can be used in UMM-G construction. #15
Comments
I didn't think through the use case of a SIPS provider when I suggested utilizing collection-level metadata. In that case, I believe there will be no collection-level metadata available when My current feeling is that Ops users configuring the data ingest process may benefit most from information existing in collection-level metadata files. Any regexes we have to produce to scrape metadata from data input files (in the case where the data producer only delivers data files) would also be candidates for re-use in both the UMM-G generation and data ingest steps. |
The use case of a SIPS does not need to be covered by MetGenC |
Ops would like to have a applications identification rather than each operator using their own. @eigenbeam will add more details. |
Conversation with Troy: K: MetGenC question: we are going to add a feature where the tool will query CMR to get some collection-level metadata. To do so, the tool will need an EDL userid/pwd or token when it makes the query. T: Application. would it be like OA where we need to maintain a valid service account/shared account token in something like Vault, or can it dynamically call for a token before each call to CMR? K: Yeah, either way you prefer. If you want metgenc to get the app userid/pwd from Vault (or whatever), we can then go get or create a valid token. That might cost extra though. |
So this translates into: We could:
|
There's no free lunch, obviously, so those options all boil down to:
|
@eigenbeam API docs are at https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html in case you don't have them on speed dial. But! You might be able to ignore those if Here's my conversation with Luis from August:
Getting metadata:
|
Do you know if it uses EDL tokens, or just a userid/pwd? |
I don't know what options |
I looked through the code and it first authenticates with userid/pwd, and asks EDL for an existing user token or creates a new one. It doesn't seem that I can provide my own token to the library, though. I have to put the EDL userid/pwd somewhere available to it, but I guess is 'okay-ish' but not great from a security point-of-view. |
Notes from standup on 2/4/25: Don't worry about supporting padded datasets. Issue an error saying dataset couldn't be found, perhaps with note about checking version number padding. |
Originally 3 story points; 1 point left so I am changing the value. |
Changing story points from 1 to 0 points in this sprint |
Pre-met and UMM-G files may require information already available from collection metadata. Determine whether there are any granule metadata building blocks in a dataset's collection-level metadata, and if so write a new story to implement a simple retrieval mechanism from CMR.
Information available from collection metadata:
GranuleSpatialRepresentation
(may be set to GEODETIC, CARTESIAN, ORBIT)Authentication: Earthdata login is needed - consider Operators are entering their personal authentication
sample data: NSIDC-0081
Acceptance criteria for implementation:
When app is run:
Version padding: should not be needed for MetGenC - ignore for now and dont retrieve version number from CMR
Separate issue: allow Ops to use the collection level metadata for the file level UMM-G
The text was updated successfully, but these errors were encountered: