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
Hello! When performing calculations on my data cube using sits_apply(), it allows me to run the first calculation, but then I encounter an "invalid input data" error, even though I'm using the same data cube that was processed previously.
My solution was to reload the data cube every time a calculation was performed and to save the index images in a separate folder from the data cube. Once I had all the indices of interest, I simply clipped the layers from the new folder and added them to the data cube folder.
The text was updated successfully, but these errors were encountered:
Dear @paulacopelli, many thanks for your message. Would it be possible to provide us a minimum working example (MWE). We have been using sits_apply() in many situations and this error has not been reported before. Many thanks for your interest in sits and compliments in your skills in finding workarounds bugs in the software.
When I apply the second index, it tells me the following message: Error: sits_apply: invalid input data and/or function to be applied
I noticed that the error may be linked to an error in the processing of the indices, because for some reason neither the pixel resolutions nor the size (number of pixels in the width and length) of the resulting raster of the base bands match with the indexes. When I calculate the indices through another tool, it is able to load the complete cube correctly and continue processing it, for example, to extract data.
Hello! When performing calculations on my data cube using sits_apply(), it allows me to run the first calculation, but then I encounter an "invalid input data" error, even though I'm using the same data cube that was processed previously.
My solution was to reload the data cube every time a calculation was performed and to save the index images in a separate folder from the data cube. Once I had all the indices of interest, I simply clipped the layers from the new folder and added them to the data cube folder.
The text was updated successfully, but these errors were encountered: