PB2NC does not work for met/10.0.1 and metplus/4.0.0 for aqm daily max/ave verification #1484
-
Perry is transitioning the EMC AQM o3/pm25 verification package to me. Some script location runtime_log output is We understand that we still need to work on the FCST_INPUT file. But you Perry also found the same script work for METplus 3.1 and MET 9.1.3. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@Ho-ChunHuang-NOAA thanks for moving this topic over to METplus Discussions. I took a look at the METplus log files and see error messages stating that 0 observations were retained by PB2NC. I assume that's the issue that you're trying to debug. FYI, I ran the following commands to replicate this behavior:
In the output I see many, many log messages like this:
You're running PB2NC in this case to compute 24-hourly maximum values from the observations. And I recall the challenge being that you want the maximum at 04Z for the previous 24 hours. Since each PREPBUFR file only contains 1 day's worth of obs, you actually need to provide it with 2 input files. To do so, you'd use the "-pbfile" command line option to pass the second input file. It'd look something like this:
Since you only gave it 24 hours of input, it only found data for 3 or 4 of the 24 hours it expects. And it didn't write any time summary outputs since it doesn't have enough valid input data. I'll leave it to you and @PerryShafran-NOAA to iron out the details, but I believe that you'll need to use the "-pbfile" command line option to pass in a second input PrepBUFR file to compute a 04Z to 04Z maximum. |
Beta Was this translation helpful? Give feedback.
-
It looks like there is a bug reading the file window variables for PB2NC wrapper. In METplus 3.1, PB2NC_FILE_WINDOW_[BEGIN/END] was supported but was inadvertently lost in a refactor. Replacing PB2NC_FILE_WINDOW_BEGIN with OBS_PB2NC_FILE_WINDOW_BEGIN I created GitHub issue #1486 to address this in METplus 4.1.0 so that PB2NC_FILE_WINDOW_[BEGIN/END] are still supported. |
Beta Was this translation helpful? Give feedback.
It looks like there is a bug reading the file window variables for PB2NC wrapper. In METplus 3.1, PB2NC_FILE_WINDOW_[BEGIN/END] was supported but was inadvertently lost in a refactor.
Replacing PB2NC_FILE_WINDOW_BEGIN with OBS_PB2NC_FILE_WINDOW_BEGIN
and
replacing PB2NC_FILE_WINDOW_END with OBS_PB2NC_FILE_WINDOW_END
should fix this issue in 4.0.0.
I created GitHub issue #1486 to address this in METplus 4.1.0 so that PB2NC_FILE_WINDOW_[BEGIN/END] are still supported.