Commit 787d72af authored by Stuart Sides's avatar Stuart Sides Committed by Adam Paquette
Browse files

Bring hyb2onc2isis up-to-date with dev (#3930)

* Changed so the scripts would not blast existing ISIS environment variables

* Moved data file into the application source directory

* Delete isisStartup.csh

* Delete isisStartup.sh
parent 002e5c92
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@ End_Group
Group = L0FileName
  Auto
  InputKey       = P_L0NAME
  InputKey       = L0FILE
  InputPosition  = FitsLabels
  OutputName     = L0FileName
  OutputPosition = (Object, IsisCube, Group, Archive)
@@ -95,7 +94,6 @@ End_Group
# AMICA calls this one "ImageNumber"
Group = ImageNumber
  Auto
  Optional
  InputKey       = P_IMGID
  InputPosition  = FitsExtras
  OutputName     = ImageNumber
+107 −0
Original line number Diff line number Diff line
#
# This translation file is used to produce the ISIS 3 Archive label group
# for the Hayabusa 2 ONC-W1, ONC-W2, and ONC-T cameras.
#

Group = ProducerId
  Auto
  Optional
  InputKey       = ORIGIN
  InputPosition  = FitsExtras
  OutputName     = ProducerId
  OutputPosition = (Object, IsisCube, Group, Archive)
  Translation    = (*, *)
End_Group

Group = L0FileName
  Auto
  Optional  
  InputKey       = P_L0NAME
  InputPosition  = FitsLabels
  OutputName     = L0FileName
  OutputPosition = (Object, IsisCube, Group, Archive)
  Translation    = (*, *)
End_Group

Group = FormatType
  Auto
  Optional
  InputKey       = FMTTYPE
  InputPosition  = FitsExtras
  OutputName     = FormatType
  OutputPosition = (Object, IsisCube, Group, Archive)
  Translation    = (*, *)
End_Group

Group = FormatTypeVersion
  Auto
  Optional
  InputKey       = FTYPEVER
  InputPosition  = FitsExtras
  OutputName     = FormatTypeVersion
  OutputPosition = (Object, IsisCube, Group, Archive)
  Translation    = (*, *)
End_Group

Group = ContentType
  Auto
  Optional
  InputKey       = CNTTYPE
  InputPosition  = FitsExtras
  OutputName     = ContentType
  OutputPosition = (Object, IsisCube, Group, Archive)
  Translation    = (*, *)
End_Group

Group = ContentVersion
  Auto
  Optional
  InputKey       = CNTVER
  InputPosition  = FitsExtras
  OutputName     = ContentVersion
  OutputPosition = (Object, IsisCube, Group, Archive)
  Translation    = (*, *)
End_Group

Group = ImageType
  Auto
  Optional
  InputKey       = P_IMGTYP
  InputPosition  = FitsExtras 
  OutputName     = ImageType
  OutputPosition = (Object, IsisCube, Group, Archive)
  Translation    = (*, *)
End_Group

Group = SourceProductId
  Auto
  InputKey       = FILENAME
  InputPosition  = FitsExtras
  OutputName     = SourceProductId
  OutputPosition = (Object, IsisCube, Group, Archive)
  Translation    = (*, *)
End_Group

Group = SubImageCount
  Auto
  InputKey       = NSUBIMG
  InputPosition  = FitsLabels
  OutputName     = SubImageCount
  OutputPosition = (Object, IsisCube, Group, Instrument)
  Translation    = (*, *)
End_Group

# the following image ID is assigned by the onboard image processor.
# AMICA calls this one "ImageNumber"
Group = ImageNumber
  Auto
  Optional
  InputKey       = P_IMGID
  InputPosition  = FitsExtras
  OutputName     = ImageNumber
  OutputPosition = (Object, IsisCube, Group, Instrument)
  Translation    = (*, *)
End_Group

End
+0 −0

File mode changed from 100644 to 100755.

+75 −0
Original line number Diff line number Diff line
#
# This translation file is used to produce the ISIS 3 BandBin label group
# for the Hayabusa 2 ONC-T camera.
# Translation = (left,right) convert the input "right" to "left"
#

Group = FilterNumber
  Auto
  Optional
  InputKey       = FILTER
  InputPosition  = FitsLabels
  OutputName     = FilterNumber
  OutputPosition = (Object, IsisCube, Group, BandBin)
  Translation    = (1, "NO.1: 390nm")
  Translation    = (2, "NO.2: WIDE")
  Translation    = (3, "NO.3: 550nm")
  Translation    = (4, "NO.4: 700nm")
  Translation    = (5, "NO.5: 860nm")
  Translation    = (6, "NO.6: 589nm")
  Translation    = (7, "NO.7: 950nm")
  Translation    = (8, "NO.8: 480nm")
End_Group

Group = FilterName
  Auto
  InputKey       = FILTER
  InputPosition  = FitsLabels
  OutputName     = FilterName
  OutputPosition = (Object, IsisCube, Group, BandBin)
  Translation    = (ul,   "NO.1: 390nm")
  Translation    = (Wide, "NO.2: WIDE")
  Translation    = (v,    "NO.3: 550nm")
  Translation    = (w,    "NO.4: 700nm")
  Translation    = (x,    "NO.5: 860nm")
  Translation    = (Na,   "NO.6: 589nm")
  Translation    = (p,    "NO.7: 950nm")
  Translation    = (b,    "NO.8: 480nm")
  Translation    = (None,    "NONE")
End_Group

Group = Center
  Auto
  Optional
  InputKey       = FILTER
  InputPosition  = FitsLabels
  OutputName     = Center
  OutputPosition = (Object, IsisCube, Group, BandBin)
  Translation    = (390,   "NO.1: 390nm")
  Translation    = (775,   "NO.2: WIDE")
  Translation    = (550,   "NO.3: 550nm")
  Translation    = (700,   "NO.4: 700nm")
  Translation    = (860,   "NO.5: 860nm")
  Translation    = (589.5, "NO.6: 589nm")
  Translation    = (950,   "NO.7: 950nm")
  Translation    = (480,   "NO.8: 480nm")
End_Group

Group = Width
  Auto
  Optional
  InputKey       = FILTER
  InputPosition  = FitsLabels
  OutputName     = Width
  OutputPosition = (Object, IsisCube, Group, BandBin)
  Translation    = (40,  "NO.1: 390nm")
  Translation    = (850, "NO.2: WIDE")
  Translation    = (30,  "NO.3: 550nm")
  Translation    = (30,  "NO.4: 700nm")
  Translation    = (40,  "NO.5: 860nm")
  Translation    = (10,  "NO.6: 589nm")
  Translation    = (60,  "NO.7: 950nm")
  Translation    = (30,  "NO.8: 480nm")
End_Group

End
+0 −25
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@ End_Group
Group = InstrumentId
  Auto
  InputKey       = P_NAME
  InputKey       = NAIFNAME
  InputPosition  = FitsLabels
  OutputName     = InstrumentId
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -80,7 +79,6 @@ End_Group
Group = ExposureDuration
  Auto
  InputKey       = EXPOSURE
  InputKey       = XPOSURE
  InputPosition  = FitsLabels
  OutputName     = ExposureDuration
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -90,7 +88,6 @@ End_Group
Group = SpacecraftClockStartCount
  Auto
  InputKey       = P_SCCSC
  InputKey       = SCCL-BEG
  InputPosition  = FitsLabels
  OutputName     = SpacecraftClockStartCount
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -100,7 +97,6 @@ End_Group
Group = SpacecraftClockEndCount
  Auto
  InputKey       = P_SCCEC
  InputKey       = SCCL-END
  InputPosition  = FitsLabels
  OutputName     = SpacecraftClockStartCount
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -120,7 +116,6 @@ End_Group
#s/c counter at data recorded time
Group = OnboardDataRecordedTime
  Auto
  Optional
  InputKey       = P_RECTI
  InputPosition  = FitsExtras
  OutputName     = OnboardDataRecordedTime
@@ -131,7 +126,6 @@ End_Group
Group = Binning
  Auto
  InputKey       = P_BINN
  InputKey       = NPIXBIN
  InputPosition  = FitsLabels
  OutputName     = Binning
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -142,7 +136,6 @@ End_Group
Group = SelectedImageAreaX1
  Auto
  InputKey       = P_OPOSX1
  InputKey       = ROI_LLX
  InputPosition  = FitsLabels
  OutputName     = SelectedImageAreaX1
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -152,7 +145,6 @@ End_Group
Group = SelectedImageAreaY1
  Auto
  InputKey       = P_OPOSY1
  InputKey       = ROI_LLY
  InputPosition  = FitsLabels
  OutputName     = SelectedImageAreaY1
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -161,9 +153,7 @@ End_Group

Group = SelectedImageAreaX2
  Auto
  Optional
  InputKey       = P_OPOSX2
  InputKey       = ROI_URX
  InputPosition  = FitsLabels
  OutputName     = SelectedImageAreaX2
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -172,9 +162,7 @@ End_Group

Group = SelectedImageAreaY2
  Auto
  Optional
  InputKey       = P_OPOSY2
  InputKey       = ROI_URY
  InputPosition  = FitsLabels
  OutputName     = SelectedImageAreaY2
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -183,7 +171,6 @@ End_Group

Group = SelectedImageAreaX3
  Auto
  Optional
  InputKey       = P_OPOSX3
  InputPosition  = FitsLabels
  OutputName     = SelectedImageAreaX3
@@ -193,7 +180,6 @@ End_Group

Group = SelectedImageAreaY3
  Auto
  Optional
  InputKey       = P_OPOSY3
  InputPosition  = FitsLabels
  OutputName     = SelectedImageAreaY3
@@ -204,7 +190,6 @@ End_Group
Group = SelectedImageAreaX4
  Auto
  InputKey       = P_OPOSX4
  InputKey       = ROI_URX
  InputPosition  = FitsLabels
  OutputName     = SelectedImageAreaX4
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -214,7 +199,6 @@ End_Group
Group = SelectedImageAreaY4
  Auto
  InputKey       = P_OPOSY4
  InputKey       = ROI_URY
  InputPosition  = FitsLabels
  OutputName     = SelectedImageAreaY4
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -233,7 +217,6 @@ End_Group
Group = OffsetCorrection
  Auto
  InputKey       = OFFSETCR
  InputKey       = AOFFSET
  InputPosition  = FitsLabels
  OutputName     = OffsetCorrection
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -252,7 +235,6 @@ End_Group
Group = RadianceConversion
  Auto
  InputKey       = RADIANCE
  InputKey       = RADCONV
  InputPosition  = FitsLabels
  OutputName     = RadianceConversion
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -280,7 +262,6 @@ End_Group
Group = L2BFlatFileName
  Auto
  InputKey       = L2BFLTFN
  InputKey       = FLATFN
  InputPosition  = FitsLabels
  OutputName     = L2BFlatFileName
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -289,7 +270,6 @@ End_Group

Group = L2BSystemEfficiencyFileName
  Auto
  Optional
  InputKey       = L2BEFCFN
  InputPosition  = FitsLabels
  OutputName     = L2BSystemEfficiencyFileName
@@ -300,7 +280,6 @@ End_Group
Group = L2CShapeModelFileName
  Auto
  InputKey       = L2CSHPFN
  InputKey       = SHAPEFN
  InputPosition  = FitsLabels
  OutputName     = L2CShapeModelFileName
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -310,7 +289,6 @@ End_Group
Group = L2DPhaseFunctionFileName
  Auto
  InputKey       = L2DPHSFN
  InputKey       = PHASEFN
  InputPosition  = FitsLabels
  OutputName     = L2DPhaseFunctionFileName
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -320,7 +298,6 @@ End_Group
Group = L2DShapeModelFileName
  Auto
  InputKey       = L2DSHPFN
  InputKey       = SHAPEFN
  InputPosition  = FitsLabels
  OutputName     = L2DShapeModelFileName
  OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -330,7 +307,6 @@ End_Group
# the following image ID is assigned by the onboard image processor:
Group = ImageID
  Auto
  Optional
  InputKey       = P_IMGID
  InputPosition  = FitsExtras
  OutputName     = ImageID
@@ -489,7 +465,6 @@ End_Group
Group = Compression
  Auto
  InputKey       = P_CMPSTY
  InputKey       = IMGCMPRV
  InputPosition  = FitsLabels
  OutputName     = Compression
  OutputPosition = (Object, IsisCube, Group, Instrument)
Loading