nsrdb.utilities.extract_surfrad.surfrad_to_h5
- surfrad_to_h5(df, fout, dir_out)[source]
Save annual surfrad dataframe to output .h5 file.
- Parameters:
df (pd.DataFrame) – Timeseries dataframe for ground measurement irradiance. DF index must be pandas datetime index. Must have columns for dhi, dni, ghi.
fout (str) – Output file name.
dir_out (str) – Location to save output file.