Skip to content
Snippets Groups Projects
Commit d58b72fa authored by Neha Hunka's avatar Neha Hunka
Browse files

Vector - Vectorizing IPCC classes

parent ea8cb075
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ if (file.exists(INPUT)) {
}
NN <- rast("input/NN.tif")
MM <- rast("input/MM.tif")
MM[!is.na(NN)] <- NA
MM[is.na(NN)] <- NA
writeRaster(MM, args[2], wopt= list(gdal=c("COMPRESS=DEFLATE","PREDICTOR=2","ZLEVEL=9")), overwrite=TRUE)
#####################################################################################################
......
......@@ -26,7 +26,7 @@ if (file.exists(INPUT)) {
}
NN <- rast("input/NN.tif")
MM <- rast("input/MM.tif")
MM[!is.na(NN)] <- NA
MM[is.na(NN)] <- NA
writeRaster(MM, args[2], wopt= list(gdal=c("COMPRESS=DEFLATE","PREDICTOR=2","ZLEVEL=9")), overwrite=TRUE)
#####################################################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment