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

[jira] [Resolved] (CLIMATE-268) local.py returns a Dataset Object with a 4-D Array for the Dataset.values

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

Maziyar Boustani resolved CLIMATE-268.
--------------------------------------

    Resolution: Fixed

http://svn.apache.org/r1516637
                
> local.py returns a Dataset Object with a 4-D Array for the Dataset.values
> -------------------------------------------------------------------------
>
>                 Key: CLIMATE-268
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-268
>             Project: Apache Open Climate Workbench
>          Issue Type: Sub-task
>          Components: general
>    Affects Versions: 0.2-incubating
>         Environment: *nix
>            Reporter: Cameron Goodale
>            Assignee: Maziyar Boustani
>             Fix For: 0.3-incubating
>
>   Original Estimate: 2h
>          Time Spent: 3h
>  Remaining Estimate: 4h
>
> When loading a dataset from local.py the returned OCW Dataset object has a value attribute with a 4 dimensional array, when it should be 3 dimensions.
> Current Shape:
> (time, height?, lat, lon)
> Instead it should be:
> :param values: Three dimensional numpy array of parameter values with shape [timesLength, latsLength, lonsLength]. Per Dataset class documentation.
> The local.py code needs to be updated to ensure the values are constructed and passed into the Dataset constructor.

--
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