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/21 21:57:52 UTC

[jira] [Updated] (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 ]

Cameron Goodale updated CLIMATE-268:
------------------------------------

    Remaining Estimate: 4h  (was: 0h)

Added 4 more hours to the Remaining Estimate.  This should give time to check for non-3D variables, and to pull out the dimensions we need to generate a valid OCW Object.  With more tests to catch edge cases and ensure the new functionality is working as designed.
                
> 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