I adapted the Raven tutorial files for HBV for multiple catchments in Switzerland. Forcings are read from netCDF files. When trying to run Raven.exe, it will give an error for some catchments:
Code: Select all
============================================================
RAVEN
a robust semi-distributed hydrological modelling framework
Copyright 2008-2023, the Raven Development Team
Version 3.7 w/ netCDF
BuildDate Aug 7 2023
============================================================
Generating Master Parameter List...
Autocalculating Model Parameters...
...done Autocalculating.
Checking for Required Model Parameters...
...Done Checking
...model input successfully parsed
======================================================
Initializing Model...
Generating Gauge Interpolation Weights...
Calculating basin & watershed areas...
Calculating routing network topology...
Initializing Basins, calculating watershed area, setting initial flow conditions...
Calculating initial system water storage...
==MODEL SUMMARY=======================================
Model Run: CH-0053_HBV
rvi filename: CH-0053_HBV.rvi
Output Directory: output/
# SubBasins: 1 (0 reservoirs) (0 disabled)
# HRUs: 33 (0 disabled)
# Gauges: 1
#State Variables: 15
- Surface Water (SURFACE_WATER)
- Cum. Losses to Atmosphere (ATMOSPHERE)
- Cum. Precipitation (ATMOS_PRECIP)
- Ponded Water (PONDED_WATER)
- Runoff (RUNOFF)
- Soil Water[0] (SOIL[0])
- Soil Water[1] (SOIL[1])
- Soil Water[2] (SOIL[2])
- Snow Melt (Liquid) (SNOW_LIQ)
- Snow (SNOW)
- Canopy (CANOPY)
- Actual Evapotranspiration (AET)
- Canopy Snow (CANOPY_SNOW)
- Glacier Liquid Storage (GLACIER)
- Glacier Ice (GLACIER_ICE)
# Processes: 17
- Snow Refreeze
- Precipitation
- Canopy Evaporation
- Canopy Snow Sublimation
- Snow Melt & Refreeze
- Overflow
- Flush
- Glacier Melt
- Glacier Release
- Infiltration
- Flush
- Soil Evaporation
- Capillary Rise
- Lake Evaporation
- Percolation
- Baseflow
- Baseflow
#Connections: 33
#Lat.Connections: 0
Duration: 14610 d
Time step: 1 d (1440 min)
Watershed Area: 1518.49 km2 (simulated) of 1518.49 km2
======================================================
*******************************************************
WARNING: Warnings have been issued while parsing data.
See Raven_errors.txt for details
*******************************************************
======================================================
Simulation Start...
1981-01-01
1981-02-01
1981-03-01
1981-04-01
1981-05-01
1981-06-01
1981-07-01
1981-08-01
1981-09-01
1981-10-01
1981-11-01
1981-12-01
============== Exiting Gracefully ==========================
Exiting Gracefully: Variable "" not found in NetCDF file data_obs/TabsD_v2.0_swiss.lv95/out/TabsD_v2.0_swiss.lv95_198101010000_202012310000_CH-0053_clipped.nc
Error Type: Bad input data
============================================================
This error occurs with Raven 3.5 and 3.7. Additionally, emulation of GR4J, HMETS, HYMOD and MOHYSE did not produce this error, using the same forcing files.
I would be grateful for any ideas.
Cheers, Peter