blaylockbk / Herbie

Download numerical weather prediction datasets (HRRR, RAP, GFS, IFS, etc.) from NOMADS, NODD partners (Amazon, Google, Microsoft), ECMWF open data, and the University of Utah Pando Archive System.
https://herbie.readthedocs.io/
MIT License
507 stars 75 forks source link

Specify custom local SOURCE #365

Open blaylockbk opened 2 months ago

blaylockbk commented 2 months ago

If I have local grib files (I downloaded some with rclone) I'd like to tell herbie those exist without a custom template. Instead, I'd like to define the path in the "priority" argument.

Herbie(date, 
    model='hrrr', 
    priority=[
        ('local_rclone', "/path/to/{self.model}..."), #<-- provide the template here
        'aws',  
        'nomads'
    ]