Generate & Save Outputs
When Run PeakFQ is clicked:
-
Require user to have entered Basename @scrouch_limno.com -
Trend Test - Generate when “Run PeakFQ” is clicked. Perform Mann-Kendall trend test on the input data using “trends” R package. Generate a text output similar to the current PeakFQ (following up on where)
For each site, save out the following in the image format selected by the user (in same format options as PeakFQ plus .svg) to the folder path entered by the user:
-
_data.* - Plot of data input data from pkPlot() (see note below from Seth!) -
_ema.* - Plot of data after low outlier handling has been applied from pkPlot() (see note below from Seth!) -
_freq.* - Plot of flood frequency curve with data from ffaPlot()
For each run, save out to the folder path entered by the user:
-
.psf - Generate formatted .psf based on 4 specifications dataframes (rv$psf_<> ) -
_lp3.csv - CSV with same output provided by info dataframe in peakfq() function output in PeakFQ R package -
_qnt.csv - CSV with same output (quantile estimates, variance, and confidence intervals) provided by qnt output from peakfq() function in PeakFQ R package -
_emp.csv - CSV with same output as empResults output from peakfq() function in PeakFQ R package -
_mgb.csv - Text file with same output as MGBTpvals output from peakfq() function in PeakFQ R package -
_log.txt - Log file with software version, run date, and errors or warnings from the computation code generated after “Run PeakFQ” was clicked
When “Save Specifications” button is clicked:
-
Save specifications to .psf based on current server-side dataframes, as above. Does not require complete or run-able specification inputs.
Edited by Shanna Rucker