runtraj.models.hysplit.HysplitModel.check_met#

HysplitModel.check_met(met, releases, n_hours)[source]#

Return what would stop HYSPLIT from running releases with 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:
  • met (MetConfig) – The met, with an absolute directory in a project.

  • 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