runtraj.models.flexpart.FlexpartMetConfig.source#

FlexpartMetConfig.source()[source]#

Return the weather model the files come from, era5, read from the first file once, and kept.

Raises:
  • FileNotFoundError – If directory holds no GRIB file that matches pattern.

  • ValueError – If the files are GFS (FLEXPART 11 derives its surface fluxes near zero), or are not ERA5.

Return type:

str