OasisLMF / OasisUI

User Interface for the Oasis platform.
BSD 3-Clause "New" or "Revised" License
16 stars 17 forks source link

Summary output parameters contains too many reports #276

Closed benhayes21 closed 2 years ago

benhayes21 commented 2 years ago

Issue Description

When running "summary" output option through the UI, we should just get LEC OEP, LEC AEP and AAL, but we actually get many of the ORD files as well (EPT, MELT, PALT, PSEPT and QELT). these files can be very large and cause the UI to stall/crash.

Not sure, but it might have something to do with these settings https://github.com/OasisLMF/OasisUI/blob/fdff9e2be98b3e46e360a1cffbfe493f99708b9c/BFE_RShiny/oasisui/R/output_config_settings.R#L11-L18

Steps to Reproduce (Bugs only)

  1. Run the UI with summary outputs
  2. Inspect the results

Version / Environment information

1.11.2

Example data / logs

These are generated when run with "summary" selected in teh UI

/tmp/tmp0pdo40yv/output # ll
total 574320
-rw-r--r-- 1 root root      1871 Mar  8 09:51 analysis_settings.json
-rw-r--r-- 1 root root       110 Mar  8 09:54 gul_S1_aalcalc.csv
-rw-r--r-- 1 root root  98191425 Mar  8 09:54 gul_S1_ept.csv
-rw-r--r-- 1 root root       899 Mar  8 09:54 gul_S1_leccalc_full_uncertainty_aep.csv
-rw-r--r-- 1 root root       899 Mar  8 09:54 gul_S1_leccalc_wheatsheaf_mean_aep.csv
-rw-r--r-- 1 root root      4369 Mar  8 09:54 gul_S1_leccalc_wheatsheaf_oep.csv
-rw-r--r-- 1 root root   7790938 Mar  8 09:54 gul_S1_melt.csv
-rw-r--r-- 1 root root       107 Mar  8 09:54 gul_S1_palt.csv
-rw-r--r-- 1 root root 241519916 Mar  8 09:54 gul_S1_psept.csv
-rw-r--r-- 1 root root  12722320 Mar  8 09:54 gul_S1_qelt.csv
-rw-r--r-- 1 root root        50 Mar  8 09:51 gul_S1_summary-info.csv
-rw-r--r-- 1 root root       108 Mar  8 09:54 il_S1_aalcalc.csv
-rw-r--r-- 1 root root  81669183 Mar  8 09:54 il_S1_ept.csv
-rw-r--r-- 1 root root       875 Mar  8 09:54 il_S1_leccalc_full_uncertainty_aep.csv
-rw-r--r-- 1 root root       875 Mar  8 09:54 il_S1_leccalc_wheatsheaf_mean_aep.csv
-rw-r--r-- 1 root root      4249 Mar  8 09:54 il_S1_leccalc_wheatsheaf_oep.csv
-rw-r--r-- 1 root root   7179132 Mar  8 09:54 il_S1_melt.csv
-rw-r--r-- 1 root root       105 Mar  8 09:54 il_S1_palt.csv
-rw-r--r-- 1 root root 127209672 Mar  8 09:54 il_S1_psept.csv
-rw-r--r-- 1 root root  11731901 Mar  8 09:54 il_S1_qelt.csv
-rw-r--r-- 1 root root        50 Mar  8 09:51 il_S1_summary-info.csv