stilt.transport.hysplit.Met.fetch#
- Met.fetch(windows)[source]#
Get the met files that cover every one of windows, downloading any a download lacks.
Each window is asked for as
files_for()is when a run needs it, so the files are the ones those runs would use. Windows that overlap are asked for together, one request to the archive for a stretch of runs; when that fails, each of its windows is asked for on its own, so a failure names only the windows it belongs to. A met withoutdownloadis only checked: its files are looked for, never made. Only a file that is not there is a failure to report. Any other error stops the fetch and is raised, whether a retry may get past it (a busy archive, a connection that failed) or not (a denied request, a full disk), so thatstilt fetchcan exit with 3 or 4.