runtraj.models.hysplit.HysplitMetConfig.fetch#

HysplitMetConfig.fetch(windows)[source]#

Get the met files that cover windows, downloading the ones a download lacks.

The files a run would ask for, one request to the archive for windows that overlap (Met.fetch()). A met without download is only checked for missing files.

Parameters:

windows (Iterable[tuple[datetime, datetime]]) – The time each run covers (runtraj.meteorology.run_window()).

Returns:

file and message columns: a row for each file, then a row for each window whose files could not be had.

Return type:

DataFrame