Skip to content

METplus StatAnalysis Template Error #1328

Locked Answered by georgemccabe
lindsayrblank asked this question in Configuration
Discussion options

You must be logged in to vote

Hi @lindsayrblank , StatAnalysis wrapper is not like many of the other wrappers where you can freely switch between init and valid in the filename templates. If you set LOOP_BY = INIT, you can reference 'init' template tags but not 'valid' ones. The wrapper does not loop over the forecast leads and process once for each init/lead or valid/lead combination. It actually just runs once and passes in the lead list to the STATAnalysis config file. Because of this, there is no way to compute what the corresponding valid time "should" be when "looping" by INIT. Switching your filename template for the output file to reference init instead of valid should fix the issue:

STAT_ANALYSIS_OUT_STAT_TEM…

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
10 replies
@lindsayrblank
Comment options

@lindsayrblank
Comment options

@lindsayrblank
Comment options

@malloryprow
Comment options

@lindsayrblank
Comment options

Comment options

You must be logged in to vote
3 replies
@lindsayrblank
Comment options

@georgemccabe
Comment options

@lindsayrblank
Comment options

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