Quantcast
Channel: Active questions tagged raster-calculator - Geographic Information Systems Stack Exchange
Viewing all articles
Browse latest Browse all 190

Using Modelbuilder to Iterate Rasters and Calculate

$
0
0

I have a series of files in a folder:

  • 2020-04-28-00_00_2020-04-28-23_59_Sentinel-2_L1C_B04_(Raw).tiff
  • 2020-04-28-00_00_2020-04-28-23_59_Sentinel-2_L1C_B05_(Raw).tiff
  • 2024-04-27-00_00_2024-04-27-23_59_Sentinel-2_L1C_B04_(Raw).tiff
  • 2024-04-27-00_00_2024-04-27-23_59_Sentinel-2_L1C_B05_(Raw).tiffand others that follow that format.

I need to calculate (B05-B04)/(B05+B04) for each date and output:

  • 2020-04-28-00_00_2020-04-28-23_59_Sentinel-2_L1C_Composite.tiff
  • 2024-04-27-00_00_2024-04-27-23_59_Sentinel-2_L1C_Composite.tiff

This would be easer in Python but I have to use ModelBuilder.


Viewing all articles
Browse latest Browse all 190

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>