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


registered_context 1.15.x
{
"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:

registered_context 1.15.x
{
     "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!



LIDVIDName(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.0ExoMars 2016Mission
  •  

urn:esa:psa:context:investigation:mission.emrsp1.0ExoMars RSPMission
  •  
Currently planned to be housed in Rover host bundle
urn:esa:psa:context:investigation:mission.bc1.0BepiColomboMission
  •  

Host




urn:esa:psa:context:instrument_host:spacecraft.tgo

1.0TGOSpacecraft
  •  

urn:esa:psa:context:instrument_host:spacecraft.edm

1.0ExoMars 2016 LanderSpacecraft
  •  

Tanya Lim I guess the names needs updating (wink) 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.0Mercury Magnetospheric OrbiterSpacecraft
  •  

urn:esa:psa:context:instrument_host:spacecraft.mpo

1.0Mercury Planetary OrbiterSpacecraft
  •  

urn:esa:psa:context:instrument_host:spacecraft.mtm1.0Mercury Transfer ModuleSpacecraft
  •  

urn:esa:psa:context:instrument_host:spacecraft.rm1.0ExoMars RSP Rover ModuleSpacecraft
  •  

urn:esa:psa:context:instrument_host:spacecraft.sp1.0ExoMars RSP Surface PlatformSpacecraft
  •  

Instrument




urn:esa:psa:context:instrument:acs.tgo

1.0ACSSpectrometer
  •  

urn:esa:psa:context:instrument:cassis.tgo

1.0CASSISImager
  •  

urn:esa:psa:context:instrument:dreams.edm

1.0DREAMSWeather Station
  •  

urn:esa:psa:context:instrument:frend.tgo

1.0FRENDNeutron Detector
  •  

urn:esa:psa:context:instrument:nomad.tgo

1.0NOMADSpectrometer
  •  

urn:esa:psa:context:instrument:bela.mpo

1.0BELAAltimeter
  •  

urn:esa:psa:context:instrument:berm.mpo

1.0BERMSpectrometer
  •  

urn:esa:psa:context:instrument:isa.mpo

1.0ISAAccelerometer
  •  

urn:esa:psa:context:instrument:mag.mpo

1.0MPO-MAGMagnetometer
  •  

urn:esa:psa:context:instrument:mcam.mtm

1.0MCAMImager
  •  

urn:esa:psa:context:instrument:mertis.mpo

1.0MERTISRadiometer
Imaging Spectrometer
  •  

urn:esa:psa:context:instrument:mgns.mpo

1.0MGNSNeutron Detector
  •  

urn:esa:psa:context:instrument:mixs.mpo

1.0MIXS

Spectrometer
Imaging Spectrometer

  •  

urn:esa:psa:context:instrument:more.mpo

1.0MORERadio Science
  •  

urn:esa:psa:context:instrument:phebus.mpo

1.0PHEBUSSpectrometer
  •  

urn:esa:psa:context:instrument:serena.mpo

1.0SERENAPlasma Analyzer
  •  

urn:esa:psa:context:instrument:simbio-sys.mpo

1.0SIMBIO-SYSImager
Imaging Spectrometer
  •  

urn:esa:psa:context:instrument:sixs.mpo

1.0SIXSSpectrometer
  •  

urn:esa:psa:context:instrument:arm.rm1.0ADRON-RMNeutron Spectrometer
  •  

urn:esa:psa:context:instrument:clu.rm1.0CLUPIImager
  •  

urn:esa:psa:context:instrument:ise.rm1.0ISEMSpectrometer
  •  

urn:esa:psa:context:instrument:loc.rm1.0LOCCAMImager
  •  
TBC whether LocCam data be downlinked
urn:esa:psa:context:instrument:mis.rm1.0MAMISSSpectrometer
  •  

urn:esa:psa:context:instrument:mic.rm1.0MICROMEGASpectro-Imager
  •  

urn:esa:psa:context:instrument:mom.rm1.0MOMA

Gas Chromotagraph

Laser Spectroscopy

  •  

urn:esa:psa:context:instrument:nav.rm1.0NAVCAMImager
  •  

urn:esa:psa:context:instrument:pan.rm1.0PANCAMImager
  •  

urn:esa:psa:context:instrument:rls.rm1.0RLSRaman Spectrometer
  •  

urn:esa:psa:context:instrument:wis.rm1.0WISDOMGround Penetrating Radar
  •  










Error rendering macro 'excerpt-include'

User 'null' does not have permission to view the page.

  • No labels