-
Notifications
You must be signed in to change notification settings - Fork 3
Searching for PDS Data with Legacy Registry
Located at https://pds.nasa.gov/datasearch/keyword-search/, the Keyword Search provides a web access point for browsing through PDS data.
Note: When browsing for data in keyword search, you can always copy over the URL query from to the Web API to access the JSON input. For example:
https://pds.nasa.gov/datasearch/keyword-search/search.jsp?q=target%3Amars&fq=facet_type%3A%221%2Cinvestigation%22&f.facet_type.facet.prefix=2%2Cinvestigation%2C
becomes
https://pds.nasa.gov/services/search/search?wt=json&q=target%3Amars&fq=facet_type%3A%221%2Cinvestigation%22&f.facet_type.facet.prefix=2%2Cinvestigation%2C
curl --location --request GET https://pds.nasa.gov/services/search/search?wt=json&q=product_class:Product_Context and data_class:Target
Find all missions / investigations:
curl --location --request GET https://pds.nasa.gov/services/search/search?wt=json&q=product_class:Product_Context and data_class:Investigation
Find all instrument hosts (e.g. spacecraft)
curl --location --request GET https://pds.nasa.gov/services/search/search?wt=json&q=product_class:Product_Context and data_class:Instrument_Host
From this you can then see from an individual product, some of the data associated with a mission, instrument host, instrument, etc.
curl --location --request GET "https://pds.nasa.gov/services/search/search?wt=json&q=product_class:Product_Collection"
curl --location --request GET "https://pds.nasa.gov/services/search/search?wt=json&q=product_class:Product_Bundle"
curl --location --request GET "https://pds.nasa.gov/services/search/search?wt=json&q=product_class:Product_Data_Set_PDS3"
Find all "data sets" (e.g. Collections, PDS3 Data Sets)
curl --location --request GET "https://pds.nasa.gov/services/search/search?wt=json&q=product_class:Product_Collection%20or%20product_class:Product_Bundle%20or%20product_class:Product_Data_Set_PDS3"
From the OSIRIS-REX mission metadata:
https://pds.nasa.gov/services/search/search?wt=json&identifier=urn:nasa:pds:orex.mission
You can see what instruments belong to it:
instrument_ref: [
"urn:nasa:pds:context:instrument:tagcams.orex::1.0",
"urn:nasa:pds:context:instrument:ocams.orex::1.0",
"urn:nasa:pds:context:instrument:ola.orex::1.0",
"urn:nasa:pds:context:instrument:otes.orex::1.0",
"urn:nasa:pds:context:instrument:rexis.orex::1.0",
"urn:nasa:pds:context:instrument:ovirs.orex::1.0"
],
And the instrument host(s) (spacecraft) for the mission:
instrument_host_ref: [
"urn:nasa:pds:context:instrument_host:spacecraft.orex::1.1"
],
And it's targets:
target_ref: [
"urn:nasa:pds:context:target:asteroid.101955_bennu::1.1"
],
You can then look at the metadata for that instrument host (sometimes where you need to go to track down targets) or instrument or target:
instrument host example: https://pds.nasa.gov/services/search/search?wt=json&identifier=urn:nasa:pds:context:instrument_host:spacecraft.orex
instrument example: https://pds.nasa.gov/services/search/search?wt=json&identifier=urn:nasa:pds:context:instrument:ovirs.orex
target example: https://pds.nasa.gov/services/search/search?wt=json&identifier=urn:nasa:pds:context:target:asteroid.101955_bennu
Another good example of recently curated data is Cassini:
https://pds.nasa.gov/services/search/search?wt=json&identifier=urn:nasa:pds:context:investigation:mission.cassini-huygens
TBD
The metadata for these context products can vary largely, here are a few tips:
-
Sometimes data providers have been inconsistent about what goes in a Mission context product versus an Investigation - If one looks very terse, try the other.
-
Missing targets - if something doesn't look like with the context products, you may need to do some more complex queries for all targets identified in the database, e.g. all missions that ever targeted Europa.
- From other examples above, I know the identifier for Europa target is
urn:nasa:pds:context:target:satellite.jupiter.europa
-
Quirk Alert: You can't query by _ref with the LIDs, you have to shorten and use wildcards, e.g.
target_ref=*satellite.jupiter.europa*
- From keyword search: https://pds.nasa.gov/datasearch/keyword-search/search.jsp?q=target_ref%3A*satellite.jupiter.europa*
- Copied query to web API: https://pds.nasa.gov/services/search/search?wt=json&q=target_ref:*satellite.jupiter.europa*
- From other examples above, I know the identifier for Europa target is
Copyright © 2021-2024 California Institute of Technology.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.