StatAnalysis takes a lot of time to run if the MPR is large (around 1 GB) #3285
Replies: 1 comment 5 replies
-
|
@pratiman-91, I see you're having issues running Stat-Analysis to aggregate matched pair (MPR) data. The process is taking much longer than you'd expect. I'd like to share a couple of details that may be involved... Please take a look at MET issue #2690 which was the result of METplus Discussion #2364. The Stat-Analysis tool was writing a LOT of temp files across the NSF file system, which was very, very slow. If you're running version 12.0 or later and it's acceptable on your system, try setting An additional change to Stat-Analysis is slated for MET version 13.0, as described in MET issue #2698. It is included in the MET-13.0.0-beta1 development release. You shouldn't use development releases for anything other than testing, but we'd definitely appreciate any feedback you have. Basically, Stat-Analysis has always performed a two-step process:
The original design anticipated that people would be running multiple jobs with a config file, and applying common filtering criteria up front would save time in the long run. In practice, that may or may not actually be the case. So in MET-13.0.0-beta1, if only a single job is defined (either through the config file or on the command line), it now SKIPS writing that temp file since doing so would NOT be more efficient. You're welcome to try out that beta1 release and let us know if that improves your specific usage of Stat-Analysis. Thanks, and please LMK how it goes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi METplus team,
I am trying to use
StatAnalysisfor aggregating monthly stat outputs from usingMPR (PointStats). The configuration works fine and takes around 4 minutes if the size of the MPR txt file is around 100 MB while it takes around more than 5 hours if the file size is more than 1 GB.Please let me know if this can be speed-up.
Thanks
-Pratiman
Beta Was this translation helpful? Give feedback.
All reactions