Giter VIP home page Giter VIP logo

rclimacell's People

Contributors

nikdata avatar

Watchers

 avatar  avatar  avatar

rclimacell's Issues

Climacell has changed name to Tomorrow.io

Climacell has changed its name to Tomorrow.io. Will need to update documentation to highlight this change.

NOTE: Package name will not change as it will affect CRAN (suggestions for alternatives welcome from community).

Potential bug in climacell_precip for sub-daily time steps

Thanks for the great library!
While everything else seemed to work fine, the climacell_precip function seems to return incorrect data points when used with sampling intervals of less than 1d. For example, when I use the following code:

climacell_precip(api_key = Sys.getenv("CLIMACELL_API"), lat = 41.878685, long = -87.636011, timestep = '1h', start_time = Sys.time(), end_time = Sys.time() + lubridate::days(3))

I get the following result:

_

A tibble: 5 x 13

start_time precipitation_i… precipitation_p… precipitation_t… precipitation_t…

1 2021-02-21 12:00:00 4.1 95 2 Snow
2 2021-02-22 12:00:00 0 0 1 Rain
3 2021-02-23 12:00:00 0 0 1 Rain
4 2021-02-24 12:00:00 0 0 2 Snow
5 2021-02-25 12:00:00 0 0 2 Snow

_

Which looks quite similar to what you would get if you used a timestep of 1d. Can you please take a look?

Many thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.