I have about 100 rasters of water occurrence that I have used to create a mosaic dataset. The pixel values in the rasters range from 0 to 1. The pixel values in the mosaic range from 0 to 0.26... this appears to match the range found in the first raster added to the mosaic dataset. The pixel values in each raster appear to have been rescaled to match this new scale. I need the mosaic to keep the original pixel values in the rasters.
This seems like a basic error, but I've gone through the arcpy documentation and I can't figure out what I need to change. I'm hoping someone can point out where I'm going wrong.
My workflow is as follows:
# create mosaic dataset mdname = 'occ_'+da+'_2' spatialref = "4326" noband = "1" pixtype = "32_BIT_FLOAT" pdef = "NONE" wavelength = "" arcpy.CreateMosaicDataset_management(outPath + gdb, mdname, spatialref, noband, pixtype, pdef, wavelength) # add rasters to mosaic dataset inpath = tifPath rastype = "Raster Dataset" updatecs = "UPDATE_CELL_SIZES" updatebnd = "UPDATE_BOUNDARY" updateovr = "UPDATE_OVERVIEWS" maxlevel = "2" maxcs = "#" maxdim = "#" inputdatafilter = "*.tif" subfolder = "NO_SUBFOLDERS" duplicate = "EXCLUDE_DUPLICATES" buildpy = "NO_PYRAMIDS" calcstats = "CALCULATE_STATISTICS" buildthumb = "NO_THUMBNAILS" comments = "Add Raster Datasets" forcesr = "FORCE_SPATIAL_REFERENCE" mdname = outPath+gdb+"/"+mdname arcpy.AddRastersToMosaicDataset_management(mdname, rastype, inpath, updatecs, updatebnd, updateovr, maxlevel, maxcs, maxdim, spatialref, inputdatafilter, subfolder, duplicate, buildpy, calcstats, buildthumb, comments, forcesr)
My rasters do not overlap, so this is not caused by the mosaicing rules