Python Embedding Issue in MET Ensemble Stat #2868
-
Hi, everyone! I am encountering an issue when using Python embedding with the MET ensemble stat tool and would like to seek your assistance in resolving it. To provide some context, I have been attempting to use the Python embedding feature within the ensemble stat tool, but I am running into difficulties. I have attached the following files to help clarify the issue:
In addition to the files, I have also listed the exact command I used to call the ensemble stat tool, along with the error message I received. python-embeding.zip Any advice would be highly appreciated! Thank you very much! Best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
HI @Daisy792. Thank you for describing the problem and sending some files. It looks like your fcst_list.ascii file is not formatted correctly. The ens_file_list is an ASCII file containing a space-separated list of ensemble member file names. Please try changing your file to be a space-separated list of ensemble member file names. For example:
etc. and try rerunning. Please let us know how it goes. |
Beta Was this translation helpful? Give feedback.
-
Hi, @jprestop~
in EnsembleStatConfig_mean and the result was still the same:
Thank you very much for any possible solution to solve this problem! |
Beta Was this translation helpful? Give feedback.
@Daisy792, great news, I have a nice simple solution that doesn't require a bugfix or anything. Your discussion points out that we really need to update the MET documentation about how "file_list" files work. This is all baked into the logic of the METplus wrappers, so I haven't thought about this detail in a while.
Please prefix your file list file with the keyword
file_list
. I set up a test using canned sample data as input to Ensemble-Stat and ran it without thefile_list
prefix to produce this runtime error:But adding
file_list
as the first line of that file enabled it to run witho…