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

Additional scrub of context products to include instrument hosts and instruments #29

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,18 @@
*.app

# Temporary files
*~
*~.*
*~\$*
*.*~

# other stuff
*.xpr
*.swp
/bin/
.*.swp
*.sublime-*
*\#*#
*.DS_Store

# Java stuff
*.javac
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1M00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="http://pds.nasa.gov/pds4/ctli/v2/PDS4_CTLI_1M00_2100.sch" schematypens="http://purl.oclc.org/dsdl/schematron?>
<Product_Context xmlns="http://pds.nasa.gov/pds4/pds/v1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ctli="http://pds.nasa.gov/pds4/ctli/v2"
xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1 https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1M00.xsd https://pds.nasa.gov/pds4/ctli/v1 https://pds.nasa.gov/pds4/ctli/v2/PDS4_CTLI_1M00_2100.xsd">
<Identification_Area>
<logical_identifier>urn:nasa:pds:context:instrument:no-host.lorenz_met_station</logical_identifier>
<version_id>1.0</version_id>
<title>Portable Meterological Station (Ralph Lorenz design)</title>
<information_model_version>1.22.0.0</information_model_version>
<product_class>Product_Context</product_class>
<Modification_History>
<Modification_Detail>
<modification_date>2020-12-08</modification_date>
<version_id>1.0</version_id>
<description>
Initial creation of the context product.
</description>
</Modification_Detail>
<Modification_Detail>
<modification_date>2024-10-02</modification_date>
<version_id>1.1</version_id>
<description>
Where applicable, updated version, title, name
</description>
</Modification_Detail>
</Modification_History>
</Identification_Area>
<Reference_List>
<Internal_Reference>
<lid_reference>urn:nasa:pds:context:investigation:field_campaign.dd_eldorado_nv_2015</lid_reference>
<reference_type>instrument_to_investigation</reference_type>
</Internal_Reference>
<External_Reference>
<doi>10.5194/gi-1-209-2012</doi>
<reference_text>Lorenz, R.D. (2012), Observing desert dust devils with a pressure logger, Geosci. Instrum. Method. Data Syst. 1, 209-220.</reference_text>
<description>Original presentation of this meterological station.</description>
</External_Reference>
<External_Reference>
<doi>10.1002/2014JEE004712</doi>
<reference_text>Jackson, Brian and Lorenz, Ralph (2015). A multiyear dust devil vortex survey using an automated search of pressure time series, J. Geophys. Res. Planets, 120. </reference_text>
<description>Citation of the official published version of the paper.</description>
</External_Reference>
<External_Reference>
<doi>10.1016/j.jastp.2016.10.017</doi>
<reference_text>Lorenz, R.D., L.D.V. Neakrase, J.P. Anderson, R.G. Harrison, and K.A. Nicoll (2016) Point discharge current measurements beneath dust devils, J. Atmos. and Solar-Terrest. Phys., 150, 55-60.</reference_text>
<description>Further usage for voltage modified meteological stations.</description>
</External_Reference>
</Reference_List>
<Instrument>
<name>Portable Meterological Station (Ralph Lorenz design)</name>
<Type_List_Area>
<ctli:Type_List>
<ctli:type>Meteorology</ctli:type>
</ctli:Type_List>
</Type_List_Area>
<description>
A portable, compact meteorology station designed for dust devil field studies. The system used is based on the Gulf Coast Data Concepts B1100 pressure logger,
which combines a precision Bosch BMP085 pressure sensor (logged with resolution of 1 Pa or 0.01 mbar), with a microcontroller that logs pressure data and
housekeeping temperature as ASCII files on a 2GB microSD flash memory card. The whole unit operates as a large USB memory stick facilitating data transfer to
a computer. Self-contained, power for remote operation is attained by usage of 2 alkaline D cell batteries, allowing unattended multi-month operation at sample
rates of 2 Hz or more. The sensor and battery casing are installed in a plastic case, drilled to allow pressure equalization, with a painted exterior to minimize
visibility. In some cases, the instrumentation may be augmented to include analog voltage (in range 0-4.19 V) with 12-bit resolution at an interval of 1s.
</description>
</Instrument>
</Product_Context>
80 changes: 80 additions & 0 deletions data/pds4/context-pds4/instrument/ody.accel_1.1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model
href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1M00.sch"
schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model
href="https://pds.nasa.gov/pds4/ctli/v2/PDS4_CTLI_1M00_2100.sch"
schematypens="http://purl.oclc.org/dsdl/schematron"?>
<Product_Context
xmlns="http://pds.nasa.gov/pds4/pds/v1"
xmlns:pds="http://pds.nasa.gov/pds4/pds/v1"
xmlns:ctli="http://pds.nasa.gov/pds4/ctli/v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://pds.nasa.gov/pds4/pds/v1 https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1M00.xsd
http://pds.nasa.gov/pds4/ctli/v2 https://pds.nasa.gov/pds4/ctli/v2/PDS4_CTLI_1M00_2100.xsd">
<Identification_Area>
<logical_identifier>urn:nasa:pds:context:instrument:ody.accel</logical_identifier>
<version_id>1.1</version_id>
<title>Accelerometer for ODY</title>
<information_model_version>1.22.0.0</information_model_version>
<product_class>Product_Context</product_class>
<Alias_List>
<Alias>
<alternate_title>urn:nasa:pds:context:instrument:accel.ody</alternate_title> <!-- deprecated LID -->
</Alias>
</Alias_List>
<Modification_History>
<Modification_Detail>
<modification_date>2023-09-15</modification_date>
<version_id>1.0</version_id>
<description>
Update to ody.accel and set alias to the original accel.ody.
Updated to PDS4_PDS_1F00.xsd
Added ctli for updated Instrument class, type = Accelerometer
And per "Guide toPDS4 Context Products" v1.8,
changed all lidvid_reference to lid_reference
</description>
</Modification_Detail>
<Modification_Detail>
<modification_date>2024-10-02</modification_date>
<version_id>1.1</version_id>
<description>
Where applicable, updated version, title, name
</description>
</Modification_Detail>
</Modification_History>
</Identification_Area>

