Created
September 2, 2019 06:59
-
-
Save prl900/897b2091c3e5b1a449d6e18e50fedcda to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module load cdo | |
module load nco | |
module load gdal/2.2.2 | |
cdo -b I16 select,name=maxPV /g/data/ub8/au/LandCover/DEA_ALC/17_-25/fc_metrics_17_-25_2014.nc out.nc | |
ncpdq -a y,x out.nc out_swap.nc | |
gdal_translate -ot Byte NETCDF:"out_swap.nc":maxPV test.tiff -co TILED=YES -co COMPRESS=DEFLATE | |
gdaladdo test.tiff 2 4 8 16 32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment