-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Herbie can't find old GFS data older than 2021-1-1? #355
Comments
I seem to recall this being related to a major update to GFS in early 2021 that changed the file names and structures, or something like that, and it isn’t accounted for in Herbie. But I can’t find and notes to confirm that, so don’t take this as definitive. You could use GEFS - not the same as GFS, but similar. |
Hmm, thanks for bringing this to my attention. Looks like the model temple needs to be updated to look for older-style filename. I admit I haven't spent much time sorting out all the bugs for the GFS template. |
@blaylockbk Is there a certain section of the code that this corresponds to? I'm new to Herbie but I can see if I can find a new way to work in a model template for older GFS data if I have an example. |
@williamhobbs @blaylockbk The same behavior happens with the the GEFS on the boundary of 2020-09-22 and 2020-09-23. Ideally I would find coverage for 2019 but a change accounting for 2019 might also cover years prior as well. |
@vwgeiser Apologies, I didn't realize that GEFS had a similar issue. Maybe you could try the GEFS Reforecast with Regarding the code for the GFS template, I think this is what you are looking for: https://github.com/blaylockbk/Herbie/blob/main/herbie/models/gfs.py. |
Ah yes, that is what I was looking for! Some older GFS data could potentially be accessed from the threads server or through ncei itself? Although, as opposed to the analysis files, forecast files are far from comprehensive: Also see #325 potentially? |
Since I'm not sure how I would add in a new data source for GFS yet I'll work on getting the GEFS through 2017 up and working. looks like the older GEFS data follow a slightly different file structure, but the data is still on AWS so that is a plus. The best way to do this is probably just an Hmm, on 2020-09-23 AWS started the current file structure. Before that AWS GEFS only has members 0-20 :/ without the spread or average members. On 2018-07-27 they began breaking it up into pgrb2a\ and pgrb2b\ too. The files before that threshold are not split up and will need to have a separate Herbie representation too. |
My first try implementation is below, however it does not work, is there anything else I need to update besides filepaths? It should be the same AWS source at least?
|
Following #358's format for a date check the new code would be:
|
Hi @vwgeiser. You noticed that I started looking into updating the GFS template.
This is correct,
|
The above is an attempt to update the GEFS template because the data exists on AWS but follows a slightly different file structure. with the above edits it still is unable to find data prior to 2020-09-23, which marks the start of the most current GEFS file structure. It potentially belongs in a separate issue? Although I've been following along with updating the GFS template as well. |
Closed by #358 |
Not sure if this is a known issue but it seems Herbie can't find GFS data older than 2021-01-01?
✅ Found ┊ model=gfs ┊ product=pgrb2.0p25 ┊ 2021-Jan-01 00:00 UTC F00 ┊ GRIB2 @ aws-old ┊ IDX @ aws-old
💔 Did not find ┊ model=gfs ┊ product=pgrb2.0p25 ┊ 2020-Dec-31 00:00 UTC F00
I've tried a few more cases and dates but they all follow the same pattern.
Is there a known reason for this? Or are there other resources I should use if I need GFS forecasts data older than 2021?
The text was updated successfully, but these errors were encountered: