how I can get raster calculator select files with similar names?

المشرف العام

Administrator
طاقم الإدارة
The idea is to select raster files with parts of similar name, for example: Filenames (in between many others raster with other names, but in the same folder):

  • 28feb11evs
  • 28feb11evv
  • 28feb11pr
  • 28feb11tr
  • 28feb11pres
  • 31ene10evs
  • 31ene10evv
  • 31ene10pr
  • 31ene10tr
  • 31ene10pres
Equation in Raster calculator (selecting just the "month"):

Con ("%Raster%" == " * ene * ", "%Raster * pr%" - ("%Raster * evs%" + "%Raster * evv%" + "%Raster * tr%" + "%Raster * pres%"), 0)

In the final model, I intend to make 12 of these models, one for each month, for the iterator "Iterate rasters" choose only the year ("wildcard: * 10", for example)

this is a pick of the model I try to run:



أكثر...
 
أعلى