stilt.transport.hysplit.Met.check_receptors#
- Met.check_receptors(receptors, n_hours)[source]#
Return what would stop runs of receptors before HYSPLIT starts, found without running.
The file check that
files_for()makes for each run, made for every receptor at once: the met’sdirectoryexists and holds an ARL file, and every file a run needs is there. With the crop on, a receptor outsidesubgrid_boundsis listed too, since HYSPLIT cannot start a particle outside the files. A met withdownloadhas no files to look for before a run, so only its crop is checked. This looks for files, not inside them, except that it opens the first file the receptors need to count its time periods, which HYSPLIT needs to be at least two, and reads the spacing of the met steps from the file of a run’s end, asfiles_for()does.check()opens each file at a run, and a run that passes this one can still fail asMET_COVERAGEwhen a file is damaged or cut short.- Parameters:
- Returns:
One row for each thing found, with
check(met_directory,met_files,met_periods, ormet_crop),receptor(NAwhen the finding is about the met), andmessagecolumns. Empty when nothing would stop a run.- Return type: