evanmiller / ProjCL

GPU and vector-enabled map projections, geodesic calculations, and image warping 🌎🌍🌏

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lambert Azimuthal Equal Area test failures

evanmiller opened this issue · comments

Consistency is OK but the Proj.4 comparison is failing

Testing consistency of Lambert Azimuthal Equal Area
-- Spherical, centered... ok
-- ...same as Proj.4... 1000 failures
**** Max longitudinal error: 1246421.500000 at (-4876150.000000, -0.000000)
**** Max latitudinal error: 1798909.500000 at (-3671586.500000, -3035005.000000)
-- Spherical, off-center... ok
-- ...same as Proj.4... 1000 failures
**** Max longitudinal error: 285615.750000 at (-3425188.000000, -5102897.000000)
**** Max latitudinal error: 900460.250000 at (-5062127.500000, -3530770.750000)
-- Ellipsoidal, centered... ok
-- ...same as Proj.4... 1000 failures
**** Max longitudinal error: 1240957.000000 at (-4881614.500000, -0.000000)
**** Max latitudinal error: 1813808.750000 at (-3656572.000000, -3044595.250000)
-- Ellipsoidal, off-center... ok
-- ...same as Proj.4... 1000 failures
**** Max longitudinal error: 292755.000000 at (-3458744.250000, -5063430.000000)
**** Max latitudinal error: 918456.500000 at (-5049309.000000, -3541705.000000)

Test passes on OS X. Worth noting that Lambert Azimuthal Equal Area is the only kernel that uses a float3. Given the 100% failure rate, it's possibly an issue with the Intel compiler.

Fixed in 814db6c