diff --git a/ush/python/pygfs/task/aero_emissions.py b/ush/python/pygfs/task/aero_emissions.py index 93de61d0ca0..859fbe0e291 100644 --- a/ush/python/pygfs/task/aero_emissions.py +++ b/ush/python/pygfs/task/aero_emissions.py @@ -185,7 +185,7 @@ def open_qfed(files: List[str], out_var_dict: Dict[str, str] = None) -> xr.Datas da.name = out_var_dict[input_var] dset_dict[da.name] = da except Exception as e: - logger.exception(f"Unable to read dataset: {f}") + logger.exception(f"FATAL ERROR: Unable to read dataset: {f}") raise Exception("FATAL ERROR: Unable to read dataset, ABORT!") from e dset = xr.Dataset(dset_dict) @@ -217,7 +217,7 @@ def open_climatology(files: List[str]) -> xr.Dataset: with xr.open_dataset(f, engine="netcdf4") as da: das.append(da) except Exception as e: - logger.exception(f"Encountered an error reading climatology file: {f}") + logger.exception(f"FATAL ERROR: Encountered an error reading climatology file: {f}") raise Exception("FATAL ERROR: Unable to read file, ABORT!") from e return xr.concat(das, dim="time") @@ -253,7 +253,7 @@ def write_ncf(dset: xr.Dataset, outfile: str) -> None: try: dset.load().to_netcdf(outfile, encoding=encoding) except Exception as e: - logger.exception("Encountered an error writing dataset") + logger.exception("FATAL ERROR: Encountered an error writing dataset") raise Exception("FATAL ERROR: Unable to write dataset, ABORT!") from e @staticmethod