Skip to main content
Solved

Error when calculating NDVI

  • August 22, 2018
  • 3 replies
  • 28 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

nathanatsafe
Safer
Forum|alt.badge.img+9
  • Safer
  • 284 replies
  • August 22, 2018
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
  • 719 replies
  • August 22, 2018

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
  • 1 reply
  • Best Answer
  • August 22, 2018

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