We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using newstoch.py, see below. This also happens on any 1D data (e.g. W=TAUX/X, then W.mean() )
AttributeError Traceback (most recent call last) /home/nfs/z3049637/Dropbox/python/ in () ----> 1 dW.mean()
/home/nfs/z3049637/github/spacegrids/spacegrids/fieldcls.pyc in mean(self, grid) 3540 ret_field = (self.dV()*self).sum(grid)/(self.dV()).sum(grid) 3541 -> 3542 ret_field.name = self.name 3543 ret_field.long_name = 'zonal mean ' + self.long_name 3544 ret_field.units = self.units
AttributeError: 'numpy.float64' object has no attribute 'name'
The text was updated successfully, but these errors were encountered:
This is probably fixed now
Sorry, something went wrong.
No branches or pull requests
Using newstoch.py, see below. This also happens on any 1D data (e.g. W=TAUX/X, then W.mean() )
In [109]: dW.mean()
AttributeError Traceback (most recent call last)
/home/nfs/z3049637/Dropbox/python/ in ()
----> 1 dW.mean()
/home/nfs/z3049637/github/spacegrids/spacegrids/fieldcls.pyc in mean(self, grid)
3540 ret_field = (self.dV()*self).sum(grid)/(self.dV()).sum(grid)
3541
-> 3542 ret_field.name = self.name
3543 ret_field.long_name = 'zonal mean ' + self.long_name
3544 ret_field.units = self.units
AttributeError: 'numpy.float64' object has no attribute 'name'
The text was updated successfully, but these errors were encountered: