You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Omkar Reddy (JIRA)" <ji...@apache.org> on 2015/12/20 10:35:48 UTC

[jira] [Commented] (CLIMATE-407) Dataset select can queue empty RCMED datasets

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

Omkar Reddy commented on CLIMATE-407:
-------------------------------------

What I have observed is that when we do not enter the path to the local dataset and click on the add dataset in the webapp button the empty dataset gets queued into the queue with null values to all the attributes.

We can prevent this by two checks:
First check : Checking if the local file exists/the path points to a directory instead of directing towards a .nc file in the observationselect.js script before calling the script selecteddatasetinformation.js and if there is no detaset in the location then display an error msg.
Second check : Checking if the variables are correctly loaded from the local file. This can be done  by introducing a new toggle button $scope.fileLoadFailed which toggles to true if the loading of variables fail and the dataset is not added to the queue. Instead it displays a message to the user - "Failed loading Dataset. Retry.."



> Dataset select can queue empty RCMED datasets
> ---------------------------------------------
>
>                 Key: CLIMATE-407
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-407
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>          Components: webapp
>    Affects Versions: 0.3-incubating
>         Environment: MAC OS X 10.9.1
> OCW TRUNK 
>            Reporter: Lewis John McGibbney
>             Fix For: 1.2
>
>
> If you are to select an empty dataset and queue it in the dataset selection window it will be incorrectly queued. I think this is a bug.



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