I'm trying to warp a raster to meet an exact resolution (0.0022500000000000007, -0.0022499999999999977). I've tried using the CLI to no avail.
The example in the docs is
rio warp input.tif output.tif --dst-crs EPSG:4326 --bounds -78 22 -76 24 --res 0.1 -- -0.1
Using
rio warp Sample2.tif Resolution.tif --res 0.0022500000000000007 -- -0.0022499999999999977 --overwrite
gives the error
Usage: rio warp [OPTIONS] INPUTS... OUTPUT
Error: Invalid value for "files": Resolution.tif is not a valid input file
Moving the overwrite forward
rio warp --overwrite Sample2.tif Resolution.tif --res 0.0022500000000000007 -- -0.0022499999999999977
does the same, though sometimes it creates a "-0.0022499999999999977" file
Suggestions?
rio warp Sample2.tif Resolution.tif --res 0.00225 -- -0.00225 --overwriteAlso gives
– Hexadecimalism Feb 28 '19 at 09:27Error: Invalid value for "files": Resolution.tif is not a valid input file