Giter VIP home page Giter VIP logo

cdo-api-py's People

Contributors

jwely avatar remram44 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cdo-api-py's Issues

Cannot access January/February data

Using the suggested my_client.get_data_by_station() method, data is only pulled for Feb 28-Dec 31 of any given calendar year, even if entire year was specified with startdate and endnote.

Using an alternative method with requests, I am able to access all data (see below), but this has more limited capabilities.
resp = requests.get(f"https://www.ncei.noaa.gov/access/services/data/v1?dataset=daily-summaries&dataTypes={datatypeid}&stations={stationid}&startDate={start_date}&endDate={end_date}&units=standard", headers={"Token": token})

The library does not support python 2

From readme, I thought the library supports python 2 and 3. But after I installed the library under python 2.7, I found 'from cdo_api_py import Client' produced a lot of errors related to python 2, e.g., 'yield from' and 'join([..., *args]).

It would be great if you can kindly modify the code to support python 2. Otherwise, change readme to inform potential users of this characteristic. it would save people a lot of time, in my opinion.

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.