Skip to content

GRID_STAT_SKIP_IF_OUTPUT_EXISTS not writing for all requested forecast hours #2095

Locked Answered by georgemccabe
malloryprow asked this question in File I/O
Discussion options

You must be logged in to vote

Hi @malloryprow,

Thank you for providing this information. The logic to check if the output files already exist currently use {self.app_name}_{prefix}*{valid_format}V* as the search string, which will find any files with the prefix for a given valid time. It sounds like the check should also include the forecast lead to prevent incorrect skipping in this case. I will create a bugfix issue.

Is this a fix that should be applied to METplus 5.0.2?

In the meantime, you should be able to get around this by adding the forecast lead to the GRID_STAT_OUTPUT_PREFIX`:

GRID_STAT_OUTPUT_PREFIX = pres_levs_GeoHeightAnom_f{lead?fmt=%H}

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@georgemccabe
Comment options

@malloryprow
Comment options

malloryprow Mar 21, 2023
Collaborator Author

Answer selected by georgemccabe
Comment options

malloryprow
Mar 21, 2023
Collaborator Author

You must be logged in to vote
5 replies
@georgemccabe
Comment options

@georgemccabe
Comment options

@LoganDawson-NOAA
Comment options

@robdarvell
Comment options

@georgemccabe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment