You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made a pull request (Error in leap year? #3464) but I don't know how it works.
I guess there is a mistake in xarray/doc/examples/monthly-means.rst line 86 :
I've tried this script; however, it adds +1 to all months of the leap years. It sounds like an error, or I am wrong? So I wrote the condition "and month == 2" line 86 so that only the month of February gets +1.
So I propose :
if leap_year(year, calendar=calendar) and month == 2:
Instead of:
if leap_year(year, calendar=calendar):
The text was updated successfully, but these errors were encountered:
I have made a pull request (Error in leap year? #3464) but I don't know how it works.
I guess there is a mistake in xarray/doc/examples/monthly-means.rst line 86 :
I've tried this script; however, it adds +1 to all months of the leap years. It sounds like an error, or I am wrong? So I wrote the condition "and month == 2" line 86 so that only the month of February gets +1.
So I propose :
Instead of:
The text was updated successfully, but these errors were encountered: