Skip to main content
Solved

Error when calculating NDVI


I am trying to calculate NDVI with a RasterBandSeparator, Test Filters and NDVI Calculator. Prior to running the RasterBandSeparator I am also using the RasterMosaicker and RasterTiler since I want to remove the overlapping edge effects of the imagery. I have added an image of the workbench so you can see where the error occurs. Looks like it's occurring once data for the next tile is being passed to the NDVI calculator. Any help in debugging his would be appreciated. I could re-tile the imagery first I suppose but then I'm reading the source data multiple times.

t

Best answer by dcrouse1

OK, I found the issue. There was a group by option that I didn't see.

View original
Did this help you find an answer to your question?

3 replies

nathanatsafe
Safer
Forum|alt.badge.img+7
Hi @dcrouse1, thanks for your question!

 

Are you able to attach any of the following so the community can dive deeper into your workflow?

 

- Log File of your translation

 

- FME Workbench

 

- Sample input data

 

Thanks,

 

Nathan

 


Forum|alt.badge.img+2

Hi @dcrouse1

 

Have you set up the 'Group By' parameter in the NDVI calculator. In order to pass more than one image through the transformer needs a unique attribute per image to be able to pair the correct Red and Infrared band for the calculation.

Additionally it might be useful to post the log file from this translation or at least a snippet of the error message being recorded.


  • Author
  • Best Answer
  • August 22, 2018

OK, I found the issue. There was a group by option that I didn't see.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings