Loading isis/src/lro/apps/lrowaccal/lrowaccal.xml +46 −43 Original line number Diff line number Diff line Loading @@ -229,6 +229,9 @@ via an argument. The correction may also be turned off via an argument. </change> <change name="Stuart Sides" date="2021-02-22"> Added ability to get the sun distance from the camera. </change> </history> <groups> Loading isis/src/lro/apps/lrowaccal/main.cpp +42 −32 Original line number Diff line number Diff line Loading @@ -205,9 +205,18 @@ void IsisMain () { if (g_iof) { responsivity = radPvl["IOF"]; for (int i = 0; i < bands.size(); i++) for (int i = 0; i < bands.size(); i++) { g_iofResponsivity.push_back(toDouble(responsivity[toInt(bands[i]) - 1])); } try { Camera *cam; cam = icube->camera(); iTime startTime((QString) inst["StartTime"]); cam->setTime(startTime); g_solarDistance = cam->sunToBodyDist() / KM_PER_AU; } catch(IException &e) { try { iTime startTime((QString) inst["StartTime"]); double etStart = startTime.Et(); Loading Loading @@ -244,6 +253,7 @@ void IsisMain () { throw IException(e, IException::User, msg, _FILEINFO_); } } } else { responsivity = radPvl["Radiance"]; for (int i = 0; i < bands.size(); i++) Loading isis/src/lro/apps/lrowaccal/tsts/wac-mono/Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -8,3 +8,5 @@ commands: to=$(OUTPUT)/${FILE}.vis.odd.cal.cub > /dev/null; $(APPNAME) from=$(INPUT)/${FILE}.vis.even.cub \ to=$(OUTPUT)/${FILE}.vis.even.cal.cub > /dev/null; $(APPNAME) from=$(INPUT)/${FILE}.vis.even.spice.cub \ to=$(OUTPUT)/${FILE}.vis.even.spice.cal.cub > /dev/null; Loading
isis/src/lro/apps/lrowaccal/lrowaccal.xml +46 −43 Original line number Diff line number Diff line Loading @@ -229,6 +229,9 @@ via an argument. The correction may also be turned off via an argument. </change> <change name="Stuart Sides" date="2021-02-22"> Added ability to get the sun distance from the camera. </change> </history> <groups> Loading
isis/src/lro/apps/lrowaccal/main.cpp +42 −32 Original line number Diff line number Diff line Loading @@ -205,9 +205,18 @@ void IsisMain () { if (g_iof) { responsivity = radPvl["IOF"]; for (int i = 0; i < bands.size(); i++) for (int i = 0; i < bands.size(); i++) { g_iofResponsivity.push_back(toDouble(responsivity[toInt(bands[i]) - 1])); } try { Camera *cam; cam = icube->camera(); iTime startTime((QString) inst["StartTime"]); cam->setTime(startTime); g_solarDistance = cam->sunToBodyDist() / KM_PER_AU; } catch(IException &e) { try { iTime startTime((QString) inst["StartTime"]); double etStart = startTime.Et(); Loading Loading @@ -244,6 +253,7 @@ void IsisMain () { throw IException(e, IException::User, msg, _FILEINFO_); } } } else { responsivity = radPvl["Radiance"]; for (int i = 0; i < bands.size(); i++) Loading
isis/src/lro/apps/lrowaccal/tsts/wac-mono/Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -8,3 +8,5 @@ commands: to=$(OUTPUT)/${FILE}.vis.odd.cal.cub > /dev/null; $(APPNAME) from=$(INPUT)/${FILE}.vis.even.cub \ to=$(OUTPUT)/${FILE}.vis.even.cal.cub > /dev/null; $(APPNAME) from=$(INPUT)/${FILE}.vis.even.spice.cub \ to=$(OUTPUT)/${FILE}.vis.even.spice.cal.cub > /dev/null;