bsrn.visualization.cspoints.plot_csd_booklet#
- bsrn.visualization.cspoints.plot_csd_booklet(file_path, output_file, station_code, df=None, title=None)[source]#
Generate a PDF: one page per day, four rows (CSD methods) × three columns (GHI, BNI, DHI).
Clear-sky detection is driven by GHI (and each method’s required inputs). The same
is_clearskyflag is overlaid on the GHI, BNI, and DHI time series in each row.- Parameters:
file_path (str) – Path to the BSRN station-to-archive file (one month, e.g. .dat.gz). Ignored if
dfis provided.output_file (str) – Path to the output PDF file.
station_code (str) – Station abbreviation (e.g. “QIQ”) for clear-sky and site location.
df (pd.DataFrame, optional) – If provided, use this DataFrame instead of reading from
file_path. Must have one-month DatetimeIndex and columns ghi, bni, dhi.title (str, optional) – Same title on every PDF page. If None (default), no plot title.
- Returns:
Saves the booklet to the given PDF path.
- Return type:
None