Skip to content

Propose new function: download_vpts() #214

Description

@PietrH

Recently we needed to get a bunch of vpts files locally with some date filtering. I modified get_vpts() to help me do this.

I think it would be useful (to future me, and hopefully others) to have a dedicated exported function for this: download_vpts() that is called by get_vpts() internally.

I've already done a bit of work on this, but will need some time to polish and integrate into get_vpts().

The function would accept the following arguments:

  • radar
  • datetime
  • source
  • path

And would invisibly return the paths of the downloaded files. Alternatively, the directory path of where the files were stored. This path could then be fed to future calls of get_vpts() so files don't need to be downloaded again.

What do you think?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions