runtraj.models.MetConfig.fetch#

MetConfig.fetch(windows)[source]#

Get the files runs of windows need before any starts, and return what was got; nothing here.

runtraj fetch calls it, with the time each run covers (runtraj.meteorology.run_window()). It gets the files a run of those windows would ask for, downloading what the met downloads, and returns a DataFrame with file and message columns: a row for each file, then a row for each window whose files could not be had.

Return type:

DataFrame

Parameters:

windows (Iterable[tuple[datetime, datetime]])