Skip to content

Plot all day for clearsky index time series plot in multiplot#95

Open
AdamRJensen wants to merge 2 commits into
mainfrom
show-all-data-kc-timeseries-plot
Open

Plot all day for clearsky index time series plot in multiplot#95
AdamRJensen wants to merge 2 commits into
mainfrom
show-all-data-kc-timeseries-plot

Conversation

@AdamRJensen

Copy link
Copy Markdown
Member

Closes #76

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the clearsky index (Kc) time series panel in multiplot() to display more data than only is_clearsky == True, addressing Issue #76.

Changes:

  • Removes the is_clearsky filter for the Kc time series scatter plot and plots Kc across the full times range when ghi_clear exists.
  • Updates the panel annotation text for the Kc plot.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 276 to +280
# Clearsky index time series scatter plot (clearsky conditions)
if ("ghi_clear" in data.columns) & ("is_clearsky" in data.columns):
if "ghi_clear" in data.columns:
plot_scatter_heatmap(
x=mdates.date2num(times[data["is_clearsky"]]),
y=data.loc[data["is_clearsky"], "ghi"]
/ data.loc[data["is_clearsky"], "ghi_clear"],
x=mdates.date2num(times),
y=data["ghi"] / data["ghi_clear"],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kc plot

2 participants