Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When working on PR #662 , I discovered that the original
soi_data.csv
had a wonky fractional year time axis that got weirdly parsed bytbase.time_to_datetime()
, resulting in a DatetimeIndex with no month of February, and 2 months of March. The series was also fairly short. I downloaded a new csv file from NOAA PSL and (with Claude Code's help) amended the load_dataset() logic to parse dates if they are available (as in this case), resulting in a proper, monthly time axis. The new code should be robust for future additions, and ensures that SOI is a well-behaved example for what we need it to show.