powered by
This function calculates the median module temperature throughout the data to be used in corrections.
median_temp(df)
Dataframe containing timeseries irradiance (column name must be poa) and module temperature (column name must be modt) in unit of Celsius.
Returns an integer value of median reported module temperature of the data.
# NOT RUN { T_corr <- median_temp(df_wbw) # }
Run the code above in your browser using DataLab