Skip to content
Snippets Groups Projects
Commit b3e17c52 authored by Alan De Smet's avatar Alan De Smet
Browse files

GFS local filenames match aitf-mirror behavior

parent c559ce80
Branches
No related tags found
No related merge requests found
......@@ -55,15 +55,16 @@ SST = csppfetch.Downloader(
class GFSDownloader(csppfetch.Downloader):
def __init__(self):
filename = "gfs.t%Hz.%y%m%d.pgrb2f{priority}"
remote_filename = "gfs.t%Hz.%y%m%d.pgrb2f{priority}"
local_filename = "gfs.t%Hz.pgrb2f{priority}"
localdir = "%Y/%m/%d/"
super().__init__(
name="Global Forecast System",
package_env_id = PACKAGE_ENV_ID,
url_base = CSPP_GEO_AITF_URL_BASE,
url_relative = CSPP_GEO_AITF_URL_DIR_PART+filename,
local = localdir+filename,
url_relative = CSPP_GEO_AITF_URL_DIR_PART+remote_filename,
local = localdir+local_filename,
period = dt.timedelta(hours=6),
epoch_start = dt.datetime(2010,1,1,0,0,0)
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment