Configuring FCST_PCP_COMBINE_INPUT_ACCUMS correctly #1801
-
I'm trying to set up a PCPCombine configuration file with some flexibility as to the input forecast precipitation accumulation field that METplus uses, but METplus gives me an error. Am I using the FCST_PCP_COMBINE_INPUT_ACCUMS correctly? Here is the error (full error in the attached log file): As I currently have PCPCombine configured, METplus will use the first listed accumulation (ex. A24) and then throw an error when the accumulation isn't available. In this case, I would have preferred METplus attempted to use the second (A3) and then third listed accumulation (A1) using the third accumulation only, since the latter was the only available precip accumulation field in that file. I'm attaching a log file that includes the full error message from a recent job on NCEP's WCOSS2 computer, the config file I used on that run, and the environment variables referenced in the configuration file. LOG_PCPCombine_fcsthireswarw_precip_mrms_job82_for2022091108_runon20220912212916.log |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @MarcelCaron-NOAA, the PCPCombine wrapper does support providing a list of accumulations in order of preference. However, if the accumulation (level) is not referenced in the filename template, the logic does not know which accumulation is available and uses the first one in the list. The wrapper logic currently does not support looking into the actual file contents to determine what is available to use. So it looks like you are using the functionality correctly, but the filenames do not allow this to work as expected. The MET tool pcp_combine had a -sum mode that determines which files/data to use, however I believe that you can only provide a single input accumulation level for this mode. @JohnHalleyGotway, is that correct? If so, do you have any suggestions as to how this could be accomplished? If not, how would you configure the tool to allow multiple accumulation intervals based on what is available in the files? |
Beta Was this translation helpful? Give feedback.
Hi @MarcelCaron-NOAA, the PCPCombine wrapper does support providing a list of accumulations in order of preference. However, if the accumulation (level) is not referenced in the filename template, the logic does not know which accumulation is available and uses the first one in the list. The wrapper logic currently does not support looking into the actual file contents to determine what is available to use. So it looks like you are using the functionality correctly, but the filenames do not allow this to work as expected.
The MET tool pcp_combine had a -sum mode that determines which files/data to use, however I believe that you can only provide a single input accumulation level for this …