Starting with validate version 1.15 a list of context products registered with PDS is used for validation. Since version 1.16 checking of the name and type is also included - although differences will only be raised as a warning. The list of products is stored as a json format file in the resources directory of the validate tool. For 1.15 this is a static file, and non-registered context products can only be provided by editing this file, or replacing with the example below. For 1.16 and above the list of registered context products can be retrieved online and a separate "local" context file can be provided as well.
validate 1.15 example and download
{ "Product_Context": [ "urn:nasa:pds:context_pds3:resource:resource.2001_mars_odyssey_archive_information::1.0", "urn:nasa:pds:context:resource:resource.ladee_archive_information::1.0", ... ] }
Here is the resources file from 1.15 with the below LIDVIDs added: registered_context_products.json
validate 1.16 example and download
For validate 1.16 there is an option to have validate retrieve the list of registered context products from a PDS server, and also a switch to point to a local file:
--add-context-products <dir/files>
"Explicitly specify a JSON file (or directory of files) containing additional context product information used for validation."
The format of both files is as below:
{ "Product_Context": [ { "name": ["Mars Science Laboratory (MSL) Archive Information"], "type": ["Information.Investigation"], "lidvid": "urn:nasa:pds:context_pds3:resource:resource.mars_science_laboratory_archive_information::1.0" }, ... }
note that both name and type are arrays here, to handle cases where multiple values of either are provided.
When using this switch, a warning will always be produced:
WARNING [warning.product_not_registered] Non-registered context products should only be used during archive development. All context products must be registered for a valid, released archive bundle.
A version of this file produced for BepiC is here: local_context_products.json
Below is a collection of all of the PSA and mission context products, with the aim of registering them or adding to the context file. Please add and correct!
LID | VID | Name(s) | Type(s) | Registered? | Comment |
---|---|---|---|---|---|
Agency | |||||
urn:esa:psa:context:agency:agency.esa | 1.0 | Agency | Exists in PDS registry with a NASA URN (import from PDS3) | ||
Mission | |||||
urn:esa:psa:context:investigation:mission.em16 | 1.0 | ExoMars 2016 | Mission | ||
urn:esa:psa:context:investigation:mission.emrsp | 1.0 | ExoMars RSP | Mission | Currently planned to be housed in Rover host bundle | |
urn:esa:psa:context:investigation:mission.bc | 1.0 | BepiColombo | Mission | ||
Host | |||||
urn:esa:psa:context:instrument_host:spacecraft.tgo | 1.0 | TGO | Spacecraft | ||
urn:esa:psa:context:instrument_host:spacecraft.edm | 1.0 | ExoMars 2016 Lander | Spacecraft | Tanya Lim I guess the names needs updating Also, the context file contains links to bundles that sadly never had the chance to exist... | |
urn:esa:psa:context:instrument_host:spacecraft.mmo | 1.0 | Mercury Magnetospheric Orbiter | Spacecraft | ||
urn:esa:psa:context:instrument_host:spacecraft.mpo | 1.0 | Mercury Planetary Orbiter | Spacecraft | ||
urn:esa:psa:context:instrument_host:spacecraft.mtm | 1.0 | Mercury Transfer Module | Spacecraft | ||
urn:esa:psa:context:instrument_host:spacecraft.rm | 1.0 | ExoMars RSP Rover Module | Spacecraft | ||
urn:esa:psa:context:instrument_host:spacecraft.sp | 1.0 | ExoMars RSP Surface Platform | Spacecraft | ||
Instrument | |||||
urn:esa:psa:context:instrument:acs.tgo | 1.0 | ACS | Spectrometer | ||
urn:esa:psa:context:instrument:cassis.tgo | 1.0 | CASSIS | Imager | ||
urn:esa:psa:context:instrument:dreams.edm | 1.0 | DREAMS | Weather Station | ||
urn:esa:psa:context:instrument:frend.tgo | 1.0 | FREND | Neutron Detector | ||
urn:esa:psa:context:instrument:nomad.tgo | 1.0 | NOMAD | Spectrometer | ||
urn:esa:psa:context:instrument:bela.mpo | 1.0 | BELA | Altimeter | ||
urn:esa:psa:context:instrument:berm.mpo | 1.0 | BERM | Spectrometer | ||
urn:esa:psa:context:instrument:isa.mpo | 1.0 | ISA | Accelerometer | ||
urn:esa:psa:context:instrument:mag.mpo | 1.0 | MPO-MAG | Magnetometer | ||
urn:esa:psa:context:instrument:mcam.mtm | 1.0 | MCAM | Imager | ||
urn:esa:psa:context:instrument:mertis.mpo | 1.0 | MERTIS | Radiometer Imaging Spectrometer | ||
urn:esa:psa:context:instrument:mgns.mpo | 1.0 | MGNS | Neutron Detector | ||
urn:esa:psa:context:instrument:mixs.mpo | 1.0 | MIXS | Spectrometer | ||
urn:esa:psa:context:instrument:more.mpo | 1.0 | MORE | Radio Science | ||
urn:esa:psa:context:instrument:phebus.mpo | 1.0 | PHEBUS | Spectrometer | ||
urn:esa:psa:context:instrument:serena.mpo | 1.0 | SERENA | Plasma Analyzer | ||
urn:esa:psa:context:instrument:simbio-sys.mpo | 1.0 | SIMBIO-SYS | Imager Imaging Spectrometer | ||
urn:esa:psa:context:instrument:sixs.mpo | 1.0 | SIXS | Spectrometer | ||
urn:esa:psa:context:instrument:arm.rm | 1.0 | ADRON-RM | Neutron Spectrometer | ||
urn:esa:psa:context:instrument:clu.rm | 1.0 | CLUPI | Imager | ||
urn:esa:psa:context:instrument:ise.rm | 1.0 | ISEM | Spectrometer | ||
urn:esa:psa:context:instrument:loc.rm | 1.0 | LOCCAM | Imager | TBC whether LocCam data be downlinked | |
urn:esa:psa:context:instrument:mis.rm | 1.0 | MAMISS | Spectrometer | ||
urn:esa:psa:context:instrument:mic.rm | 1.0 | MICROMEGA | Spectro-Imager | ||
urn:esa:psa:context:instrument:mom.rm | 1.0 | MOMA | Gas Chromotagraph Laser Spectroscopy | ||
urn:esa:psa:context:instrument:nav.rm | 1.0 | NAVCAM | Imager | ||
urn:esa:psa:context:instrument:pan.rm | 1.0 | PANCAM | Imager | ||
urn:esa:psa:context:instrument:rls.rm | 1.0 | RLS | Raman Spectrometer | ||
urn:esa:psa:context:instrument:wis.rm | 1.0 | WISDOM | Ground Penetrating Radar | ||