You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On every Wednesday, GEFS reforecast dataset has different ensemble size and forecast length, and URLs are slightly different from other dates.
I made a small change to corresponding functions, as below
classgefs_reforecast:
........
deftemplate(self):
self.DESCRIPTION="Global Ensemble Forecast System (GEFS)"self.DETAILS= {
"aws": "https://registry.opendata.aws/noaa-gefs-reforecast/",
}
self.PRODUCTS= {
"GEFSv12/reforecast": "reforecasts for 2000-2019",
}
ifself.date.weekday() ==2:
# GEFS reforecast has extended ensemble on every Wednesdaymax_member_size=10max_fxx="Days:10-35"else:
max_member_size=4max_fxx="Days:10-16"# Adjust "member" argument# - Member 0 is the control member# - Members 1-4 are the perturbation membersifself.member==0:
member=f"c{self.member:02d}"elifself.member>0andself.member<max_member_size:
member=f"p{self.member:02d}"else:
raiseValueError(f"GEFS 'member' must be within range of [0 - {max_member_size}].")
# Adjust "fxx" argument (given in hours)# This is used to define the directory to enter rather than the filename.ifself.fxx<=240:
fxx="Days:1-10"else:
fxx=max_fxx
However, I didn't test it thoroughly and I am not in a comfortable situation I could send a PR in. Could you kindly review and consider adopting this change?
Best,
The text was updated successfully, but these errors were encountered:
On every Wednesday, GEFS reforecast dataset has different ensemble size and forecast length, and URLs are slightly different from other dates.
I made a small change to corresponding functions, as below
This change at least satisfies this call
However, I didn't test it thoroughly and I am not in a comfortable situation I could send a PR in. Could you kindly review and consider adopting this change?
Best,
The text was updated successfully, but these errors were encountered: