Skip to content
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

Issue on page /content/code_gallery/data_access_notebooks/2017-06-12-NCEI_RA_archive_history.html #226

Open
MathewBiddle opened this issue Sep 27, 2024 · 0 comments

Comments

@MathewBiddle
Copy link
Contributor

This notebook should be updated to use the One Stop Information Management (OSIM) system. See details below:

The Search API is best used for searching on collections or granules with filtering constraints to determine the UUID(s) or retrieve data parsed from the original record(s) as JSON. See https://app.swaggerhub.com/apis/cedarbot/OneStop-Search/3.0.0-RC1#/granule/searchGranule for an example of a granule search with filtering. Available filtering options can be found on the SwaggerHub page for the Search API under schemas. Note that the API endpoints for flattened-granule would likely return sparse results

If the original record content is needed, then the Registry API is the best choice to retrieve the record by UUID. For example, the full XML for this collection can be retrieved via a request to https://data.noaa.gov/onestop/api/registry/metadata/collection/bccea51e-7ecc-4b79-8ebe-8fe1dbf507c6/raw/xml. Note that OSIM supports both XML and JSON records with corresponding Registry API endpoints, and some records will have both present (typically for granules).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant