Skip to content
Snippets Groups Projects
Commit 1f9ef1d6 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

BUG: modify satellite orientation angle value to follow convention of...

BUG: modify satellite orientation angle value to follow convention of atmospheric corrections computation
parent d55c3333
No related branches found
No related tags found
No related merge requests found
......@@ -682,6 +682,13 @@ PleiadesImageMetadataInterface::GetSatElevation() const
// MSD: for the moment take only topCenter value
std::string valueString = imageKeywordlist.GetMetadataByKey("support_data.incident_angle");
double value = atof(valueString.c_str());
//Convention use in input of atmospheric correction parameters computation is
//"90 - satOrientation". Pleiades does not seem to follow this convention so
//inverse the formula here to be able to take the angle read in the metadata
//as input for 6S
value = 90. - value;
return value;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment