Hi,
I'm trying to calculate the leaf area index of different vegetation species at each state in the US and I'm using a netcdf (.nc4) raster file for the LAI and a usual shapefile (with polygons) for defining the state boundary. I converted the net cdf file into a raster file using the "Make NetCDF raster layer tool". I'm using the Clip tool (< Raster Processing < Raster < Data management tools < Arc toolbox) in the arctool box to clip the raster layer and the polygons. So in this case, my output extent are the states that I choose from the shapefile and the Input raster is the raster layer ofcourse. I also checked the "Use Input Features for Clipping Geometry" option so that the raster dataset is clipped onto the perimeter of the shapefile.
Here is my question: Sometime, there are additional pixels that are created in the output raster dataset, that are actually not present in the original input raster layer. And these pixels also have a value associated with it, which is a cause of concern since some states which should actually have a zero value in it, have a random number in the output file.
Could someone explain what's happening or the possible reasons for this?
Thanks!
Hi Varsha,
When you executed the Clip Raster tool, did you check the option 'Maintain Clipping Extent'. If this was checked, this will adjust the number of columns and rows and resample pixels to exactly match the clipping extent specified. The resampling may be what's causing these to additional pixels to be created.
Jake,
Thanks for your response. I didn't check this option. It seems to work for fine now! Thank you!