Skip to main content
Question

Calculate raster from multiple folder

  • December 28, 2018
  • 5 replies
  • 15 views

hoa_le
Contributor
Forum|alt.badge.img+5

Hi all,

I have 3 folder 2016, 2017, 2018. Each folder have 46 images .TIF format.

In each folder, for one day have 3 images tif and split to _p1,_p2,_p3 and the date is same.

My goal sort images in each folder and execute raster calculate the first image of each folder to other first folder and then create folder based on squence 1,2,3....

I describe in here. Could you tell me how to the way make model ? Thank you

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.

5 replies

takashi
Celebrity
  • 7843 replies
  • December 28, 2018

Does "(Ai+Bi+Ci)/3" in your screenshot describes that creating a single raster from the three rasters on the left hand side (e.g. 20160101_p1, 20170102_p1, and 20180101_p1) by calculating average value for each cell in those rasters?

How many bands does each raster have?

 


hoa_le
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 142 replies
  • December 28, 2018

Does "(Ai+Bi+Ci)/3" in your screenshot describes that creating a single raster from the three rasters on the left hand side (e.g. 20160101_p1, 20170102_p1, and 20180101_p1) by calculating average value for each cell in those rasters?

How many bands does each raster have?

 

Yes. One band for each image


takashi
Celebrity
  • 7843 replies
  • December 28, 2018

Does "(Ai+Bi+Ci)/3" in your screenshot describes that creating a single raster from the three rasters on the left hand side (e.g. 20160101_p1, 20170102_p1, and 20180101_p1) by calculating average value for each cell in those rasters?

How many bands does each raster have?

 

What about my first question?


hoa_le
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 142 replies
  • December 28, 2018

What about my first question?

yes. My question is the method to make it to receive the result like I describe.

In my mind, I think I will sort all file in folders and the next step I will make loop for the first image to n images in the folder and raster calculation. But I have not yet make it by this function?


takashi
Celebrity
  • 7843 replies
  • December 28, 2018

If I understood the conditions and your requirement correctly, this workspace example might help you.

tiff2tiff-example.zip (FME 2018.1.0.3, including sample source dataset)