I am running a script to clip a bunch of rasters to an extent (first pic), noticed it gave me wacky results (second pic). So then I ran the clip tool from the desktop app, and it worked as I intended it to (third pic), then used the copy python command and the only thing I changed was the output folder, and that went from giving me the intended result (3rd) to the same weird result I have been getting (2nd). Does anyone know why this would happen and if so how to fix it? I am running it on 270 rasters so I am not going to do them each manually, but I think it's really frustrating that it is being so inconsistent for no apparent reason.
did you specify a *,tif for the filename? If not you are getting an esri grid. Try *.tif for the output raster type and see if it persists
Yes, I did specify .tif that was what I changed in the output file name along with a folder outside the project gdb.
What was the "copy python command" snippet? Perhaps the snippet doesn't use specific environments that the tool does. I assume that you were using
Clip Raster (Data Management)—ArcGIS Pro | Documentation
in the first place