Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update heatwave and heatwave_year with GLORYS bottom data through 11-26-2024 #225

Merged
merged 4 commits into from
Jan 31, 2025

Conversation

BBeltz1
Copy link
Collaborator

@BBeltz1 BBeltz1 commented Jan 31, 2025

Single commit to update extreme event indicators with latest data file provided by Joe.

@BBeltz1 BBeltz1 requested review from sgaichas and andybeet January 31, 2025 14:42
Copy link
Member

@sgaichas sgaichas left a comment

Choose a reason for hiding this comment

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

Are these plotting the exact same data using plot_heatwave_year for the varName = Surface and varName = withtrend arguments?

@andybeet
Copy link
Member

those plots are identical. The attributes need updating too

@BBeltz1
Copy link
Collaborator Author

BBeltz1 commented Jan 31, 2025

Ah yes, you're right. This is a result of Vince's decision that trended series should be excluded from these indicators. Now that we've internalized this, we can choose to either run the trended series OR we can remove trended options from the plot functions and only include detrended series.

@sgaichas
Copy link
Member

@BBeltz1 I think we need to change the dataset to fix this. The current dataset shows 3 variables:

> unique(ecodata::heatwave_year$Var)
[1] "Surface"          "SurfaceDetrended" "BottomDetrended" 

are Surface and SurfaceDetrended the same in the dataset? from the plots it looks like they must be, but the plot code assumes Surface is not detrended. removing the withtrend option from the plot code still leaves ambiguous data in the dataset.

@BBeltz1
Copy link
Collaborator Author

BBeltz1 commented Jan 31, 2025

I just pushed a commit removing the trended surface time series from both heatwave and heatwave_year, as well as the associated plot functions. Thanks for catching that.

BBeltz1 and others added 2 commits January 31, 2025 14:57
extra parenthesis in plot_heatwave_year
Copy link
Member

@sgaichas sgaichas left a comment

Choose a reason for hiding this comment

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

looks good, thanks, I just updated the documentation so this should be good to go

@andybeet andybeet merged commit 24976a0 into dev Jan 31, 2025
7 checks passed
@BBeltz1 BBeltz1 deleted the brandon_data_plots branch February 3, 2025 15:13
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.

3 participants