1

Alright, So I am using a batch process of raster calculator and in the calculator I am using 2 different raster files (meridional and zonal). This calculator will be running for 24 files of each the meridional and zonal. So one run will calculate an output file for, say, Mericional_0000 and Zonal_0000; then the next run will use Meridional_0100 and Zonal_0100, all the way till 2300. Is there a way that when the calculator runs, the output for Meridional_0000 and Zonal_0000 will go to one file while the Zonal_0100 and Meridional_0100 will go to another file. [each of the 24 files will have its own file when calculated]. I tried the %Name%, but that gives me an output for each individual file, and I don't want that. Any help would be great!

5
  • Wouldn't it be easier to have the outputs in the same folder?
    – Aaron
    Commented Jul 1, 2013 at 17:24
  • I want them in the same folder, but I want each run of the model builder (which is doing batch run, 24 times) to be saved in its own output file.
    – Katelyn
    Commented Jul 1, 2013 at 17:27
  • 1
    Are you using the actual "Batch" option or are you running this in ModelBuilder?
    – Aaron
    Commented Jul 1, 2013 at 17:32
  • in model builder. I am new to the batch option, so I don't know where to find it within ArcGIS 10.1
    – Katelyn
    Commented Jul 1, 2013 at 17:34
  • 1
    ModelBuilder is the way to go if you do not use Python. However, here is a link to the batch mode: resources.arcgis.com/en/help/main/10.1/index.html#//…
    – Aaron
    Commented Jul 1, 2013 at 18:02

1 Answer 1

1

How are your files named in the first instance? I am presuming that you are working in a file workspace as opposed to geodatabase workspace.

If you are using model builder perhaps use two instances of calculator, one to calculate the zonal one to calculate the meridional. In the one instance of calculator you can set the output name to be Meridional_%Name% and the other to be Zonal_%Name%. You may wish to send them to different output locations too.

Is there a way that when the calculator runs, the output for Meridional_0000 and Zonal_0000 will go to one file while the Zonal_0100 and Meridional_0100 will go to another file.

Do you mean another folder instead? If so, you can use model builder to create a new folder on each iteration using the original file name to name it.

If I've understood you correctly we should be able to crack this no problem but more information is needed to give a full answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.