Skip to content

Cannot access January/February data #5

@baiottoe

Description

@baiottoe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions