Skip to content

Improve HAFS scripts to redirect stdout and stderr to files for executables #242

Closed
@BinLiu-NOAA

Description

@BinLiu-NOAA

Description

Provide a clear and concise description of the requested feature/capability.
From NCO SPA: Please look into to improve HAFS scripts to redirect stdout and stderr to files (pgmout and errfile, for example) for executables, except executables with minimum amount of output (100 lines or so) at next upgrade.

Per the WCOSS implementation standards, page 16 -
6. Any executions that print verbose output (more than 100 lines or so per execution) must redirect standard output and standard error to a file under $DATA, for example:
$EXECmodel/$pgm >> $pgmout 2> errfile

For example -
scripts/exhafs_atm_ic.sh
scripts/exhafs_atm_lbc.sh
scripts/exhafs_atm_prep.sh
scripts/exhafs_atm_vi.sh
ush/hafs_filter_topo.sh
ush/hafs_make_grid.sh
ush/hafs_make_orog.sh

Proposed solution

How should the new feature/capability be added? If you have thoughts on the implementation strategy, please share them here.

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:

  • fixed by hafs-community/hafs/pull/<pr_number>

Metadata

Metadata

Assignees

Labels

BugzillaOperational HAFS bugzilla itemsenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions