Water Level Time Series from Hypsometry
Download as ASCII
# Import package
from dahitiapi.DAHITI import DAHITI
# Initialize DAHITI Class
dahiti = DAHITI()
# Select DAHITI target by DAHITI id
dahiti_id = 10146
# Download Water Level Time Series from Hypsometry in ASCII format
response = dahiti.download_water_level_hypsometry_ascii(dahiti_id)
# Download Water Level Time Series from Hypsometry in ASCII format and write response to file
response = dahiti.download_water_level_hypsometry_ascii_to_file(dahiti_id,'/tmp/10146_wseh.txt')
Output of ASCII response:
1989-06-10 00:00:00 189.497 0.592
1989-07-28 00:00:00 190.245 0.146
...
2019-03-17 00:00:00 192.675 0.219
2019-03-25 00:00:00 192.452 0.193
Download as JSON
# Import package
from dahitiapi.DAHITI import DAHITI
# Initialize DAHITI Class
dahiti = DAHITI()
# Select DAHITI target by DAHITI id
dahiti_id = 10146
# Download Water Level Time Series from Hypsometry in JSON format
response = dahiti.download_water_level_hypsometry_json(dahiti_id)
# Download Water Level Time Series from Hypsometry in JSON format and write response to file
response = dahiti.download_water_level_hypsometry_json_to_file(dahiti_id,'/tmp/10146_wseh.json')
Output of JSON response:
[
{'datetime': '1989-06-10 00:00:00', 'wse': 189.497, 'wse_u': 0.592},
{'datetime': '1989-07-28 00:00:00', 'wse': 190.245, 'wse_u': 0.146},
...
{'datetime': '2019-03-17 00:00:00', 'wse': 192.675, 'wse_u': 0.219},
{'datetime': '2019-03-25 00:00:00', 'wse': 192.452, 'wse_u': 0.193}
]
Download as CSV
# Import package
from dahitiapi.DAHITI import DAHITI
# Initialize DAHITI Class
dahiti = DAHITI()
# Select DAHITI target by DAHITI id
dahiti_id = 10146
# Download Water Level Time Series from Hypsometry in CSV format
response = dahiti.download_water_level_hypsometry_csv(dahiti_id)
# Download Water Level Time Series from Hypsometry in CSV format and write response to file
response = dahiti.download_water_level_hypsometry_csv_to_file(dahiti_id,'/tmp/10146_wseh.csv')
Output of CSV response:
datetime;wse;wse_u
1989-06-10 00:00:00;189.497;0.592
1989-07-28 00:00:00;190.245;0.146
...
2019-03-17 00:00:00;192.675;0.219
2019-03-25 00:00:00;192.452;0.193
Download as NetCDF
# Import package
from dahitiapi.DAHITI import DAHITI
# Initialize DAHITI Class
dahiti = DAHITI()
# Select DAHITI target by DAHITI id
dahiti_id = 10146
# Download Water Level Time Series from Hypsometry in NetCDF format and write to file
response = dahiti.download_water_level_hypsometry_netcdf_to_file(dahiti_id,'/tmp/10146_wseh.nc')
Content of NetCDF file:
netcdf \10146_wseh {
dimensions:
time = 543 ;
variables:
string date(time) ;
date:standard_name = "UTC Date (YYYY-MM-DD HH:MM:SS)" ;
date:valid_min = "1989-06-10 00:00:00" ;
date:valid_max = "2019-03-25 00:00:00" ;
float wseh(time) ;
wseh:standard_name = "Water level derived from hypsometry" ;
wseh:unit = "m" ;
wseh:valid_min = 189.14929 ;
wseh:valid_max = 195.12664 ;
float wseh_u(time) ;
wseh_u:standard_name = "Water level from hypsometry uncertainty" ;
wseh_u:unit = "m" ;
wseh_u:valid_min = 189.14929 ;
wseh_u:valid_max = 195.12664 ;
// global attributes:
:dahiti_id = "10146" ;
:dataset = "water-level-hypsometry" ;
:target_name = "Ray Roberts, Reservoir" ;
:location = "None" ;
:country = "United States of America" ;
:continent = "North America" ;
:longitude = -97.0557 ;
:latitude = 33.3615 ;
:software = "1.0" ;
:institution = "DGFI-TUM" ;
:source = "DAHITI" ;
:url = "https://dahiti.dgfi.tum.de/10146/" ;
:creation_date = "2025-10-24 11:04:52" ;
data:
date = "1989-06-10 00:00:00", "1989-07-28 00:00:00", "1989-08-29 00:00:00",
"1989-09-30 00:00:00", "1989-12-03 00:00:00", "1990-03-17 00:00:00",
...
"2019-03-09 00:00:00", "2019-03-17 00:00:00", "2019-03-25 00:00:00" ;
wseh = 189.4971, 190.245, 190.3029, 190.3029, 190.4665, 191.8967, 193.8435,
192.1487, 191.7023, 191.6866, 192.1341, 192.228, 192.2723, 192.7048,
...
192.6587, 192.5531, 192.675, 192.4516 ;
wseh_u = 189.4971, 190.245, 190.3029, 190.3029, 190.4665, 191.8967,
193.8435, 192.1487, 191.7023, 191.6866, 192.1341, 192.228, 192.2723,
...
192.6958, 192.6587, 192.5531, 192.675, 192.4516 ;
}
}