Description Usage Arguments Value Examples
View source: R/sms_functions.R
Apply measurement cutoff filters and flag filters
1 2 3 4 5 6 | filter_sms(
sms_flagged,
ghi_cutoff_min = 5,
ws_cutoff_min = 0.25,
flagged_data_is_filtered = TRUE
)
|
sms_flagged |
Dataframe of sms data with "tidy" variables |
ghi_cutoff_min |
Measured GHI values below this cutoff will be filtered to zero because of poor sensor performance at low values (W/m2) |
ws_cutoff_min |
Measured wind speed values below this cutoff will be filtered to zero (m/s) |
flagged_data_is_filtered |
Whether or not we should filter out the flagged data (Recommended) |
SMS Dataframe with zero at all points below the measurement cutoff minimum and NA for all points with flag filters applied
1 2 3 4 5 6 7 8 9 10 | ## Not run:
## Get flagged, tidy sms data
sms_flagged <- read_groundwork(groundwork_file_list)
## Apply filters
sms_filtered <- filter_sms(sms_flagged)
no_flag_filters <- filter_sms(sms_flagged, flagged_data_is_filtered = FALSE)
change_cutoff_filters <- filter_sms(sms_flagged, ghi_cutoff_min = 10, ws_cutoff_min = 0)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.