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

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

Cameron Goodale created CLIMATE-268:
---------------------------------------

             Summary: 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: Cameron Goodale
             Fix For: 0.3-incubating


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