solar
solar copied to clipboard
calcG0 fails with custom meteo object
If using function dfI2Meteo it leads to a zoo object of class character which fails in calcG0. coredata from meteoobject needs to be transformed to numeric.
in function fCompI need to change
G0 <- coredata(getG0(BD)) to
G0 <- as.numeric(coredata(getG0(BD)))
Please, could you provide a minimal reproducible example?
Hi Oscar, I have also been struggling with a custom meteo object. I put together this reproducible example https://stackoverflow.com/questions/69873240/incident-solar-irradiation-on-inclinded-plane-using-solar hope you can help. I have struggled to get the only examples https://www.jstatsoft.org/article/view/v050i09 I can find to work also. Can you confirm they still work? Many thanks for putting this together!
Hello, I have just answered your question. I think you have a problem with the timezone of the time series.
Can you confirm they still work?
Yes, sure, with the exception of the readSIAR
function (deprecated). Most of the examples in this paper are included in the help pages of the functions of the package. The check procedures show no problem with the package.