Hi, I'm getting this error: 

AttributeError: module 'cdstoolbox.cube' has no attribute 'groupby_reduce'

Except that exactly the same script ran fine yesterday. So I am pretty sure there is (or used to be) a 'groupby_reduce' option. Is this another case where I need to keep on trying until it succeeds, or has something changed in the Toolbox?


Thanks

Rutger

4 Comments

  1. Hi Rutger,

    Thanks for flagging this up. This is not normal and looks like there has been an issue the last CDS update (between yesterday and today).

    It looks like the issue has been fixed now.

    By the way if you have recurring issues such as the RunTime error I would recommend to contact the service desk https://jira.ecmwf.int/servicedesk/customer/portals which will be able to analyse and escalate the issue in a proper way.

    Regards.

    Vivien

  2. Hi Vivien


    Thanks, and thank you also for the reminder of the service desk.


    I'm still seeing the error, though, and another similar error (AttributeError: module 'cdstoolbox' has no attribute 'climatology'), so I'm not sure if it has been fixed. I'll give it a few moments first... 


    Cheers

    Rutger


  3. Hi Rutger,

    That is odd. Have you tried refreshing your browser with Shift + F5 or Shift + Refresh?

    I manage to call groupby_reduce. If you have code you can share I can try to run it.

    Cheers.

    Vivien


  4. Hi Vivien


    I've finally got to the bottom of this (with kudos to Kevin Marsh). I had made a mistake in my function call to ct.climate.climatology_mean() so in this case the error message was, in fact, correct.


    I can confirm the script with groupby_reduce is working again as well. 


    Thanks!

    Rutger