Skip to content
Snippets Groups Projects
Unverified Commit 793dcff5 authored by AustinSanders's avatar AustinSanders Committed by GitHub
Browse files

Updated wavelength / center for tgocassis2isis (#5009)

* Updated bandbin translation values

* Updated center and wavelength values

* Updated changelog

* Resolved merge conflicts
parent e9c53955
Branches
Tags
No related merge requests found
...@@ -40,8 +40,7 @@ release. ...@@ -40,8 +40,7 @@ release.
- Updated the LRO calibration application Lrowaccal to add a units label to the RadiometricType keyword of the Radiometry group in the output cube label if the RadiometricType parameter is Radiance. No functionality is changed if the RadiometricType parameter is IOF. Lrowaccal has also been refactored to be callable for testing purposes. Issue: [#4939](https://github.com/USGS-Astrogeology/ISIS3/issues/4939), PR: [#4940](https://github.com/USGS-Astrogeology/ISIS3/pull/4940) - Updated the LRO calibration application Lrowaccal to add a units label to the RadiometricType keyword of the Radiometry group in the output cube label if the RadiometricType parameter is Radiance. No functionality is changed if the RadiometricType parameter is IOF. Lrowaccal has also been refactored to be callable for testing purposes. Issue: [#4939](https://github.com/USGS-Astrogeology/ISIS3/issues/4939), PR: [#4940](https://github.com/USGS-Astrogeology/ISIS3/pull/4940)
- Changed how logs are reported so they no longer only printing at the end of the applications execution. [#4914](https://github.com/USGS-Astrogeology/ISIS3/issues/4914) - Changed how logs are reported so they no longer only printing at the end of the applications execution. [#4914](https://github.com/USGS-Astrogeology/ISIS3/issues/4914)
- Update marcical to include step 3 of the mission team's MARCI calibration process described [here](https://pds-imaging.jpl.nasa.gov/data/mro/mars_reconnaissance_orbiter/marci/mrom_1343/calib/marcical.txt). [#5004](https://github.com/USGS-Astrogeology/ISIS3/pull/5004) - Update marcical to include step 3 of the mission team's MARCI calibration process described [here](https://pds-imaging.jpl.nasa.gov/data/mro/mars_reconnaissance_orbiter/marci/mrom_1343/calib/marcical.txt). [#5004](https://github.com/USGS-Astrogeology/ISIS3/pull/5004)
- Updated center / width values for TGO CaSSIS as requested [here](https://github.com/USGS-Astrogeology/ISIS3/issues/5006)
### Added ### Added
- Improved functionality of msi2isis and MsiCamera model to support new Eros dataset, including support for Gaskell's SUMSPICE files that adjust timing, pointing and spacecraft position ephemeris. [#4886](https://github.com/USGS-Astrogeology/ISIS3/issues/4886) - Improved functionality of msi2isis and MsiCamera model to support new Eros dataset, including support for Gaskell's SUMSPICE files that adjust timing, pointing and spacecraft position ephemeris. [#4886](https://github.com/USGS-Astrogeology/ISIS3/issues/4886)
- Added a new application, framestitch, for stitching even and odd push frame images back together prior to processing in other applications. [4924](https://github.com/USGS-Astrogeology/ISIS3/issues/4924) - Added a new application, framestitch, for stitching even and odd push frame images back together prior to processing in other applications. [4924](https://github.com/USGS-Astrogeology/ISIS3/issues/4924)
......
...@@ -34,6 +34,12 @@ ...@@ -34,6 +34,12 @@
# the elements tag under the second Axis_Array array tag because it also has a # the elements tag under the second Axis_Array array tag because it also has a
# axis_name tag with a value of Sample. # axis_name tag with a value of Sample.
# history:
# 2021-07-18 Austin Sanders - Updated center and width translations as
# requested by mission team.
Group = FilterName Group = FilterName
Auto Auto
Optional Optional
...@@ -52,10 +58,10 @@ Group = Center ...@@ -52,10 +58,10 @@ Group = Center
InputKey = Filter InputKey = Filter
OutputName = Center OutputName = Center
OutputPosition = (Object, IsisCube, Group, BandBin) OutputPosition = (Object, IsisCube, Group, BandBin)
Translation = (677.4, PAN) Translation = (678.2, PAN)
Translation = (497.4, BLU) Translation = (494.8, BLU)
Translation = (835.4, RED) Translation = (836.0, RED)
Translation = (940.2, NIR) Translation = (939.3, NIR)
End_Group End_Group
...@@ -66,10 +72,10 @@ Group = Width ...@@ -66,10 +72,10 @@ Group = Width
InputKey = Filter InputKey = Filter
OutputName = Width OutputName = Width
OutputPosition = (Object, IsisCube, Group, BandBin) OutputPosition = (Object, IsisCube, Group, BandBin)
Translation = (231.5, PAN) Translation = (231.9, PAN)
Translation = (134.3, BLU) Translation = (133.6, BLU)
Translation = (98.0, RED) Translation = (98.5, RED)
Translation = (120.6, NIR) Translation = (121.8, NIR)
End_Group End_Group
......
...@@ -133,10 +133,10 @@ Group = Center ...@@ -133,10 +133,10 @@ Group = Center
InputKey = img:filter_name InputKey = img:filter_name
OutputName = Center OutputName = Center
OutputPosition = (Object, IsisCube, Group, BandBin) OutputPosition = (Object, IsisCube, Group, BandBin)
Translation = (675, PAN) Translation = (678.2, PAN)
Translation = (485, BLU) Translation = (494.8, BLU)
Translation = (840, RED) Translation = (836.0, RED)
Translation = (985, NIR) Translation = (939.3, NIR)
End_Group End_Group
...@@ -146,10 +146,10 @@ Group = Width ...@@ -146,10 +146,10 @@ Group = Width
InputKey = img:filter_name InputKey = img:filter_name
OutputName = Width OutputName = Width
OutputPosition = (Object, IsisCube, Group, BandBin) OutputPosition = (Object, IsisCube, Group, BandBin)
Translation = (250, PAN) Translation = (231.9, PAN)
Translation = (165, BLU) Translation = (133.6, BLU)
Translation = (100, RED) Translation = (98.5, RED)
Translation = (220, NIR) Translation = (121.8, NIR)
End_Group End_Group
......
...@@ -136,10 +136,10 @@ Group = Center ...@@ -136,10 +136,10 @@ Group = Center
InputKey = img:filter_name InputKey = img:filter_name
OutputName = Center OutputName = Center
OutputPosition = (Object, IsisCube, Group, BandBin) OutputPosition = (Object, IsisCube, Group, BandBin)
Translation = (675, PAN) Translation = (678.2, PAN)
Translation = (485, BLU) Translation = (494.8, BLU)
Translation = (840, RED) Translation = (836.0, RED)
Translation = (985, NIR) Translation = (939.3, NIR)
End_Group End_Group
...@@ -149,10 +149,10 @@ Group = Width ...@@ -149,10 +149,10 @@ Group = Width
InputKey = img:filter_name InputKey = img:filter_name
OutputName = Width OutputName = Width
OutputPosition = (Object, IsisCube, Group, BandBin) OutputPosition = (Object, IsisCube, Group, BandBin)
Translation = (250, PAN) Translation = (231.9, PAN)
Translation = (165, BLU) Translation = (121.8, BLU)
Translation = (100, RED) Translation = (98.5, RED)
Translation = (220, NIR) Translation = (133.6, NIR)
End_Group End_Group
......
...@@ -38,7 +38,9 @@ ...@@ -38,7 +38,9 @@
# history: # history:
# 2018-06-13 Kristin Berry - Original Version. # 2018-06-13 Kristin Berry - Original Version.
# 2020-12-22 Kaitlyn Lee - Updated Center and Width translations to match # 2020-12-22 Kaitlyn Lee - Updated Center and Width translations to match
TgoCassisBandBin.trn. # TgoCassisBandBin.trn.
# 2021-07-18 Austin Sanders - Updated center and width translations as
# requested by mission team.
Group = FilterName Group = FilterName
Auto Auto
...@@ -56,10 +58,10 @@ Group = Center ...@@ -56,10 +58,10 @@ Group = Center
InputKey = img:filter_name InputKey = img:filter_name
OutputName = Center OutputName = Center
OutputPosition = (Object, IsisCube, Group, BandBin) OutputPosition = (Object, IsisCube, Group, BandBin)
Translation = (677.4, PAN) Translation = (678.2, PAN)
Translation = (497.4, BLU) Translation = (494.8, BLU)
Translation = (835.4, RED) Translation = (836.0, RED)
Translation = (940.2, NIR) Translation = (939.3, NIR)
End_Group End_Group
...@@ -69,10 +71,10 @@ Group = Width ...@@ -69,10 +71,10 @@ Group = Width
InputKey = img:filter_name InputKey = img:filter_name
OutputName = Width OutputName = Width
OutputPosition = (Object, IsisCube, Group, BandBin) OutputPosition = (Object, IsisCube, Group, BandBin)
Translation = (231.5, PAN) Translation = (231.9, PAN)
Translation = (134.3, BLU) Translation = (133.6, BLU)
Translation = (98.0, RED) Translation = (98.5, RED)
Translation = (120.6, NIR) Translation = (121.8, NIR)
End_Group End_Group
......
...@@ -106,8 +106,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestBlu) { ...@@ -106,8 +106,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestBlu) {
// BandBin Group // BandBin Group
PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse); PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse);
EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "BLU"); EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "BLU");
EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 497.40); EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 494.8);
EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 134.30); EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 133.6);
EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143424"); EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143424");
// Kernels Group // Kernels Group
...@@ -180,8 +180,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestRed) { ...@@ -180,8 +180,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestRed) {
// BandBin Group // BandBin Group
PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse); PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse);
EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "RED"); EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "RED");
EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 835.40); EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 836.0);
EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 98); EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 98.5);
EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143422"); EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143422");
// Kernels Group // Kernels Group
...@@ -254,8 +254,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestNir) { ...@@ -254,8 +254,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestNir) {
// BandBin Group // BandBin Group
PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse); PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse);
EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "NIR"); EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "NIR");
EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 940.20); EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 939.3);
EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 120.60); EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 121.8);
EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143423"); EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143423");
// Kernels Group // Kernels Group
...@@ -328,8 +328,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestPan) { ...@@ -328,8 +328,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestPan) {
// BandBin Group // BandBin Group
PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse); PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse);
EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "PAN"); EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "PAN");
EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 677.40); EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 678.2);
EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 231.5); EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 231.9);
EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143421"); EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143421");
// Kernels Group // Kernels Group
...@@ -433,8 +433,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestReingestedUnproj) { ...@@ -433,8 +433,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestReingestedUnproj) {
// BandBin Group // BandBin Group
PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse); PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse);
EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "RED"); EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "RED");
EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 840); EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 836.0);
EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 100); EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 98.5);
EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143422"); EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143422");
// Kernels Group // Kernels Group
...@@ -490,8 +490,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestReingestedProj) { ...@@ -490,8 +490,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestReingestedProj) {
// BandBin Group // BandBin Group
PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse); PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse);
EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "RED"); EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "RED");
EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 840); EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 836.0);
EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 100); EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 98.5);
EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143422"); EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143422");
// Kernels Group // Kernels Group
...@@ -548,8 +548,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestPSALabel) { ...@@ -548,8 +548,8 @@ TEST(TgoCassis2Isis, TgoCassis2IsisTestPSALabel) {
// BandBin Group // BandBin Group
PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse); PvlGroup &bandbin = isisLabel->findGroup("BandBin", Pvl::Traverse);
EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "PAN"); EXPECT_EQ(bandbin["FilterName"][0].toStdString(), "PAN");
EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 675); EXPECT_DOUBLE_EQ(double(bandbin["Center"]), 678.2);
EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 250); EXPECT_DOUBLE_EQ(double(bandbin["Width"]), 231.9);
EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143421"); EXPECT_EQ(bandbin["NaifIkCode"][0].toStdString(), "-143421");
// Kernels Group // Kernels Group
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment