jgomezdans / prosail

Python bindings for the PROSAIL canopy reflectance model
130 stars 66 forks source link

using run_prosail, the return of SDR exceeds 1 in ~700-800 wavelength interval #24

Open farewell-lc opened 6 days ago

farewell-lc commented 6 days ago

according to the definition of reflectance, it should be between 0~1. when i used function prosail.run_prosail(factor="SDR"), result returned exceeded 1.0 in ~700-800 wavelength interval.

an example: ref = prosail.run_prosail(2.3509, 2.0041, 8., 0., 0.01, 0.0023, 5.073, -0.35, 0.1565, 15.5314, 14.8268, 0., prospect_version="5", typelidf=1, lidfb=-0.15, factor="SDR", rsoil=1., psoil=0.2149)

I'm sure that the input parameters are within a reasonable range, but dont know why? Is there any related issue during the prosail forward simulation process? Thanks for your comfirming.

valpamp commented 3 days ago

Hi there. I just tested this in my fork, which only adds a few functions to the main repo (the original code should be the same as this repo), and I couldn't reproduce your issue: Untitled Untitled2

As you can see in my case the maximum of the ref array is around 0.72. Are you 100% sure you are running the latest version?