POST
|
What a simple tool, surprised i missed it. I figured there must be something like it in ArcGIS. Inputting the rasters was not quite as tedious as i thought it would be since the input field is a drop-down, 'add-as-you-go-along' menu, though i probably will look into adding iterations in Model Builder in the future. I'll have need of this tool again somewhere down the line, thanks.
... View more
04-12-2016
02:19 AM
|
0
|
1
|
642
|
POST
|
Before i begin, i have no experience in scripting and i have only created basic custom tools in ModelBuilder, so if there is a pre-existing tool or work-around for what i need, that's what i would prefer to find. Thanks. I need to create a zonal statistics raster using a landcover shapefile and a few dozen rasters representing land surface temperature over a few months. Averaging the values by inputting several dozen rasters into raster calculator does not seem efficient. I cannot seem to find a tool which would create a single composite raster by averaging the values in multiple rasters. I know that batching can perform zonal statistics on a group of rasters, but I'm looking for a single output. So i need either 1. a method of creating an averaged raster using all the sample datasets that i can then plug into the zonal stats as raster tool, or 2. a way of inputting many rasters into the zonal stats as raster tool to get straight to one composite output raster. All help appreciated.
... View more
03-31-2016
05:19 PM
|
0
|
5
|
3223
|
POST
|
Sorry for the delayed response. @Dan: I had defined the scratch workspace as %scratchworkspace% but it wasn't until I realized that I had to update that field in environments as well as model properties and I took your advice to go with in_memory as the scratch workspace as well as choosing to override outputs that I got the output I was looking for. Thank you. Sorry Tiffany, but I have no knowledge of coding, something which I think I will have to pick up at some point. So now that I have my basic modelling running I realized I could add one more process to it. The converted values need to be converted to point data so I added the From Raster to Point conversion tool to the end of the model, making the original final output intermediate data using the same solution as above. I cannot tell if the tool will successfully run because ModelBuilder is adamant on not letting me define the destination location of the final output (again, the tool will need to be run with many inputs and so the output must be defined each time). Every time I try to clear the output field it returns to I:\MSc GIS & Remote Sensing\GY638\GY638 Project\Land cover data\RasterT_results1.shp (as seen below). Any idea on why this might be?
... View more
03-01-2016
07:58 AM
|
0
|
1
|
696
|
POST
|
I'm completely new to model builder, but as I've about 90 rasters to run through several different processes I figured I'd construct a simple clip tool which then applies a function to the clipped data to convert it from Kelvin to Celcius values. My model looks as follows: The tool did not successfully run in ArcMap (it would fail while running the clip) until I had altered the model for a couple of hours. The tool now works more or less as desired; it clips the original data, and generates a second output with the new values. However, the tool would only work when I made the first output ("clipped raster") a paramater. Therefore the tool is not ideal as 1. having to choose an output location for the clip each time is less efficient and 2. as the clip itself is not needed superfluous data will be generated. I am not sure I completely understand how scratch data or scratch workspaces work, but is there any way that I would be able to set the "clipped raster" output as intermediate data and still have a functioning tool? Other notes: on a previous attempt at constructing the model, I got the clip to run successfully, but it was always the raster calculator operation that failed; an error 000539 was always returned. Any idea on why this might be so? The function I entered into the raster calculator was ("%Clipped raster%" * 0.02) -273, 0.02 being a scaling factor and of course the 273 to convert from Kelvin to Celsius. However, I do not believe that syntax was the issue as I ran the function in the raster calculator in the system toolbox and there were no issues.
... View more
02-23-2016
03:35 PM
|
0
|
4
|
2806
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|