You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
error when analyzing spectral image from crop reporter and trying to calculate chlorophyll index
function pcv.spectral_index.ci_rededge(hsi=ps.spectral) returns error
needed to change distance from 20 (default) to 30
To Reproduce
Steps to reproduce the behavior (including sample data and code really help):
Starting with image: spectral image from crop reporter
Run function(s): ci = pcv.spectral_index.ci_rededge(hsi=ps.spectral)
See error
error: fatal_error("Available wavelengths are not suitable for calculating CI_REDEDGE. Try increasing distance.")
Expected behavior
A clear and concise description of what you expected to happen.
expect to get the chlorophyll index data
Local environment (please complete the following information):
Additional context
Add any other context about the problem here. ci = pcv.spectral_index.ci_rededge(hsi=ps.spectral, distance=30) >> changing distance to 30 resolved the error
I think the default distance of 20 is either too strict or the wavelengths used to calculate the ratio are too far off from the wavelengths used by the crop reporter camera
The text was updated successfully, but these errors were encountered:
We believe the issue is the tutorial is failing on this step. https://plantcv.readthedocs.io/en/latest/tutorials/psII_tutorial/ and actual code for the tutorial here. Is it valid to include thiss in our tutorial if the specific wavelengths are not within our tutorial data (crop reporter, not HSI)
HaleySchuhl
changed the title
chlorophyll index default distance
UPDATE needed to PSII tutorial: chlorophyll index default distance failing
Feb 2, 2024
Describe the bug
error when analyzing spectral image from crop reporter and trying to calculate chlorophyll index
function
pcv.spectral_index.ci_rededge(hsi=ps.spectral)
returns errorneeded to change distance from 20 (default) to 30
To Reproduce
Steps to reproduce the behavior (including sample data and code really help):
ci = pcv.spectral_index.ci_rededge(hsi=ps.spectral)
error:
fatal_error("Available wavelengths are not suitable for calculating CI_REDEDGE. Try increasing distance.")
Expected behavior
A clear and concise description of what you expected to happen.
expect to get the chlorophyll index data
Local environment (please complete the following information):
Additional context
Add any other context about the problem here.
ci = pcv.spectral_index.ci_rededge(hsi=ps.spectral, distance=30)
>> changing distance to 30 resolved the errorI think the default distance of 20 is either too strict or the wavelengths used to calculate the ratio are too far off from the wavelengths used by the crop reporter camera
The text was updated successfully, but these errors were encountered: