energy_data_retrieval.sources.canary_clim.client#
Acquire the public, CC0 CHELSACanaryClim 1979-2013 climatology.
- class energy_data_retrieval.sources.canary_clim.client.CanaryClimClient(http)[source]#
Bases:
objectDownload individual COGs with the shared bounded, checksummed transport.
Configure a response limit of 160 MB for the present monthly files. The 2025 COGs encode temperature in 0.1 K and precipitation in 0.1 mm/month; readers must apply the embedded scale/offset after masking raw nodata. File pixel spacing must not be confused with validated climate resolution.
- Parameters:
http (HTTPClient)
- download_month(directory, variable, month, *, expected_sha256=None)[source]#
- Parameters:
directory (Path)
variable (Literal['tas', 'pr'])
month (int)
expected_sha256 (str | None)
- Return type:
tuple[Path, RequestRecord]