Year 0 handling
name: Bug Report
about: Write a report to help us improve
Describe the bug
https://gitlab.com/znicholls/netcdf-scm/blob/master/src/netcdf_scm/cli.py#L1955 doesn't work with datasets that have a start year of 1 (see CESM2 piControl).
Failing Test
Do stitching on a CESM2 dataset that has piControl starting in year 1
Expected behavior
Should stitch with anomaly taken as desired.
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
- OS: Linux
- Python version Python3.7
Additional context
Add any other context about the problem here.