ec-jrc / lisflood-utilities

LISFLOOD OS - Utilities
https://ec-jrc.github.io/lisflood
European Union Public License 1.2
22 stars 9 forks source link

Using integers as coordinates in `cutmaps` #40

Closed casadoj closed 11 months ago

casadoj commented 11 months ago

I have tried to cut the GloFASv4 static maps using integers as coordinates, as in the line below, and the result was completely out of the defined extent:

cutmaps -S ./test_in/ -c "-125 -65 24 54" -o ./test_out/ -W

However, using floats works fine:

cutmaps -S ./test_in/ -c "-125.0 -65.0 24.0 54.0" -o ./test_out/ -W

casadoj commented 11 months ago

Forget about it. I was using an old version. I've updated the version and tried again; it works fine with integers.