stilt.transport.hysplit.HysplitModel.check_met#

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

Return what would stop HYSPLIT from running receptors with met, found before any run.

The checks of Met.check_receptors(): the met’s directory holds ARL files, every file a run needs is there, and the receptors are inside the crop. Nothing is run, opened past the first file’s header, or downloaded.

Parameters:
  • met (MetConfig) – The met, with an absolute directory in a project.

  • receptors (DataFrame) – One row per release point, with receptor, time, longitude, and latitude columns.

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

Returns:

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

Return type:

DataFrame