<Reference_List>
<Internal_Reference>
<lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.ody</lid_reference>
<reference_type>instrument_to_instrument_host</reference_type>
</Internal_Reference>
<Internal_Reference>
<lid_reference>urn:nasa:pds:context:investigation:mission.2001_mars_odyssey</lid_reference>
<reference_type>instrument_to_investigation</reference_type>
</Internal_Reference>

<External_Reference>
<reference_text>
Tolson, R.H., A.M. Dwyer, J.L. Hanna, G.M. Keating, B.E. George, P.E. Escalera
and M.R. Werner, M. R., Application of accelerometer data to Mars Odyssey
aerobraking and atmospheric modeling. J. Spacecraft Rockets 42, 435-443, 2005
</reference_text>
<description>reference.TOLSONETAL2005</description>
</External_Reference>
</Reference_List>

<Instrument>
<name>Accelerometer</name>
<Type_List_Area>
<ctli:Type_List>
<ctli:type>Accelerometer</ctli:type>
</ctli:Type_List>
</Type_List_Area>
<description>
The Mars Odyssey Accelerometer instrument used during the spacecraft's aerobraking phase, which helped adjust its orbit around Mars. The accelerometer measured the forces acting on the spacecraft as it passed through the Martian atmosphere, providing data on atmospheric density and helping to refine the orbital trajectory. This information also contributed to understanding Mars' atmospheric properties, including variations in density, temperature, and pressure at different altitudes.
</description>
</Instrument>
</Product_Context>
75 changes: 75 additions & 0 deletions data/pds4/context-pds4/instrument/ody.grs_1.1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1M00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/ctli/v2/PDS4_CTLI_1M00_2100.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Context xmlns="http://pds.nasa.gov/pds4/pds/v1"
xmlns:pds="http://pds.nasa.gov/pds4/pds/v1"
xmlns:ctli="http://pds.nasa.gov/pds4/ctli/v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1 https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1M00.xsd
http://pds.nasa.gov/pds4/ctli/v2 https://pds.nasa.gov/pds4/ctli/v2/PDS4_CTLI_1M00_2100.xsd">
<Identification_Area>
<logical_identifier>urn:nasa:pds:context:instrument:ody.grs</logical_identifier>
<version_id>1.1</version_id>
<title>Gamma Ray Spectrometer (GRS) for ODY</title>
<information_model_version>1.22.0.0</information_model_version>
<product_class>Product_Context</product_class>
<Alias_List>
<Alias><alternate_title>GRS</alternate_title></Alias> <!-- deprecated LID, and 1 LID became 3-->
<Alias><alternate_id>urn:nasa:pds:context:instrument:grs.ody</alternate_id></Alias> <!-- deprecated LID, and 1 LID became 3-->
</Alias_List>
<Modification_History>
<Modification_Detail>
<modification_date>2021-06-09</modification_date>
<version_id>1.0</version_id>
<description>
Updated the information model, LID, and other corrections.
</description>
</Modification_Detail>
<Modification_Detail>
<modification_date>2024-10-02</modification_date>
<version_id>1.1</version_id>
<description>
Where applicable, updated version, title, name
</description>
</Modification_Detail>
</Modification_History>
</Identification_Area>

