View source: R/FS_fExtractAllCriticalDates.R
After calculating GPPsat using 'FS_fCalculateGPPandNEESatParameters', this function will extract critical dates from the GPPsat time series. Additionally, this function will calculate start and end of winter (SOW/EOW) based on the period in which ecosystems no longer accumulate C (GPP-free period), using cumulative GPP as the flux parameter.
| 1 2 3 4 5 6 7 8 9 10 11 12 | 
| inpath_GPPsat | character string, navigate to the directory containing GPPsat and associated fit parameters | 
| inpath_complete_output | character string, navigate to the directory containing stacked complete output datasets (specific formatting required) | 
| outpath_critdates | character string, specify path to where you'd like to export a dataframe of critical dates (includes all sites on the same df) | 
| outpath_plots | character string, specify path to where you'd like to export figures | 
| site.meta | dataframe, site metadata file contained in FluxSynthU | 
| span | numeric, set the span for time series smoothing (defaults to 0.075) | 
| create.plots | logical, if TRUE (default) exports 4 figures | 
| export.files | logical, if TRUE (default) exports dataframes as text files in the outpath directory. | 
| batch_process | logical, if TRUE, batch processes all sites within the inpath directory (defaults to FALSE). | 
| exclude_bad_yrs | logical, if TRUE, excludes user defined years from the analysis (defaults to FALSE). | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.