Added by effrain mu over 4 years ago
Hi,
I have a land sea mask where land=1, sea=0. I want to create a new global land sea mask with the same resolution so that my study are cells = 1, and the rest =0.
I have the study area shapefile and the long (-66.81,-59.77) and lat (-7.98,-13.69). Can anyone help me with this?
Thank you so much!
invariants.nc (59.2 KB) invariants.nc |
Hi!
Try this one:
cdo -f nc -setmisstoc,0 -masklonlatbox,-66.81,-59.77,-7.98,-13.69 -const,1,invariants.nc maskedBoxOfInterest.nc
hth
ralf