<Reference_List>
<Internal_Reference>
<lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.ody</lid_reference>
<reference_type>instrument_to_instrument_host</reference_type>
</Internal_Reference>
<Internal_Reference>
<lid_reference>urn:nasa:pds:context:investigation:mission.2001_mars_odyssey</lid_reference>
<reference_type>instrument_to_investigation</reference_type>
</Internal_Reference>
<Internal_Reference>
<lid_reference>urn:nasa:pds:context:investigation:mission.2001_mars_odyssey</lid_reference>
<reference_type>instrument_to_investigation</reference_type>
</Internal_Reference>
<External_Reference>
<doi>10.1023/B:SPAC.0000021007.76126.15</doi>
<reference_text>
Boynton, W., Feldman, W., Mitrofanov, I. et al. (2004) The Mars Odyssey Gamma-Ray Spectrometer
Instrument Suite, Space Science Reviews, 110, 37-83.
</reference_text>
</External_Reference>
</Reference_List>

<Instrument>
<name>Gamma Ray Spectrometer</name>
<Type_List_Area>
<ctli:Type_List>
<ctli:type>Spectrometer</ctli:type>
<ctli:subtype>Gamma Ray</ctli:subtype>
</ctli:Type_List>
</Type_List_Area>
<description>
The Gamma Ray Spectrometer (GRS) is part of he Mars Odyssey Gamma-Ray Spectrometer suite.
The chief scientific objectives is to quantitatively map the elemental abundances of the Martian
surface.
</description>
</Instrument>
</Product_Context>
79 changes: 79 additions & 0 deletions data/pds4/context-pds4/instrument/ody.hend_1.1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1M00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/ctli/v1/PDS4_CTLI_1M00_2100.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Context xmlns="http://pds.nasa.gov/pds4/pds/v1"
xmlns:pds="http://pds.nasa.gov/pds4/pds/v1"
xmlns:ctli="http://pds.nasa.gov/pds4/ctli/v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1 https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1M00.xsd
http://pds.nasa.gov/pds4/ctli/v2 https://pds.nasa.gov/pds4/ctli/v2/PDS4_CTLI_1M00_2100.xsd">
<Identification_Area>
<logical_identifier>urn:nasa:pds:context:instrument:ody.hend</logical_identifier>
<version_id>1.1</version_id>
<title>High Energy Neutron Detector (HEND) for ODY</title>
<information_model_version>1.22.0.0</information_model_version>
<product_class>Product_Context</product_class>
<Alias_List>
<Alias><alternate_title>HEND</alternate_title></Alias> <!-- deprecated LID, and 1 LID became 3-->
<Alias><alternate_id>urn:nasa:pds:context:instrument:grs.ody</alternate_id></Alias> <!-- deprecated LID, and 1 LID became 3-->
</Alias_List>
<Modification_History>
<Modification_Detail>
<modification_date>2021-06-09</modification_date>
<version_id>1.0</version_id>
<description>
extracted metadata from PDS3 catalog and
modified to comply with PDS4 Information Model
</description>
</Modification_Detail>
<Modification_Detail>
<modification_date>2024-10-02</modification_date>
<version_id>1.1</version_id>
<description>
Where applicable, updated version, title, name
</description>
</Modification_Detail>
</Modification_History>
</Identification_Area>

<Reference_List>
<Internal_Reference>
<lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.ody</lid_reference>
<reference_type>instrument_to_instrument_host</reference_type>
</Internal_Reference>
<Internal_Reference>
<lid_reference>urn:nasa:pds:context:investigation:mission.2001_mars_odyssey</lid_reference>
<reference_type>instrument_to_investigation</reference_type>
</Internal_Reference>
<Internal_Reference>
<lid_reference>urn:nasa:pds:context:investigation:mission.2001_mars_odyssey</lid_reference>
<reference_type>instrument_to_investigation</reference_type>
</Internal_Reference>
<External_Reference>
<doi>10.1023/B:SPAC.0000021007.76126.15</doi>
<reference_text>
Boynton, W., Feldman, W., Mitrofanov, I. et al. (2004) The Mars Odyssey Gamma-Ray Spectrometer
Instrument Suite, Space Science Reviews, 110, 37-83.
</reference_text>
</External_Reference>
</Reference_List>

<Instrument>
<name>High Energy Neutron Detector</name>
<Type_List_Area>
<ctli:Type_List>
<ctli:type>Spectrometer</ctli:type>
<ctli:subtype>High Energy Neutron</ctli:subtype>
</ctli:Type_List>
</Type_List_Area>
<description>
The High-Energy Neutron Detector (HEND) is part of he Mars Odyssey Gamma-Ray Spectrometer suite.
The chief scientific objectives of the HEND instrument is
to map the near surface hydrogen (and, by inference, water) and
CO2 abundances and their stratigraphic distributions, and
determine their seasonal variations, and to determine the depth of the seasonal polar caps and their
variation with time.
</description>
</Instrument>
</Product_Context>
Loading