Produce Cloud Optimized GeoTIFFs everywhere

This commit is contained in:
heyarne 2021-03-18 13:21:17 +01:00
commit b988f0d678
3 changed files with 3 additions and 3 deletions

View file

@ -644,7 +644,7 @@
" # use the transformation matrix of the intersection (the origin changed)\n",
" 'transform': blue.window_transform(out_window),\n",
"\n",
" 'driver': 'GTiff', # save as geotiff\n",
" 'driver': 'COG', # save as geotiff\n",
" 'dtype': np.uint8 # using integers instead of floats\n",
" })\n",
"\n",

View file

@ -83,7 +83,7 @@
" out_meta.update({\n",
" 'width': window.width,\n",
" 'height': window.height,\n",
" 'driver': 'GTiff',\n",
" 'driver': 'COG',\n",
" 'dtype': 'float32',\n",
" 'nodata': -999\n",
" }) \n",

View file

@ -588,7 +588,7 @@
" \n",
" out_meta.update({\n",
" 'count': 1,\n",
" 'driver': 'GTiff',\n",
" 'driver': 'COG',\n",
" 'dtype': 'float32'\n",
" })\n",
" \n",