I have a geotiff file that I made in Python. After I created it, I realized it was for all of North America, and I only need the United States. I then got what I assumed was a shapefile of the US border, and tried to clip with
gdalwarp -cutline shapefile.shp input.tif output.tif
When I do this, it creates an output file, but the whole file is filled with zeros. I have tried a few other methods, but they all end up being filled with zeros. I think it could have to do with the spatial reference or the extent of either the shp or tif. Anyone have any ideas? Files included below.
I have also tried a different shapefile, but that hasn't worked either.