<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RASTER ITERATION AND RASTER CALCULATOR in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248621#M8539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The files are just above the limit to be attached (2.80 MB).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any chance you can send me your email (privately) so I can send you the rasters?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 10:57:53 GMT</pubDate>
    <dc:creator>anTonialcaraz</dc:creator>
    <dc:date>2013-07-30T10:57:53Z</dc:date>
    <item>
      <title>RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248611#M8529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to calculate Maximum Oxygen Content (MOC) from Temperature and Salinity raster layers in Model Builder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 15 different sea depth layers and 12 different months making a total of 180 rasters calculated using an equation within Raster Calculator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done two sub-models with and Iterator each (one for Temperature and one for Salinity) and put them into a model with the Raster Calculator tool added (see graphic). I'm also using variable substitution in the output (%Name%) but I'm only getting one single output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 13:49:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248611#M8529</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-07-29T13:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248612#M8530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you will only get one output in this model as there is no iterator in the main model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So your O2a and O2b models will run (with their iterators), however you will only get a single output from each (I'm guessing the last temperature and the last salinity)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you could attach an image of the 2 submodels, I may be able to help you re-design these.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 14:12:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248612#M8530</guid>
      <dc:creator>DanielHall_Ballester</dc:creator>
      <dc:date>2013-07-29T14:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248613#M8531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for you reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see the two sub-models attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Toni&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 14:45:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248613#M8531</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-07-29T14:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248614#M8532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Toni,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attached are 2 screenshots which should be enough to guide you to your solution.&amp;nbsp; I have fewer inputs into my field calculator, but the principle is the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 15:22:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248614#M8532</guid>
      <dc:creator>DanielHall_Ballester</dc:creator>
      <dc:date>2013-07-29T15:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248615#M8533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm very grateful, thanks. I think it works fine but I have a couple of doubts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1: Is it picking up the right layers when doing the calculation? Please see the attachments. For example "t_1389_apr" needs to go with "sl1389_apr" in the equation calculation; t_1389_jan" with "sl1389_jan" and so on...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2: In the outputs I'm getting (for example): "MOC_t_1389_apr_mol" and I want "MOC_1389_apr_mol" (see final model attached)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot Dan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Toni&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 08:46:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248615#M8533</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-07-30T08:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248616#M8534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Toni,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it should work through your rasters sequentially, so as long as they are in the same order in your workspace it should be fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One way to test this, would be to make the Name variable within your salinity model a parameter (rename it to something else as you're already using Name as a temperature output variable), and then add it to your final file name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e. so your final output is "MOC_%TName%_%SName%_mol where %TName% is the Name variable from the temperature output, and %SName% is the Name variable from the salinity output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this doesn't work, try putting your temperature and salinity input rasters into 2 different workspaces (it looks like you currently have them all in the same workspace).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 09:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248616#M8534</guid>
      <dc:creator>DanielHall_Ballester</dc:creator>
      <dc:date>2013-07-30T09:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248617#M8535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested it and indeed uses the right layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts on how to get rid of the "t" in the final output names? "MOC_1389_apr_mol" instead of "MOC_t_1389_apr_mol"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Toni&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 09:55:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248617#M8535</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-07-30T09:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248618#M8536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wrong before. It actually uses always the last Salinity layer in the list to do the calculation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 09:59:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248618#M8536</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-07-30T09:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248619#M8537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried also putting the Temperature and Salinity layers in different workspaces but is still picking up the last Salinity layer in the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 10:04:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248619#M8537</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-07-30T10:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248620#M8538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Toni,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is there a chance you could send me some of the data?&amp;nbsp; I don't actually have any sensible raster data I could use to trial this. Just 2 files of each would do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 10:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248620#M8538</guid>
      <dc:creator>DanielHall_Ballester</dc:creator>
      <dc:date>2013-07-30T10:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248621#M8539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The files are just above the limit to be attached (2.80 MB).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any chance you can send me your email (privately) so I can send you the rasters?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 10:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248621#M8539</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-07-30T10:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248622#M8540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Toni,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've sent you a private message.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 11:18:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248622#M8540</guid>
      <dc:creator>DanielHall_Ballester</dc:creator>
      <dc:date>2013-07-30T11:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248623#M8541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I sent you an e-mail. I'm using 10.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 09:48:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248623#M8541</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-07-31T09:48:36Z</dc:date>
    </item>
    <item>
      <title>RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248624#M8542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to run Raster Calculator in Model Builder using two Raster Iterators (one of them embedded) with no success in the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to calculate Oxygen from a series of Temperature and Salinity rasters stored in a File GDB. I have many layers corresponding to different depths and months. For example: "t1389_apr" should go together in the Raster Calculator equation with "sl1389_apr" and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The results I'm getting are telling me that in the calculation it only uses the last salinity raster in the list. It does not iterate sequentially from the first to the last raster in the list. The Salinity iterator is the one embedded within the model. I also tried to use the salinity as a multi-value input but it does the same (only picks up the last salinity raster in the list).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've exported the model as a python script (attached). I've run the model in 10.0 and 10.1 with same results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be great if someone could have a look and come up with a possible solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Toni&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 13:45:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248624#M8542</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-08-01T13:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248625#M8543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone from ESRI with suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 06:52:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248625#M8543</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-08-02T06:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: RASTER ITERATION AND RASTER CALCULATOR</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248626#M8544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I always thought the model should work (see attached).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is it an Esri glitch? or is there something not quite right in the procedure I'm following?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 07:03:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-iteration-and-raster-calculator/m-p/248626#M8544</guid>
      <dc:creator>anTonialcaraz</dc:creator>
      <dc:date>2013-08-02T07:03:21Z</dc:date>
    </item>
  </channel>
</rss>

