CAMELS-NZ¶
Overview¶
CAMELS-NZ is the New Zealand hydrological dataset implementation. New Zealand CAMELS dataset covering diverse climates from subtropical to alpine.
Dataset Information¶
- Region: New Zealand
- Module:
hydrodataset.camels_nz - Class:
CamelsNz
Features¶
Static Attributes¶
Static catchment attributes include: - Basin area - Mean precipitation - Topographic characteristics - Land cover information - Soil properties - Climate indices
Dynamic Variables¶
Timeseries variables available (varies by dataset): - Streamflow - Precipitation - Temperature (min, max, mean) - Potential evapotranspiration - Solar radiation - And more...
Usage¶
Basic Usage¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | |
Reading Specific Variables¶
1 2 3 4 5 6 7 8 9 10 11 12 | |
Data Sources¶
The dataset supports multiple data sources for certain variables. Check the class documentation for available sources and use tuple notation to specify:
1 2 3 4 5 6 7 8 9 | |
API Reference¶
hydrodataset.camels_nz.CamelsNz
¶
Bases: HydroDataset
CAMELS_NZ dataset class.
This class uses a custom data reading implementation to support a newer dataset version than the one supported by the underlying aquafetch library. It overrides the download URLs and provides its own parsing and caching logic.
The dataset supports both hourly ('H') and daily ('D') timesteps.
Attributes:
| Name | Type | Description |
|---|---|---|
region |
Geographic region identifier |
|
download |
Whether to download data automatically |
|
timestep |
Time step for the data ('H' for hourly, 'D' for daily) |
Source code in hydrodataset/camels_nz.py
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 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | |
default_t_range
property
¶
__init__(data_path, region=None, download=False, timestep='H')
¶
Initialize CAMELS_NZ dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data_path
|
str
|
Path to the CAMELS_NZ data directory |
required |
region
|
Optional[str]
|
Geographic region identifier (optional) |
None
|
download
|
bool
|
Whether to download data automatically (default: False) |
False
|
timestep
|
str
|
Time step for the data ('H' for hourly, 'D' for daily, default: 'H') |
'H'
|
Source code in hydrodataset/camels_nz.py
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | |