Category Archives: Ecohydrology and Agroclimatology

Unraveling the HRU water balance in SWAT (III)

End of the story (this continues the previous post). I read one year of data for one HRU from the output.hru in R (), and I applied the water balance equation described in the linked posts. This is basically the following: So, applying the previous equations I got: As it can be seen, the mass […]

Unraveling the HRU water balance in SWAT (II)

In a previous post I dug into the SWAT code for determining how was the water balance computed at the HRU level. This is done at the daily level in the code, but values in the output.hru file are usually given by months. The next question is how to compute a monthly water balance for […]

Unraveling the HRU water balance in SWAT (I)

There is surprisingly very few information about how to compute the water balance at the hydrologic response unit (HRU) level with the Soil and Water Assessment Tool (SWAT) model. The SWAT theoretical manual does a good job in explaining the different concepts of the hydrological simulation performed in the model, and the SWAT input/output manual […]

Reading SWAT output.hru files in R

The output.hru file is one of the most important output files of the SWAT (Soil and Water Assessment Tool) simulation model. It contains daily or monthly (depending on how you configured your simulation) time series of about 70 variables that are computed within the HRUs (hydrologic response units) of your simulation. The HRUs are the […]