CAMELS-PE¶
Overview¶
CAMELS-PE is the Peru hydrological dataset implementation, providing CAMELS-style daily hydrometeorological time series and catchment attributes for 136 catchments in Peru (Llauca et al., 2026).
Dataset Information¶
- Region: Peru
- Module:
hydrodataset.camels_pe - Class:
CamelsPe - Backend:
aqua_fetch.CAMELS_PE(available since aqua-fetch 1.1.0) - Download source: Zenodo 21195425 (~121 MB)
Features¶
Static Attributes¶
Static catchment attributes include: - Basin area - Mean precipitation - Topographic characteristics - Land cover information - Soil properties - Geological and human-intervention attributes - Gauge metadata (name, region, record period)
Dynamic Variables¶
Timeseries variables available: - Streamflow (observed) - Precipitation - Temperature (min, max, mean) - Potential evapotranspiration - Solar radiation - Vapor pressure
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_pe.CamelsPe
¶
Bases: HydroDataset
CAMELS-PE dataset reader.
Thin wrapper over the aqua_fetch CAMELS_PE class (available since
aqua-fetch 1.1.0). Data is downloaded/extracted by aqua_fetch to
{root}/CAMELS_PE/CAMELS-PE_v1.0.1/CAMELS-PE/... and cached locally as
camels_pe_attributes.nc / camels_pe_timeseries.nc via the base
HydroDataset cache methods.
Cloud (S3/zarr) support is handled by the base class cache_*_to_zarr.
Source code in hydrodataset/camels_pe.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 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 97 98 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 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 | |
default_t_range
property
¶
__init__(uri, region=None, download=False)
¶
Source code in hydrodataset/camels_pe.py
23 24 25 26 27 28 29 30 | |
read_object_ids()
¶
Read station IDs.
Local: delegate to the aqua_fetch wrapper's stations(). Cloud (S3):
read stations.csv from the metadata dir directly (no aqua_fetch).
Source code in hydrodataset/camels_pe.py
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | |
read_constant_cols(object_ids=None, constant_cols=None, gage_id_lst=None, var_lst=None, **kwargs)
¶
Source code in hydrodataset/camels_pe.py
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
read_relevant_cols(object_ids=None, t_range_list=None, relevant_cols=None, gage_id_lst=None, t_range=None, var_lst=None, forcing_type=None, **kwargs)
¶
Source code in hydrodataset/camels_pe.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |
read_target_cols(object_ids=None, t_range_list=None, target_cols=None, gage_id_lst=None, t_range=None, **kwargs)
¶
Source code in hydrodataset/camels_pe.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |