Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
spatialthoughts committed Dec 26, 2023
1 parent 8bde083 commit 4c6050c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions code/python_remote_sensing/zonal_statistics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,14 @@
"\n",
"These files were download from [Harvard Dataverse](https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/YGIVCD) and converted to Cloud-Optimized GeoTIFFs using GDAL.\n",
"\n",
" Example command `gdalwarp -of COG -co COMPRESS=DEFLATE -co PREDICTOR=2 -co NUM_THREADS=ALL_CPUS 2021_HasMask/LongNTL_2021.tif 2021.tif -te -180 -90 180 90 -dstnodata 0`\n",
" \n",
" Example command\n",
"\n",
" ```\n",
" gdalwarp -of COG 2021_HasMask/LongNTL_2021.tif 2021.tif \\\n",
" -te -180 -90 180 90 -dstnodata 0 \\\n",
" -co COMPRESS=DEFLATE -co PREDICTOR=2 -co NUM_THREADS=ALL_CPUS\n",
"```\n",
"\n",
"The resulting files are now hosted on a Google Cloud Storage bucket."
]
},
Expand Down

0 comments on commit 4c6050c

Please sign in to comment.