hydromodpy.data.variables.dem.apis.geoplateforme_download#

Geoplateforme download API helpers for DEM archives.

This module is intentionally provider-level plumbing. It discovers Atom entries, converts download entries to local file descriptors, and downloads files with conservative retry/rate-limit behavior. Product-specific DEM logic belongs in ign_dem_fr.py.

Functions

build_download_url(resource_name, ...)

Build a canonical Geoplateforme download URL.

download_file(file, destination, *[, ...])

Download one file, skipping non-empty files already available locally.

fetch_atom_entries(url[, params, session, ...])

Fetch all Atom entries from a paginated Geoplateforme endpoint.

find_resources(dataset[, filters, session, ...])

Find resource entries matching a dataset token such as BDALTI.

list_files(resource_name, subresource_name)

List downloadable files for one resource/subresource pair.

list_subresources(resource_name[, filters, ...])

List subresources for one Geoplateforme resource.

parse_atom_entries(xml_text)

Parse Atom entries from an XML text payload.

Classes

AtomEntry(title, identifier[, links, properties])

Small normalized representation of one Atom entry.

DiscoveryFilters([zone, file_format, crs, ...])

Filters forwarded to Geoplateforme discovery endpoints.

DownloadFile(resource_name, ...[, size, ...])

One downloadable archive or sidecar exposed by Geoplateforme.

RateLimiter([requests_per_second])

Simple process-local rate limiter.

Exceptions

GeoPlateformeDownloadError

Raised when Geoplateforme discovery or download fails.