Unverified Commit b11ac40c authored by jcwbacker's avatar jcwbacker Committed by GitHub
Browse files

Merge pull request #258 from kberryUSGS/CaSSIS_Pipeline

Removed units from local solar time in tgocassismos
parents eb11c322 60af2af5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -437,7 +437,6 @@ void translateLabels(FileName &inputLabel, Cube *outputCube, QString instTransFi


QString convertUniqueIdToObservationId(Pvl &outputLabel) {

  if (outputLabel.findObject("IsisCube").hasGroup("Mosaic")) {
    return ""; // translation file should auto translate this case to Mosaic group.
               // For any other product, this ID goes in the Archive group.
+2 −1
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ void IsisMain() {
    proj->SetGround(avgLat, avgLon);
    avgLat = proj->UniversalLatitude();
    avgLon = proj->UniversalLongitude();

    // Use camera class to get Inc., emi., phase, and other values
    double emissionAngle;
    double phaseAngle;
@@ -223,7 +224,7 @@ void IsisMain() {
    mos += PvlKeyword("IncidenceAngle ", toString(incidenceAngle), "degrees");
    mos += PvlKeyword("EmissionAngle ", toString(emissionAngle), "degrees");
    mos += PvlKeyword("PhaseAngle ", toString(phaseAngle), "degrees");
    mos += PvlKeyword("LocalTime ", toString(localSolarTime), "localday/24");
    mos += PvlKeyword("LocalTime ", toString(localSolarTime)); 
    mos += PvlKeyword("SolarLongitude ", toString(solarLongitude), "degrees");
    mos += PvlKeyword("SubSolarAzimuth ", toString(sunAzimuth), "degrees");
    mos += PvlKeyword("NorthAzimuth ", toString(northAzimuth), "degrees");