-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NaN leaf spectra outputted for reasonable input values #10
Comments
I think your cm and cw have the wrong units. I'm not in front of my computer to check properly, buy try cw=0.001 and cm=0.02 (numbers from memory!), and see whether that works. |
Also, just tested in python 3and got it to work (master branch)... |
Hi J,
You're right it works fine with those values! Thank you for having a look.
I am still deciding on the input conditions, so I had just grabbed some
values from the table on Pypi ( https://pypi.org/project/prosail/ ) and
your Github page.
I'm a bit confused now, could you point me to where I can find out what the
units for the Prosail inputs are?
…On 18 April 2018 at 15:14, José Gómez-Dans ***@***.***> wrote:
Also, just tested in python 3and got it to work (master branch)...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdZi1AZr8gme_kk5GuGE_iBwccoh-e7cks5tpufVgaJpZM4TZWMF>
.
|
P.S. With leaf structure parameter N fixed at 1 (for the time being) I have been running Prosail just fine for cm and cw values of 200 each. Not sure what to make of that haha. |
Oops, I hadn't realised those values were there... I've just had a quick look through papers as to what sensible min/max values might be (see figure below). Cbrown is hard to tell: it's a spectrum that is put into PROSPECT as a pigment, so I have seen all sorts of boundaries for this. I tend to use 0-1, but in some cases, 0-3 might be reasonable (I think...)... Worth checking that the spectra actually look like ;) |
Yea I was just blindly trying stuff as a first attempt, trying to get
anything other than NaNs or zeros... thank you!
For the parameter units, I guess from now on I'll base it on "PROSAIL: 15
Years of use for land surface characterization" Jacquemoud et al. 2006
…On 18 April 2018 at 17:14, José Gómez-Dans ***@***.***> wrote:
Oops, I hadn't realised those values were there... I've just had a quick
look through papers as to what sensible min/max values might be (see figure
below). Cbrown is hard to tell: it's a spectrum that is put into PROSPECT
as a pigment, so I have seen all sorts of boundaries for this. I tend to
use 0-1, but in some cases, 0-3 might be reasonable (I think...)... Worth
checking that the spectra actually look like ;)
[image: image]
<https://user-images.githubusercontent.com/139304/38922827-0d963e96-42f1-11e8-88c9-f1d159c29513.png>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdZi1KJC40WoIiCoSEp-E6eI658Fpe7zks5tpwQFgaJpZM4TZWMF>
.
|
Hi, thanks for sharing your wrappers!
I have a strange issue with PROSPECT. If I run it with any leaf structure parameter N value, other than 1, I get NaN results.
If I run this
I get several Runtime Warnings, this one plus some other ones for different equations:
However if I run with
n = 1
I get no problems. Any other value ofn
seems to give me this problem.Does this have something to do with my installation or is it a bug? All values are within the typical ranges, as per the parameter table in the docs.
The text was updated successfully, but these errors were encountered: