Github user kwhitehall commented on a diff in the pull request:

    https://github.com/apache/climate/pull/183#discussion_r27177986
  
    --- Diff: ocw/utils.py ---
    @@ -335,5 +337,11 @@ def calc_climatology_monthly(dataset):
             )
             raise ValueError(error)
         else:
    -        return reshape_monthly_to_annually(dataset).mean(axis=0)
    +        values = reshape_monthly_to_annually(dataset).mean(axis=0)
    +        
    +        # A year can commence from any month
    +        first_month = dataset.times[0].month
    --- End diff --
    
    Hey Mike,
    Not necessarily of a particular year, but of a year. So, for e.g. if 3 
years Jan -Dec of data the times should reflect 12 months Jan - Dec, if the 
3years were from March - Feb then the times should reflect 12 months March - 
Feb 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to