easysnowdata.providers.raster_http.fetch#
- easysnowdata.providers.raster_http.fetch(url: str, fname: str | None = None, *, subdir: str | None = None, known_hash: str | None = None, progressbar: bool = True) Path[source]#
Download url once into the cache with a plain GET and return the local path.
For static archives whose hosts reject range requests or the HEAD request GDAL’s
/vsicurlsends first (GRDC).EASYSNOWDATA_CACHE_DIRmoves the cache root.