Skip to content

Download isd-history on demand or if >1month since last download #120

@adamhsparks

Description

@adamhsparks

{GSODR} depends on the isd-history.txt file to know what stations are available and for what years, etc. Currently it's bundled in each release with https://github.com/ropensci/GSODR/blob/main/data-raw/fetch_isd-history.md

But, pygsod uses a timed method, which I've considered and think makes sense. It downloads if it i) doesn't exist on your system or ii) has been more than a month since the file was created.

Using R's caching abilities, this should be easily achievable and would simplify maintenance of this package.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions