General Questions in Raven

Ask questions or report problems
Symona
Posts: 21
Joined: Wed Jan 18, 2017 9:59 am

Re: General Questions in Raven

Postby Symona » Fri Nov 10, 2017 5:26 am

Konhee Lee wrote:I think you can put whatever number and it would not have an effect the process (given you aren't using other VIC processes). Let me know if having random values of the three terms messes things up.


Regarding this issue it seems that the soil properties VIC_ALPHA, VIC_ZMAX and VIC_ZMIN do not play a significant role as long as I do not set them zero. However there seems to be some connection because setting them 0 messes things up. Could someone please look at the connection a little closer?

Thanks a lot!

Konhee Lee
Posts: 10
Joined: Thu Jun 22, 2017 1:35 pm

Re: General Questions in Raven

Postby Konhee Lee » Wed Nov 15, 2017 12:16 am

Hi Symona,

That's now in our to do list for next update.
Hopefully it gets fixed by the next release.

Regards,
Konhee

Symona
Posts: 21
Joined: Wed Jan 18, 2017 9:59 am

Re: General Questions in Raven

Postby Symona » Wed Nov 15, 2017 3:23 am

Okay, thanks for looking into it.

ephilip
Posts: 48
Joined: Sun Jun 25, 2017 8:37 pm

RavenR

Postby ephilip » Thu Nov 16, 2017 12:26 pm

Hi Rob,
While trying to plot using RavenR, I am getting following syntax error. Please help.

> annual.peak.error(sim,obs)
Error in data.frame(date.end = (lubridate::date(x)[ep])[2:length(ep)], :
arguments imply differing number of rows: 48, 50

Thank you
Elizabeth

rchlumsk
Posts: 156
Joined: Fri Sep 16, 2016 3:18 pm

Re: General Questions in Raven

Postby rchlumsk » Thu Nov 16, 2017 2:22 pm

Hi Elizabeth

Which version are you using? There is the zipped package available to download from the Raven website and the Github version.

Thanks,
Rob
Robert Chlumsky
rchlumsk@uwaterloo.ca

ephilip
Posts: 48
Joined: Sun Jun 25, 2017 8:37 pm

Re: General Questions in Raven

Postby ephilip » Thu Nov 16, 2017 2:33 pm

rchlumsk wrote:Hi Elizabeth

Which version are you using? There is the zipped package available to download from the Raven website and the Github version.

Thanks,
Rob


I am using the RavenR Version: 1.0.2 and R Version 3.4.2.

rchlumsk
Posts: 156
Joined: Fri Sep 16, 2016 3:18 pm

Re: General Questions in Raven

Postby rchlumsk » Fri Nov 17, 2017 12:21 am

Hi Elizabeth

There is a new version of RavenR up on Github now with the bugs fixed, you can install directly for v1.0.4 from source tarball (https://github.com/rchlumsk/RavenR/tree/master/tarballs) or install the latest version directly from Github in R,

Code: Select all

library(devtools)
install_github("rchlumsk/RavenR")

Hope that helps! Please let me know via posts if you have any other RavenR issues.
Rob
Robert Chlumsky
rchlumsk@uwaterloo.ca

ephilip
Posts: 48
Joined: Sun Jun 25, 2017 8:37 pm

Re: General Questions in Raven

Postby ephilip » Fri Nov 17, 2017 9:24 am

rchlumsk wrote:Hi Elizabeth

There is a new version of RavenR up on Github now with the bugs fixed, you can install directly for v1.0.4 from source tarball (https://github.com/rchlumsk/RavenR/tree/master/tarballs) or install the latest version directly from Github in R,

Code: Select all

library(devtools)
install_github("rchlumsk/RavenR")

Hope that helps! Please let me know via posts if you have any other RavenR issues.
Rob


Hi Rob,

Thank you for the help. It is working.

Now I am having errors on:

annual.peak.event(sim,obs,add.r2=F)
Error in as.POSIXlt.numeric(zoo::index(x)) : 'origin' must be supplied

annual.peak.event.error(sim,obs)
Error in as.POSIXlt.numeric(zoo::index(x)) : 'origin' must be supplied

annual.peak.timing.error(sim,obs)
Error in as.POSIXlt.numeric(zoo::index(x)) : 'origin' must be supplied

flowdurcurve.plot(myhyd$sim, prd='1999-10-01/2007-09-30',seasonal=F)
Error in as.POSIXlt.default(x, tz = tz(x)) :
do not know how to convert 'x' to class “POSIXlt”

Your help is highly appreciated

Thank you
Elizabeth

rchlumsk
Posts: 156
Joined: Fri Sep 16, 2016 3:18 pm

Re: General Questions in Raven

Postby rchlumsk » Fri Nov 17, 2017 10:24 am

Hi Elizabeth

This looks like a time series formatting error in the input data. Can you confirm that the sim and obs that you are supplying are being read in from file using the hyd.read function OR are formatted using the xts package? If within R, you use

Code: Select all

class(sim)


it should show up as class xts. If not then please format your data using the xts package. Here is a link as an example of formatting something into an xts format if needed. https://stackoverflow.com/questions/47143447/r-list-of-time-series-dates-need-to-break-out-in-order-to-perform-arima-style/47144634#47144634

Cheers,
Rob
Robert Chlumsky
rchlumsk@uwaterloo.ca

ephilip
Posts: 48
Joined: Sun Jun 25, 2017 8:37 pm

Re: General Questions in Raven

Postby ephilip » Fri Nov 17, 2017 11:49 am

rchlumsk wrote:Hi Elizabeth

This looks like a time series formatting error in the input data. Can you confirm that the sim and obs that you are supplying are being read in from file using the hyd.read function OR are formatted using the xts package? If within R, you use

Code: Select all

class(sim)


it should show up as class xts. If not then please format your data using the xts package. Here is a link as an example of formatting something into an xts format if needed. https://stackoverflow.com/questions/47143447/r-list-of-time-series-dates-need-to-break-out-in-order-to-perform-arima-style/47144634#47144634

Cheers,
Rob


Hi Rob,

class(sim)
[1] "xts" "zoo"

yes, simulated from hyd.read function

hy<-hyd.read("run1_Hydrographs.csv")

Thank you
Elizabeth


Return to “Help & Support”