2

The Set Null tool takes the following parameters: SetNull (in_conditional_raster, in_false_raster_or_constant, {where_clause}) which are described in the tool's documentation as follows: in_conditional_raster: Input raster representing the true or false result of the desired condition. It can be of integer or floating point type. ...


2

Use the Cell Statistics tool : Calculates a per-cell statistic from multiple rasters. The available statistics are Majority, Maximum, Mean, Median, Minimum, Minority, Range, Standard deviation, Sum, and Variety. Use the SUM statistic and ensure Ignore NoData is ticked and set the output extent environment to Union of inputs


1

It appears the problem is that the band values somehow got converted to a signed float, so you have a value that is near zero but not actually zero (or something similar). It should resolve if you use the copy raster tool in an ESRI environment and output an unsigned integer and specify zero as the no data value. I'm not sure at this point if you can run it ...


1

As you are not showing us the full code I can only guess as to the problem, you really should provide the full code, how do I even know you are importing the spatial analyst extension or setting the workspace? The answer is I don't. So I and the rest of the user community have to second guess what you actually did. So assuming you have written a script that ...


1

Create a new column that contains a unique value for each gridcode-CMA_NO pair. For example you could use Calculate Field and set the output to "gridcode" + "_" + ""CMA_NO" so that the first column would result in a text value of "1_7". Then you can use this newly created column as your zone.


1

This is how I would approach the problem: If you are set on using a raster method you will need to ensure that the spatial extent of all datasets are the same. You will need to create a "base" polygon, this polygon will contain a value for what you would like to represent a "no data" value, possibly a 0 or a 1, depending on what the values in your other ...


1

It's slightly roundabout, but I've done this in ModelBuilder with success (although I am using the same method to create a constant raster): First, create an empty .dbf (table) in your directory (using ArcCatalog). Next, add a new column and call it 'value' (or whatever metric you are using). Enter however many values you need. The OID column will auto-...


1

You can set the Extent and Mask environments to match your polygon boundary. Simply select that layer from the dropwdowns when setting the environments or specify the file's path. This way the resulting raster file will match the extent of your boundary and all pixels that fall outside the polygon will be converted to NoData.


Only top voted, non community-wiki answers of a minimum length are eligible