-
Notifications
You must be signed in to change notification settings - Fork 173
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
Moved Mex data files into source code #3738
Merged
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f957a21
Added translation files.
kaitlyndlee c3ad9c5
Renamed hrscSerialNumber0001.trn
kaitlyndlee a8fa7f9
Renamed Xfiles, updated app to point to /appdata/translations, and mo…
kaitlyndlee d6e2156
Renamed files to be upper camel case.
kaitlyndlee 5bbe3f7
Pulled upstream.
kaitlyndlee 67f6e17
Removed commented line
scsides File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Group = Keyword1 | ||
Auto | ||
InputKey = SpacecraftName | ||
InputGroup = "IsisCube,Instrument" | ||
InputPosition = (IsisCube, Instrument) | ||
OutputName = Keyword1 | ||
OutputPosition = (Group, SerialNumberKeywords) | ||
Translation = (MEX, "MARS EXPRESS") | ||
Translation = (MEX, MARS_EXPRESS) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = Keyword2 | ||
Auto | ||
InputKey = SpacecraftClockStartCount | ||
InputGroup = "IsisCube,Instrument" | ||
InputPosition = (IsisCube, Instrument) | ||
OutputName = Keyword2 | ||
OutputPosition = (Group, SerialNumberKeywords) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = Keyword3 | ||
Auto | ||
InputKey = InstrumentId | ||
InputGroup = "IsisCube,Instrument" | ||
InputPosition = (IsisCube, Instrument) | ||
OutputName = Keyword3 | ||
OutputPosition = (Group, SerialNumberKeywords) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = Keyword4 | ||
Auto | ||
InputKey = DetectorId | ||
InputGroup = "IsisCube,Archive" | ||
InputPosition = (IsisCube, Archive) | ||
OutputName = Keyword4 | ||
OutputPosition = (Group, SerialNumberKeywords) | ||
Translation = (*, *) | ||
End_Group | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# | ||
# The group names listed here are the native names used by | ||
# applications to get the foreign names and values | ||
# | ||
# There is only one level of groups the groups are not | ||
# allowed to be nested | ||
# | ||
# The Group names can NOT be repeated. | ||
# | ||
# InputGroup is a comma delimited list of objects and/or | ||
# groups in the foreign label. Traversing this list will | ||
# lead to the correct level to find the foreign keyword. | ||
# | ||
# InputKey is the keyword within the group which holds | ||
# the information. | ||
# | ||
# InputDefault is the value used if there is no value for | ||
# the keyword | ||
# | ||
# Translation is the native and corresponding foreign values. | ||
# Translation may be repeated as needed. | ||
# | ||
Group = DataSetId | ||
Auto | ||
InputKey = DATA_SET_ID | ||
OutputName = DataSetId | ||
OutputPosition = (Group, Archive) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = DetectorId | ||
Auto | ||
InputKey = DETECTOR_ID | ||
OutputName = DetectorId | ||
OutputPosition = (Group, Archive) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = EventType | ||
Auto | ||
InputKey = EVENT_TYPE | ||
OutputName = EventType | ||
OutputPosition = (Group, Archive) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = OrbitNumber | ||
Auto | ||
InputKey = ORBIT_NUMBER | ||
OutputName = OrbitNumber | ||
OutputPosition = (Group, Archive) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = ProductId | ||
Auto | ||
InputKey = PRODUCT_ID | ||
OutputName = ProductId | ||
OutputPosition = (Group, Archive) | ||
Translation = (*, *) | ||
End_Group | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# The group names listed here are the native names used by | ||
# applications to get the foreign names and values | ||
# | ||
# There is only one level of groups the groups are not | ||
# allowed to be nested | ||
# | ||
# The Group names can NOT be repeated. | ||
# | ||
# InputGroup is a comma delimited list of objects and/or | ||
# groups in the foreign label. Traversing this list will | ||
# lead to the correct level to find the foreign keyword. | ||
# | ||
# InputKey is the keyword within the group which holds | ||
# the information. | ||
# | ||
# InputDefault is the value used if there is no value for | ||
# the keyword | ||
# | ||
# Translation is the native and corresponding foreign values. | ||
# Translation may be repeated as needed. | ||
# | ||
Group = FilterWidth | ||
Auto | ||
InputKey = BANDWIDTH | ||
OutputName = Width | ||
OutputPosition = (Group, BandBin) | ||
Translation = (*, *) | ||
Translation = ("--- Illegal Value ---", *) | ||
End_Group | ||
|
||
Group = FilterCenter | ||
Auto | ||
InputKey = CENTER_FILTER_WAVELENGTH | ||
OutputName = Center | ||
OutputPosition = (Group, BandBin) | ||
Translation = (*, *) | ||
Translation = ("--- Illegal Value ---", *) | ||
End_Group | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
# | ||
# The group names listed here are the native names used by | ||
# applications to get the foreign names and values | ||
# | ||
# There is only one level of groups the groups are not | ||
# allowed to be nested | ||
# | ||
# The Group names can NOT be repeated. | ||
# | ||
# InputGroup is a comma delimited list of objects and/or | ||
# groups in the foreign label. Traversing this list will | ||
# lead to the correct level to find the foreign keyword. | ||
# | ||
# InputKey is the keyword within the group which holds | ||
# the information. | ||
# | ||
# InputDefault is the value used if there is no value for | ||
# the keyword | ||
# | ||
# Translation is the native and corresponding foreign values. | ||
# Translation may be repeated as needed. | ||
# | ||
Group = SpacecraftName | ||
Auto | ||
InputKey = INSTRUMENT_HOST_NAME | ||
InputDefault = UNKNOWN | ||
OutputName = SpacecraftName | ||
OutputPosition = (Group, Instrument) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = InstrumentId | ||
Auto | ||
InputKey = INSTRUMENT_ID | ||
OutputName = InstrumentId | ||
OutputPosition = (Group, Instrument) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = StartTime | ||
Auto | ||
InputKey = START_TIME | ||
OutputName = StartTime | ||
OutputPosition = (Group, Instrument) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = StopTime | ||
Auto | ||
InputKey = STOP_TIME | ||
OutputName = StopTime | ||
OutputPosition = (Group, Instrument) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = SpacecraftClockStartCount | ||
Auto | ||
InputKey = SPACECRAFT_CLOCK_START_COUNT | ||
OutputName = SpacecraftClockStartCount | ||
OutputPosition = (Group, Instrument) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = SpacecraftClockStopCount | ||
Auto | ||
InputKey = SPACECRAFT_CLOCK_STOP_COUNT | ||
OutputName = SpacecraftClockStopCount | ||
OutputPosition = (Group, Instrument) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = MissionPhaseName | ||
Auto | ||
InputKey = MISSION_PHASE_NAME | ||
OutputName = MissionPhaseName | ||
OutputPosition = (Group, Instrument) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = TargetName | ||
Auto | ||
InputKey = TARGET_NAME | ||
OutputName = TargetName | ||
OutputPosition = (Group, Instrument) | ||
Translation = (Mars, MARS) | ||
Translation = (Phobos, PHOBOS) | ||
Translation = (Deimos, DEIMOS) | ||
Translation = (Cal, CAL) | ||
End_Group | ||
|
||
Group = FocalPlaneTemperature | ||
Auto | ||
Optional | ||
InputKey = FOCAL_PLANE_TEMPERATURE | ||
OutputName = FocalPlaneTemperature | ||
OutputPosition = (Group, Instrument) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = LensTemperature | ||
Auto | ||
Optional | ||
InputKey = LENS_TEMPERATURE | ||
OutputName = LensTemperature | ||
OutputPosition = (Group, Instrument) | ||
Translation = (*, *) | ||
End_Group | ||
|
||
Group = InstrumentTemperature | ||
Auto | ||
Optional | ||
InputKey = INSTRUMENT_TEMPERATURE | ||
OutputName = InstrumentTemperature | ||
OutputPosition = (Group, Instrument) | ||
Translation = (*, *) | ||
End_Group | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented-out line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for catching that, should I make a new PR with that line removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it and then merged the PR