Skip to content

Commit

Permalink
Merge pull request #11 from pds-data-dictionaries/release/v1.0.0.0
Browse files Browse the repository at this point in the history
Initial release of Lucy misson dictionary
  • Loading branch information
katecrombie authored Oct 2, 2024
2 parents b1ce213 + c90df72 commit eff5f55
Show file tree
Hide file tree
Showing 44 changed files with 5,731 additions and 4,027 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Go to https://github.com/orgs/pds-data-dictionaries/teams to
# find out more information about your applicable team

* @pds-data-dictionaries/dldd-data-modeling-team
* @pds-data-dictionaries/lucy-ldd-stewardship-team

# **************************************************************

Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/ldd-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,18 @@ jobs:
- name: Display structure of downloaded files
run: ls -R ${{ env.DEPLOY_PATH }}

- name: Create predictably-located links
run: |
dev_path=$(dirname ${{ env.DEPLOY_PATH }})
mkdir -p $dev_path/latest
rm -rf $dev_path/latest/*
for im_ver_dir in ${{ env.DEPLOY_PATH }}/*; do
for ldd_file_path in $im_ver_dir/PDS4_*; do
ln -sr $ldd_file_path $dev_path/latest/$(basename $ldd_file_path)
done
done
ls -lR $dev_path/latest
- name: If Release Branch, move to release dir
shell: bash
run: |
Expand All @@ -205,4 +217,3 @@ jobs:
git add -A $(dirname ${{ env.DEPLOY_PATH }}) ${{ env.LOGS_PATH }} ${{github.workspace}}/build/release/
git commit -m "Auto-generated LDDs by PDSEN CI Bot"
git push origin HEAD
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ are located at https://pds-data-dictionaries.github.io/ldd-lucy.
* Review the [Change Log] (ChangeLog.md)
* Review the [Change Log] (src/CHANGELOG.md)
-->
* Download dictionary files from the [PDS Data Dictionaries Page](https://pds.nasa.gov/datastandards/dictionaries/#lucy)
* Download dictionary files from the [PDS Mission Data Dictionaries Page](https://pds.nasa.gov/datastandards/dictionaries/index-missions.shtml#lucy)
* On [GitHub](../../releases/latest)
* Review the [Change log](CHANGELOG.md)

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- PDS4 Schematron for Name Space Id:lucy Version:1.0.0.0 - Fri Apr 07 18:27:36 UTC 2023 -->
<!-- PDS4 Schematron for Name Space Id:lucy Version:1.0.0.0 - Tue Aug 20 20:32:58 UTC 2024 -->
<!-- Generated from the PDS4 Information Model Version 1.18.0.0 - System Build 12.1 -->
<!-- *** This PDS4 schematron file is an operational deliverable. *** -->
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
Expand All @@ -19,9 +19,16 @@
<!-- merged together in the rules below. -->
<!-- ================================================ -->
<sch:pattern>
<sch:rule context="lucy:LEISA_Instrument_Parameters/lucy:leisa_fpe_ir_temperature">
<sch:rule context="lucy:Diffuse_Source/lucy:units_of_conversion_constants">
<sch:assert test=". = ('(DN/s)/(erg/cm^2/s/Angstrom)', '(DN/s/pixel)/(erg/cm^2/s/Angstrom/sr)')">
<title>lucy:Diffuse_Source/lucy:units_of_conversion_constants/lucy:units_of_conversion_constants</title>
The attribute lucy:Diffuse_Source/lucy:units_of_conversion_constants must be equal to one of the following values '(DN/s)/(erg/cm^2/s/Angstrom)', '(DN/s/pixel)/(erg/cm^2/s/Angstrom/sr)'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:LEISA_Instrument_Parameters/lucy:leisa_fpa_temperature">
<sch:assert test="@unit = ('K', 'degC')">
<title>lucy:LEISA_Instrument_Parameters/lucy:leisa_fpe_ir_temperature/lucy:leisa_fpe_ir_temperature</title>
<title>lucy:LEISA_Instrument_Parameters/lucy:leisa_fpa_temperature/lucy:leisa_fpa_temperature</title>
The attribute @unit must be equal to one of the following values 'K', 'degC'.</sch:assert>
</sch:rule>
</sch:pattern>
Expand All @@ -39,6 +46,20 @@
The attribute @unit must be equal to one of the following values 'day', 'hr', 'julian day', 'microseconds', 'min', 'ms', 'ns', 's', 'yr'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:LLORRI_Instrument_Parameters/lucy:bias_level">
<sch:assert test="@unit = ('DN', 'W/m**2/sr/nm/(DN/s)', 'electron/DN', 'pixel')">
<title>lucy:LLORRI_Instrument_Parameters/lucy:bias_level/lucy:bias_level</title>
The attribute @unit must be equal to one of the following values 'DN', 'W/m**2/sr/nm/(DN/s)', 'electron/DN', 'pixel'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:LLORRI_Instrument_Parameters/lucy:bias_offset">
<sch:assert test="@unit = ('DN', 'W/m**2/sr/nm/(DN/s)', 'electron/DN', 'pixel')">
<title>lucy:LLORRI_Instrument_Parameters/lucy:bias_offset/lucy:bias_offset</title>
The attribute @unit must be equal to one of the following values 'DN', 'W/m**2/sr/nm/(DN/s)', 'electron/DN', 'pixel'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:LLORRI_Instrument_Parameters/lucy:calibration_lamp_level_1">
<sch:assert test="@unit = ('DN', 'W/m**2/sr/nm/(DN/s)', 'electron/DN', 'pixel')">
Expand All @@ -53,6 +74,27 @@
The attribute @unit must be equal to one of the following values 'DN', 'W/m**2/sr/nm/(DN/s)', 'electron/DN', 'pixel'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:LLORRI_Instrument_Parameters/lucy:ccd_gain">
<sch:assert test="@unit = ('DN', 'W/m**2/sr/nm/(DN/s)', 'electron/DN', 'pixel')">
<title>lucy:LLORRI_Instrument_Parameters/lucy:ccd_gain/lucy:ccd_gain</title>
The attribute @unit must be equal to one of the following values 'DN', 'W/m**2/sr/nm/(DN/s)', 'electron/DN', 'pixel'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:LLORRI_Instrument_Parameters/lucy:frame_transfer_scrub_time">
<sch:assert test="@unit = ('day', 'hr', 'julian day', 'microseconds', 'min', 'ms', 'ns', 's', 'yr')">
<title>lucy:LLORRI_Instrument_Parameters/lucy:frame_transfer_scrub_time/lucy:frame_transfer_scrub_time</title>
The attribute @unit must be equal to one of the following values 'day', 'hr', 'julian day', 'microseconds', 'min', 'ms', 'ns', 's', 'yr'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:LLORRI_Instrument_Parameters/lucy:read_noise">
<sch:assert test="@unit = ('DN', 'W/m**2/sr/nm/(DN/s)', 'electron/DN', 'pixel')">
<title>lucy:LLORRI_Instrument_Parameters/lucy:read_noise/lucy:read_noise</title>
The attribute @unit must be equal to one of the following values 'DN', 'W/m**2/sr/nm/(DN/s)', 'electron/DN', 'pixel'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:LRalph_Instrument_Common_Parameters">
<sch:assert test="if (lucy:playback_bad_pixel_mask_status) then lucy:playback_bad_pixel_mask_status = ('true', 'false') else true()">
Expand All @@ -71,9 +113,9 @@
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:LRalph_Instrument_Common_Parameters/lucy:board_selection">
<sch:assert test=". = ('EM 1', 'EM 2', 'ETU', 'FM 1', 'FM 2')">
<sch:assert test=". = ('EM1', 'EM2', 'ETU', 'FM1', 'FM2')">
<title>lucy:LRalph_Instrument_Common_Parameters/lucy:board_selection/lucy:board_selection</title>
The attribute lucy:LRalph_Instrument_Common_Parameters/lucy:board_selection must be equal to one of the following values 'EM 1', 'EM 2', 'ETU', 'FM 1', 'FM 2'.</sch:assert>
The attribute lucy:LRalph_Instrument_Common_Parameters/lucy:board_selection must be equal to one of the following values 'EM1', 'EM2', 'ETU', 'FM1', 'FM2'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
Expand Down Expand Up @@ -148,9 +190,9 @@
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:Lucy_Observation_Planning/lucy:mission_segment">
<sch:assert test=". = ('Cruise_1', 'EGA_1')">
<sch:assert test=". = ('CRUISE 1', 'CRUISE 2', 'CRUISE 3', 'DINKINESH', 'DONALDJOHANSON', 'EGA 1', 'EGA 2')">
<title>lucy:Lucy_Observation_Planning/lucy:mission_segment/lucy:mission_segment</title>
The attribute lucy:Lucy_Observation_Planning/lucy:mission_segment must be equal to one of the following values 'Cruise_1', 'EGA_1'.</sch:assert>
The attribute lucy:Lucy_Observation_Planning/lucy:mission_segment must be equal to one of the following values 'CRUISE 1', 'CRUISE 2', 'CRUISE 3', 'DINKINESH', 'DONALDJOHANSON', 'EGA 1', 'EGA 2'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
Expand Down Expand Up @@ -188,6 +230,13 @@
The attribute @unit must be equal to one of the following values 'day', 'hr', 'julian day', 'microseconds', 'min', 'ms', 'ns', 's', 'yr'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:Lucy_Observation_Time_Information/lucy:observation_complete">
<sch:assert test=". = ('COMPLETE', 'INCOMPLETE', 'UNKNOWN')">
<title>lucy:Lucy_Observation_Time_Information/lucy:observation_complete/lucy:observation_complete</title>
The attribute lucy:Lucy_Observation_Time_Information/lucy:observation_complete must be equal to one of the following values 'COMPLETE', 'INCOMPLETE', 'UNKNOWN'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:Lucy_Observation_Time_Information/lucy:start_sclk">
<sch:assert test="@unit = ('day', 'hr', 'julian day', 'microseconds', 'min', 'ms', 'ns', 's', 'yr')">
Expand Down Expand Up @@ -223,4 +272,18 @@
The attribute @unit must be equal to one of the following values 'day', 'hr', 'julian day', 'microseconds', 'min', 'ms', 'ns', 's', 'yr'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:Point_Source/lucy:units_of_conversion_constants">
<sch:assert test=". = ('(DN/s)/(erg/cm^2/s/Angstrom)', '(DN/s/pixel)/(erg/cm^2/s/Angstrom/sr)')">
<title>lucy:Point_Source/lucy:units_of_conversion_constants/lucy:units_of_conversion_constants</title>
The attribute lucy:Point_Source/lucy:units_of_conversion_constants must be equal to one of the following values '(DN/s)/(erg/cm^2/s/Angstrom)', '(DN/s/pixel)/(erg/cm^2/s/Angstrom/sr)'.</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:rule context="lucy:Radiometric_Conversion_Constants/lucy:pivot_wavelength">
<sch:assert test="@unit = ('AU', 'Angstrom', 'cm', 'km', 'm', 'micrometer', 'mm', 'nm')">
<title>lucy:Radiometric_Conversion_Constants/lucy:pivot_wavelength/lucy:pivot_wavelength</title>
The attribute @unit must be equal to one of the following values 'AU', 'Angstrom', 'cm', 'km', 'm', 'micrometer', 'mm', 'nm'.</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
Loading

0 comments on commit eff5f55

Please sign in to comment.