Description Usage Arguments Value Examples
View source: R/tpk-read_data.R
Given an imported datafram of Hbase-Formatted IV curve data, this function reads in the data, filters missing temperature data, and checks for a nonzero maximum power point, in case of power loss. It resets the timestamps based on the minimum timestamp, and filters Isc values for the tracer's accuracy. Finally, a n_period counter is added to the dataframe.
1 | read_df_raw(df, tracer_accuracy, t_period)
|
df |
dataframe; the IV curve data to be filtered |
tracer_accuracy |
The accuracy of the IV tracer used. See the device's manual to find the exact value at which Isc readings are no longer accurate. |
t_period |
Data period for the Psuedo-IV curves. Addded as a column to the dataframe based on the timestamp. Use units of days, i.e. daily periods should have t_period 1, weekly periods should have t_period 7, etc. |
df_raw, a dataframe containing the raw IV curve data
1 2 | df_test <- read_df_raw(df_wbw, 1, 7) # Weekly periods
df_test <- read_df_raw(df_wbw, 1, 1) # Daily periods
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.