diff --git a/Examples/Simulation/LAIAndPROSAILToSensorResponse.cxx b/Examples/Simulation/LAIAndPROSAILToSensorResponse.cxx index 3533d63f96d35d123fe7205edaf675ebde458154..39e63e20fa4d0abb1e134c92cbcd2d54e70fdb04 100644 --- a/Examples/Simulation/LAIAndPROSAILToSensorResponse.cxx +++ b/Examples/Simulation/LAIAndPROSAILToSensorResponse.cxx @@ -335,7 +335,9 @@ public: // Software Guide : BeginLatex // - // Satellite RSR is initialized and set with \code{aResponse}. + // Satellite RSR is initialized and set with \code{aResponse}. Reflectance + // mode is used in this case to take into account solar irradiance into + // spectral response reduction. // // Software Guide : EndLatex @@ -343,6 +345,9 @@ public: ReduceResponseTypePointerType reduceResponse = ReduceResponseType::New(); reduceResponse->SetInputSatRSR(m_SatRSR); reduceResponse->SetInputSpectralResponse(aResponse); + + reduceResponse->SetReflectanceMode(true); + reduceResponse->CalculateResponse(); VectorPairType reducedResponse = reduceResponse->GetReduceResponse()->GetResponse();