-
Notifications
You must be signed in to change notification settings - Fork 2
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
Is monthly cal bug #7
Conversation
581a052
to
81fca4d
Compare
No test? |
@doutriaux1 can you write a quick test? I'd like to see a green light 🚥 |
@@ -135,12 +135,11 @@ def isMonthly(s): | |||
units=tim.units | |||
monthly=1 | |||
for i in range(len(tim)-1): | |||
month1=cdtime.reltime(tim[i],units).torel('months since 2000').value | |||
month2=cdtime.reltime(tim[i+1],units).torel('months since 2000').value | |||
month1=cdtime.reltime(tim[i],units).torel('months since 2000',tim.getCalendar()).value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@doutriaux1 glad to see that you have fallen into line and are now importing using 3-letter acronyms
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@durack1 there's no 3 letters import here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@doutriaux1 my mistake, the 3 letter variable tim=s.getTime()
@dnadeau4 ready to review