Replies: 1 comment
-
|
Hi @tsilas3 This is a great idea and one that would be beneficial to add to Herbie. I'll create a new issue (#215) to add this feature. It should be easy to make a flag Lines 444 to 445 in f48ba8c Just some notes to myself... It's not obvious how, but you can download your GRIB2 files locally, then use Lines 46 to 94 in f48ba8c
To use that you would do something like # Download a file locally
from herbie import Herbie
H = Herbie("2023-7-17", model="hrrr", fxx=3)
H.download()
# Then create inventory files for all locally downloaded models
from herbie.wgrib2 import _WGRIB2
_WGRIB2().create_inventory_file("/home/blaylock/data/hrrr/20230717", suffix=".grib2")This could be benefiicial for cases when there isn't an index file to download. Now, the problem is that Herbie doesn't currently know that it should look for the index files locally. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I know I can use
.download()with FastHerbie to download grib files themselves, but when creating a Herbie object for a given date/time/forecast hour, it still uses AWS to get the associated.idxfiles even if the grib files are available locally. Is there a way to download the.idxfiles in the same way? If I'm understanding correctly, this would mean I would be able to run Herbie code without an internet connection.Beta Was this translation helpful? Give feedback.
All reactions