You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Michael Joyce (JIRA)" <ji...@apache.org> on 2013/08/20 20:00:54 UTC

[jira] [Resolved] (CLIMATE-267) Dataset doesn't validate input parameters on init

     [ https://issues.apache.org/jira/browse/CLIMATE-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Joyce resolved CLIMATE-267.
-----------------------------------

    Resolution: Fixed

Resolved

http://svn.apache.org/r1515903
                
> Dataset doesn't validate input parameters on init
> -------------------------------------------------
>
>                 Key: CLIMATE-267
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-267
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>          Components: rcmet
>    Affects Versions: 0.2-incubating
>            Reporter: Michael Joyce
>            Assignee: Michael Joyce
>             Fix For: 0.3-incubating
>
>
> Dataset does not validate input parameter arrays on initialization. At the minimum it should validate that the received arrays have the proper shape.
> The lats, lons, and times arrays should all be single dimensional arrays: len(lats.shape) == 1
> The values array should be a three dimensional array: len(values.shape) == 3
> The values array dimensions should match the shape of the corresponding lats, lons, and times arrays. In other words, the first dimension of the values array should be the same length as the times array, the second dimension should match the lats array, and the third dimension should match the lons array.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira