topography module¶
Access digital elevation models and topographic indices.
Currently supported datasets:
- Copernicus DEM (30 m / 90 m) via Microsoft Planetary Computer
- CHILI — Continuous Heat-Insolation Load Index via Google Earth Engine
get_chili(bbox_input=None, initialize_ee=True)
¶
Fetch CHILI (Continuous Heat-Insolation Load Index) for a bounding box.
CHILI is a topographic index quantifying the combined effect of solar radiation and surface temperature, derived from ALOS World 3D-30m (AW3D30). Values range 0–1: warm (> 0.767), neutral (0.448–0.767), cool (< 0.448).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
bbox_input
|
GeoDataFrame or tuple or geometry
|
Spatial extent. Defaults to global extent if |
None
|
initialize_ee
|
bool
|
Initialise Earth Engine before fetching. Default |
True
|
Returns:
| Type | Description |
|---|---|
DataArray
|
CHILI DataArray, min–max normalised to [0, 1]. |
Notes
Requires Google Earth Engine authentication. Run ee.Authenticate() and
ee.Initialize() once, or call easysnowdata.authenticate_all().
Data are only available between 70°N and 70°S.
Data citation: Theobald, D.M., Harrison-Atlas, D., Monahan, W.B., Albano, C.M. (2015). Ecologically-Relevant Maps of Landforms and Physiographic Diversity for Climate Adaptation Planning. PLoS ONE 10(12): e0143619. https://doi.org/10.1371/journal.pone.0143619
Source code in easysnowdata/topography.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | |
get_copernicus_dem(bbox_input=None, resolution=30)
¶
Fetch the Copernicus Global DEM for a bounding box.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
bbox_input
|
GeoDataFrame or tuple or geometry
|
Spatial extent. Tuple should be |
None
|
resolution
|
int
|
DEM resolution in metres. Either |
30
|
Returns:
| Type | Description |
|---|---|
DataArray
|
Elevation DataArray in metres (EPSG:4326). |
Raises:
| Type | Description |
|---|---|
ValueError
|
If resolution is not |
Notes
The Copernicus DEM is a Digital Surface Model (DSM) derived from the WorldDEM with additional editing applied to water bodies and coastlines.
Data citation: European Space Agency, Sinergise (2021). Copernicus Global Digital Elevation Model. Distributed by OpenTopography. https://doi.org/10.5069/G9028PQB
Source code in easysnowdata/topography.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |