hafs-community / HAFS

Hurricane Analysis and Forecast System
Other
29 stars 54 forks source link

Improve HAFS scripts to use prep_step to unset FORTxx #241

Open BinLiu-NOAA opened 9 months ago

BinLiu-NOAA commented 9 months ago

Description

Provide a clear and concise description of the requested feature/capability. From NCO SPA: Improve the HAFS scripts to use prep_step to unset FORTxx at the next upgrade.

Refer to WCOSS implementation standards, page 7 -

Status (optional)

Do you (or a colleague) plan to work on adding this feature?

Related to (optional)

Directly reference any related issues or PRs in this or other repositories, and describe how they are related. Examples:

BinLiu-NOAA commented 4 months ago

According to the Implementation Standard, there are mainly two methods for Fortran programs to use FORT unit files. One is through the export FORTn variable, the other approach is through the symbolic link method. The following two items are adapted from the Implementation Standard:

In terms of the HAFS application/workflow, I believe we always use the second approach through symbolic links. And we do not export any FORTn variables, for which, my understanding is that prep_step utility is not required in this case.