energy_data_retrieval.sources.copernicus_dem.client#

Anonymous GLO-30 Public cloud-optimized GeoTIFFs; no GLO-90 fallback.

energy_data_retrieval.sources.copernicus_dem.client.tile_name(latitude, longitude)[source]#

Return the documented COG tile ID; 10 means 1 arcsecond, not 10 metres.

Parameters:
  • latitude (float)

  • longitude (float)

Return type:

str

class energy_data_retrieval.sources.copernicus_dem.client.CopernicusDEMClient(http)[source]#

Bases: object

Download original GLO-30 COGs, preserving grid, masks and datum.

GLO-30 Public is the AWS distribution, not a claim about the newest CDSE release. Ocean tiles and some restricted tiles are absent. Longitude spacing increases poleward; read the actual transform. Default downloads retain the complete native tile and can be reused through HTTP manifests.

Parameters:

http (HTTPClient)

available_tiles()[source]#

Retrieve the provider’s tileList.txt, with exact response provenance.

Return type:

TextResponse

download_tile(directory, *, latitude, longitude, expected_sha256=None)[source]#
Parameters:
  • directory (Path)

  • latitude (float)

  • longitude (float)

  • expected_sha256 (str | None)

Return type:

tuple[Path, RequestRecord]