Skip to content

Commit

Permalink
logger update 2
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisElless-NOAA committed Feb 14, 2025
1 parent d93db35 commit cde3586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ush/python/pygfs/task/snow_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def prepare_IMS(self) -> None:

asc_file = os.path.join(localconf.COMIN_OBS, f"{localconf.OPREFIX}imssnow96.asc")
if not os.path.isfile(asc_file):
logger.warn(f"WARNING: Obs files are missing. Will not execute CALCFIMSEXE")
logger.warning(f"WARNING: Obs files are missing. Will not execute CALCFIMSEXE")
return

# copy the IMS obs files from COMIN_OBS to DATA/obs
Expand Down
2 changes: 1 addition & 1 deletion ush/python/pygfs/task/snowens_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def prepare_IMS(self) -> None:

asc_file = os.path.join(localconf.COMIN_OBS, f"{localconf.OPREFIX}imssnow96.asc")
if not os.path.isfile(asc_file):
logger.warn(f"WARNING: Obs files are missing. Will not execute CALCFIMSEXE")
logger.warning(f"WARNING: Obs files are missing. Will not execute CALCFIMSEXE")
return

# copy the IMS obs files from COMIN_OBS to DATA/obs
Expand Down

0 comments on commit cde3586

Please sign in to comment.