-
Notifications
You must be signed in to change notification settings - Fork 12
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
Cutover to using new Registry API for generating context products json #675
Comments
Not getting any traction here. I see that it is doing this query of the old system which I know nothing about:
I cannot find |
This might be the field name mapping:
Where ?? means I could not find a compelling substitute in the new documents. Oh, then |
@al-niessner the top-level query is: https://pds.nasa.gov/api/search/1/products?q=product_class%20eq%20%22Product_Context%22
|
Thanks. Have not seen Product_Context yet. |
@al-niessner most of the labels are out here if you are interested. |
What is the new data_product_type? It is used to look up |
@al-niessner has some issues with requests to the API:
|
Okay, code works but our ideas of what the names are does not. If run with the names in the table above, it find nothing. Looked at one of the context products and found this name 'pds:Target_Identification.pds' it then populate the registered JSON file. So, are we sure about the names in the table previously posted? |
I will create the pull request now. I have run it serveral times with limited downloads (1000 products) and it comes up empty with the table from this ticket. If I run curl once with just 100 products it has many. They use the same API call and have the same formatted results. Until pagination is resolved, I am leaving it thus. |
Moving this back to icebox since it is not super critical. Will work on this in B15.0 or B15.1 |
💡 Description
Update
-u
flag functionality to query API instead of legacy registry.The text was updated successfully, but these errors were encountered: