Skip to content
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

test failing because mean is different #1063

Closed
aashish24 opened this issue Feb 21, 2015 · 2 comments
Closed

test failing because mean is different #1063

aashish24 opened this issue Feb 21, 2015 · 2 comments
Assignees
Milestone

Comments

@aashish24
Copy link
Contributor

https://open.cdash.org/testDetails.php?test=315268558&build=3704218

@doutriaux1
Copy link
Contributor

that one is odd. I reuploaded a new value for mean because on my mac it seems different than on my ubunutu! LEt me retest that one.

@doutriaux1 doutriaux1 added this to the 2.2 milestone Feb 22, 2015
@doutriaux1
Copy link
Contributor

looking into this one. Turns out the actual data sent to plot is slightly different between mac and linux...
the test code does:

  nm_xtra="_amplitude"
  U=numpy.cos(lons[:])
  V=numpy.sin(lats[:])
  A=MV2.array(V[:,numpy.newaxis]*U[numpy.newaxis,:])
  A.setAxis(0,lats)
  A.setAxis(1,lons)
  u*=A  
  v*=A  

That could explain the precision difference
diff plot:
diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants