Unexpected difference in stat files from EnsembleStat #2436
Replies: 3 comments 2 replies
-
Hi Gerard: It would be helpful for me to take a look at your input files (obs data, forecast data, and config). You can upload these to our ftp following the instructions. Or, if it's easier, you could put the data somewhere on Hera or Cheyenne that I could access and let me know the paths. Thanks, |
Beta Was this translation helpful? Give feedback.
-
@CPKalb Hi Tina, I've setup up all my files (and testing scripts) on Hera under:
The EnsembleStat config file and the NetCDF input files for the case WITH the "_03" suffix in the names are in the subdirectory
The corresponding files for the case WITHOUT the "_03" suffix are in the subdirectory
There is also the common conf file ( There is a script at the top level named
This will place output files in the subdirectory
(it will overwrite any existing files). Similarly, for the without "_03" case, use
and the outputs will be in
The output files that I'm comparing are:
If you diff the stat files for the two cases, you'll see that they're different (I use
You'll know that the input NetCDF files are identical (after changing "APCP_03" to "APCP" and vice-versa in the array name and metadata) if you see this screen output:
Then, after running
You'll know that the output nc files are identical (after changing "APCP_03" to "APCP" and vice-versa in the array name and metadata) if you see this screen output:
So my question is, why do the stat files differ even though the input and output NetCDF files are the same? Thanks! |
Beta Was this translation helpful? Give feedback.
-
@CPKalb Hi Tina, Thanks for getting to the bottom of this! I will try your solution to make sure it works, although I am somewhat reluctant to use this approach because the changes I'm making are in the SRW App (see PR 973), and I would have to add this custom obs error table to the app and would have to make sure it is updated properly every time the app is upgraded to a new version of MET (and there's a high possibility that will be forgotten!). So I'd much rather just use the default table that comes with MET/METplus. I wonder if it would be possible in a future version of MET to add lines to the obs error table that don't have the Here's some background for how/why I ran into this issue. In the METplus conf files that the SRW App currently uses, the APCP variable names do include the accumulation. Specifically, for the I can add a custom obs error table to the app for now, but it would be great to make a change to the default error table to allow obs variable names without the accumulation so I don't have to keep the custom table for long. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm running the METplus EnsembleStat tool on 3-hour APCP obs and forecast data, and I'm getting different results in the output stat file depending on how I name the APCP variable in the input obs and forecast files (and the METplus config file), with everything else in the input files being identical (as far as I can tell using
nccmp
andxxdiff
). I mean there are differences in the stat files besides the expected difference in the variable name. The output netcdf file, however, does not change (again, except for expected differences in variable names), which is what I expect.I could be missing something, but I think the stat files in the two cases should be identical. Any idea what could be causing the difference? More details below.
I'm using met-10.1.1 and metplus-4.1.1 as part of EPIC's spack-stack installation on NOAA's jet.
In the first case, the variables in the input obs and forecast files are named "APCP_03", while in the second case, they are named "APCP" (i.e. without a "_03" suffix). The corresponding "name" attributes of these variables are named in the same way, and the "level" attributes are in all cases set to "A3". Thus, in the first case, we have (say for one of the input forecast files):
while in the second case, we have
In the METplus config file, the variable settings in the first case are:
and in the second case are:
All other parts of the config file are identical. I've attached the resulting stat files. You can see that in the case with the "_03" in the variable names, there is an extra PHIST line type in the stat file, and the remaining line types have differences (other than the renaming of the variable to include/exclude the substring "_03").
If it would help, I have a set of input files (METplus config file, obs data, and forecast data) and a run script that I can make available that demonstrates this difference in the output stat file.
Thanks for any help you can provide on why the stat files for the two cases might be different.
Gerard
ensemble_stat_FV3_GFS_v15p2_CONUS_25km_APCP03h_CCPA_030000L_20190615_030000V.stat.with_03.txt
ensemble_stat_FV3_GFS_v15p2_CONUS_25km_APCP03h_CCPA_030000L_20190615_030000V.stat.without_03.txt
Beta Was this translation helpful? Give feedback.
All reactions