Skip to content

Commit d8a8c7e

Browse files
Update 08-read-write-plot.Rmd
1 parent 5de2b24 commit d8a8c7e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

08-read-write-plot.Rmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ multilayer_rast = rast(multilayer_filepath)
292292
All of the previous examples read spatial information from files stored on your hard drive.
293293
However, GDAL also allows reading data directly from online resources, such as HTTP/HTTPS/FTP web resources.
294294
The only thing we need to do is to add a `/vsicurl/` prefix before the path to the file.
295+
Let's try it by connecting to the global monthly snow probability at 500-m resolution for the period 2000-2012.
296+
Snow probability for December is stored as a Cloud Optimized GeoTIFF (COG) file (see Section \@ref(file-formats)) at [zenodo.org](https://zenodo.org/record/5774954/files/clm_snow.prob_esacci.dec_p.90_500m_s0..0cm_2000..2012_v2.0.tif).
295297
Let's try it by connecting to a remote GeoTIFF hosted by [OSGeo](https://download.osgeo.org/geotiff/samples/usgs/o41078a5.tif).
296298
This sample file is available online as a GeoTIFF (see Section \@ref(file-formats)).
297299
To read an online file, we just need to provide its URL together with the `/vsicurl/` prefix.

0 commit comments

Comments
 (0)