-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PDS4 - Fix template search and targetGroup template variable for tgoc…
…assis.tpl (#4494) * fix template search and targetGroup template variable for tgocassis.tpl * remove accidental extra tag * address feedback from amy
- Loading branch information
Showing
3 changed files
with
58 additions
and
36 deletions.
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
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,17 @@ | ||
{% if exists("MainLabel.IsisCube.Instrument.InstrumentId.Value") -%} | ||
{% set InstrumentId=MainLabel.IsisCube.Instrument.InstrumentId.Value -%} | ||
{% endif -%} | ||
|
||
{% if exists("MainLabel.IsisCube.Instrument.SpacecraftName.Value") -%} | ||
{% set SpacecraftName=MainLabel.IsisCube.Instrument.SpacecraftName.Value -%} | ||
{% else if exists("MainLabel.IsisCube.Mosaic.SpacecraftName.Value") -%} | ||
{% set SpacecraftName=MainLabel.IsisCube.Mosaic.SpacecraftName.Value -%} | ||
{% endif -%} | ||
|
||
{% if SpacecraftName == "TRACE GAS ORBITER" -%} | ||
{% set SpacecraftId="TGO" -%} | ||
{% else -%} | ||
{% set SpacecraftId=SpacecraftName -%} | ||
{% endif -%} | ||
|
||
{% if SpacecraftId -%}$ISISROOT/appdata/export/{{- SpacecraftId -}}{{- InstrumentId -}}.tpl{% endif -%} |
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