[ 
https://issues.apache.org/jira/browse/CLIMATE-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133756#comment-15133756
 ] 

Lewis John McGibbney edited comment on CLIMATE-756 at 2/5/16 6:44 AM:
----------------------------------------------------------------------

Hi [~huikyole] and folks, it seems like some pieces of this particular dataset 
have blank lat and lng causing parseFloat('') which returns NaN. The best fix 
would be to fix the data and avoid the blanks, however I assume that we cannot 
do that as the dataset(s) in RCMED as static in nature so we could have the OCW 
server-side python logic catch those blanks and make some substitution. I 
wonder if you folks have more insight into what the NaN values indicate from 
this particular dataset and what they should be replaced with... thanks. 

BTW, I found this to happen with a number of RCMED datasets so fixing it here 
via a substitution for NaN would solve this issue across the board. I just 
don't know what a 'suitable substitution' is.


was (Author: lewismc):
Hi [~huikyole] and folks, it seems like some pieces of this particular dataset 
have blank lat and lng causing parseFloat('') which returns NaN. The best fix 
would be to fix the data and avoid the blanks, however I assume that we cannot 
do that as the dataset(s) in RCMED as static in nature so we could have the OCW 
server-side python logic catch those blanks and make some substitution. I 
wonder if you folks have more insight into what the NaN values indicate from 
this particular dataset and what they should be replaced with... thanks. 

> Error: Invalid LatLng object: (NaN, NaN) when queuing APHRODITE v.1101 
> precipitation for the Monsoon Asia domain from RCMED 
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLIMATE-756
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-756
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>          Components: website
>            Reporter: Lewis John McGibbney
>             Fix For: 1.2
>
>         Attachments: Screen Shot 2016-02-04 at 10.20.51 PM.png, Screen Shot 
> 2016-02-04 at 10.25.09 PM.png
>
>
> We get some nasty exception traces when queuing the above dataset via the 
> Webapp. See attached screenshots.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to