You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sdap.apache.org by GitBox <gi...@apache.org> on 2018/07/09 21:37:08 UTC

[GitHub] jjacob7734 opened a new pull request #18: SDAP-116 Fix bug in TimeAvgMapSpark that results in row of zeros for …

jjacob7734 opened a new pull request #18: SDAP-116 Fix bug in TimeAvgMapSpark that results in row of zeros for …
URL: https://github.com/apache/incubator-sdap-nexus/pull/18
 
 
   The results from the following query incorrectly included a row of zero values:
   
   timeAvgMapSpark&ds=MUR-JPL-L4-GLOB-v4.1&maxLon=-114.8833&minLon=-117.2627&minLat=26.5483&maxLat=28.1322&startTime=1499756400&endTime=1499929200
   
   This was caused by rounding errors in the calculations that map latitude and longitude to array indices and determine the number of coordinates in each dimension and was fixed by correctly rounding the floating point arithmetic.
   
   In addition to TimeAvgMapSpark, this also fixes CorrMapSpark and ClimMapSpark.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services