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

Warming stripes are not warming in the correct place #281

Closed
khider opened this issue Dec 14, 2022 · 1 comment
Closed

Warming stripes are not warming in the correct place #281

khider opened this issue Dec 14, 2022 · 1 comment
Assignees
Labels

Comments

@khider
Copy link
Member

khider commented Dec 14, 2022

Describe the bug
When running with Kaplan SST, suggests that the warmest period is 1940-1960.

To Reproduce
Data is from: https://github.com/LinkedEarth/PyleoTutorials/blob/main/data/wtc_test_data_nino_even.csv

import pyleoclim as pyleo
import pandas as pd

df = pd.read_csv('../data/wtc_test_data_nino_even.csv')
df.head()

ts_nino = pyleo.Series(time = df['t'], value = df['nino'], label = 'Kaplan Niño3 SST',
time_name = 'Year', value_name = 'NINO3 index',
time_unit = 'CE', value_unit = '$^{\circ}$C')

fig, ax = ts_nino.plot()

fig, ax = ts_nino.stripes(ref_period=(1961,1990), show_xaxis=True)

Expected behavior
Appropriate warm intervals

Screenshots
If applicable, add screenshots to help explain your problem.

image

image

@CommonClimate
Copy link
Collaborator

addressed by #398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants