runtraj.models.hysplit.find_hycs_std#

runtraj.models.hysplit.find_hycs_std(directory=None)[source]#

Return the hycs_std a run uses: exec/hycs_std under directory, else the first on PATH.

runtraj does not include HYSPLIT, so the build is yours. directory is the HYSPLIT folder as unpacked (directory under models: hysplit: in config.yaml), which holds exec/ and bdyfiles/.

Raises:

HYSPLITNotFoundError – If directory has no exec/hycs_std, or its hycs_std is not executable; without directory, if no hycs_std is on PATH.

Return type:

Path

Parameters:

directory (str | Path | None)