-
Notifications
You must be signed in to change notification settings - Fork 1
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
genutil.statistics.mean does not exists #5
Comments
Marking issue as stale, since there has been no activity in 30 days. Unless the issue is updated or the 'stale' tag is removed, this issue will be closed in 7 days. |
@jasonb5 this is related to the fact that cdms/cdutil etc all had their origin in numeric, before numpy and as numeric didn't include all the functionality that numpy now has, basic stats function were created and are now duplicated by the numpy variants, assuming numpy is wrapped correctly to expose all the functions. The MV2 library could mostly be deprecated in favour of numpy pure functions, or alternatively MV2 just calls the numpy functions directly (preserving the cdms transient variable attributes of course) |
I totally agree with accessing It could be useful to add a new Because in some cases, the original name/units of the variable may not mean anything after applying the numpy function |
The As for history recording, we're planning on adding provenance support in the next-gen CDMS2. |
@jasonb5 thanks for the update, when we talked about this a long time ago, I was suggesting that removing the duplication in MV2 by rather wrapping all the numpy.ma functions was a good idea, which means that if numpy.ma adds another function (or bugfix) we get this in CDMS for free with no maintenance overhead for you folks |
Ah I see what you mean, this is inline with the next-gen CDMS where |
Perfect, that sounds like we're on the same page here |
Marking issue as stale, since there has been no activity in 30 days. Unless the issue is updated or the 'stale' tag is removed, this issue will be closed in 7 days. |
because MV2.average does pretty much the same thing
but this would allow to use nifty
axis='t'
oraxis='xy'
oraxis='(my_axis_name)'
Migrated from: CDAT/cdat#1569
The text was updated successfully, but these errors were encountered: