function to record volumes
1  | 
node | 
 is a spatial object (creek node)  | 
n | 
 is an integer representing the number of years to accumulate  | 
vi | 
 is the volume input rate, a float  | 
vo | 
 is the volume output rate, a float  | 
return | 
 matrix of volumes and levels  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.