Jwely/cdo-api-py

Cannot access January/February data

Opened this issue · 0 comments

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})