[ 
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

Reply via email to