Error: [lapp] cannot use 'fun'. The number of values returned is less than the number of input cells.
(returning: 1, expecting: 6037)
Perhaps the function is not properly vectorized
Hi Martin and Martin,
Thank you for reviewing this. Let me clarify the image requirements:
The tool is designed to be flexible and can handle images with any number of layers - not just 3 or 5. While users may work with images containing many more bands, the vegetation indices calculations specifically use:
Alternatively, you can use the myIndex option where you can reference bands using custom names (e.g., "Band1" or "Band35").
Please let me know if you need any additional clarification.
Best regards,
Filipe
Hi Martin,
I noticed there might be an issue with the index selection. The ERROR you're receiving is likely because the tool is trying to calculate an index that requires a Red Edge (RE) band, which isn't present in your data.
When selecting indices, please ensure that all required bands for the calculation are available in your image. You can review the complete list of available indices and their required bands in our documentation: https://github.com/pspawar71/FIELDimageR-QGIS?tab=readme-ov-file#p5
If you'd like to share which specific index you're trying to calculate, I can help you verify the required bands.
Best regards,
Filipe