daily timestep

109 views
Skip to first unread message

Fredrick Mashingia

unread,
Nov 2, 2014, 2:32:07 AM11/2/14
to she...@googlegroups.com, Fredrick Mashingia
Dear users,

I have quickly set GUI shetran for my study catchment (appx. 700 sq. km). I have daily data: rainfall, pet and discharge. I did set rainfall timep to 24 hr but model estimated discharge is in hourly timestep, how can I change to daily?

thanks

Fredrick

Steve Birkinshaw

unread,
Nov 3, 2014, 5:48:38 AM11/3/14
to she...@googlegroups.com, fmash...@gmail.com
Dear Fredrick,

I am afraid there is no easy way to do this. The next version of the GUI will have an option to specify the time step of the discharge so it will be easy to compare the daily measured discharge with the daily simulated discharge. The problem is I never have time to do this.

Within the GUI the best way to get round this problem is to repeat every value in the measured discharge file 24 times. If you can write some code this is easy to do, if you are struggling I can do it for you. Let me know.

The other option is to average the hourly simulated discharge over each 24 hour period. This can be done in a variety of ways, i have recently done it in Excel using a pivot table. Again I can supply you with an Excel workbook that does this.

Regards,
Steve

ale...@gmail.com

unread,
Nov 14, 2018, 8:24:19 PM11/14/18
to Shetran
HI.
I have kind of the opposite problem. I have hourly rainfall. But sediment discharge rate is daily...and basically everything in the h5 output is.  I need it to be hourly... is there a way to do that?

Steve Birkinshaw

unread,
Nov 15, 2018, 8:07:09 AM11/15/18
to Shetran
Hi,
To change the output in the HDF file to hourly is quite simple. At the end of the visulisation_plan file there are some lines such as these:

times                                                                          
9 1 !number and no. of entries                                                 
24 876000 !every 24 hour for 10 years 

If you change the value of 24 to 1 and run Shetran again you will get the results you need in the h5 file.

I also have a version of the executable that produces sediment discharge as a text file. If you send me a PM I can send it to you.

Regards,
Steve
Reply all
Reply to author
Forward
0 new messages