runtraj.models.hysplit.HysplitMetConfig.check#

HysplitMetConfig.check(releases, n_hours)[source]#

Return what would stop HYSPLIT from running releases on this met, found before any run.

The checks of Met.check_releases(): the met’s directory holds ARL files, every file a run needs is there, and the releases are inside the crop. Nothing is run or downloaded, and files are read no further than their headers.

Parameters:
  • releases (DataFrame) – One row per release point, with release, time, longitude, and latitude columns.

  • n_hours (int) – The length of the runs, which sets the files each needs.

Returns:

check, release (NA for a problem of the met itself), and message columns, one row for each problem.

Return type:

DataFrame