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

Comments

Projects
None yet
2 participants
@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Feb 22, 2015

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

This comment has been minimized.

Member

doutriaux1 commented Feb 25, 2015

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