Hot answers tagged

3

You can calculate the NDWI using basic raster calculator in arcmap. You need to use Landsat bands 3 and 5 (Landsat 8 OLI), and simply calculate a new raster with an algebraic expression: (Band 3 - Band 5)/(Band 3 + Band 5) You should preferably use images corrected to TOA. In this example I have bands 3 and 5 The result is a raster with values between -...


2

As @FelixIP said, use Cell Statistics. You'll need the Spatial Analyst license, however. Alternatively, if you don't have access to Spatial Analyst, and you're familiar with python, you could use arcpy. What I would do is: Loop through each raster and convert them to numpy arrays using RasterToNumpyArray. As you're looping through the rasters, store ...


2

There is no need to define the workspace if you are explicitly defining the variable paths. Additionally, you are formatting the paths incorrectly--try using r'C:\path\to\your\data'. I would recommend writing the output raster to .tif or .img format. As your script is currently configured, it is trying to output a grid format raster. This is how I would ...


1

Go to ArcToolbox -> Spatial Analyst Tools -> Map Algebra -> Raster Calculator In the raster calculator, you can either write SetNull("raster_name"<0.92, "raster_name"). Or Double click SetNull from the menu under Conditional menu, then double click the raster layer from raster layer listed in the Table of content from inside raster calculator ...



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