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:53:52 UTC
[jira] [Work logged] (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?focusedWorklogId=14835&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-14835 ]
Cameron Goodale logged work on CLIMATE-268:
-------------------------------------------
Author: Cameron Goodale
Created on: 21/Aug/13 20:53
Start Date: 21/Aug/13 20:51
Worklog Time Spent: 3h
Work Description: Initial assessment of the work needed to complete this task. Wrote a couple new tests to test the code against the CORDEX model data, and to test when the dimension name != variable name.
Issue Time Tracking
-------------------
Worklog Id: (was: 14835)
Time Spent: 3h
Remaining Estimate: 0h (was: 2h)
> 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: 0h
>
> 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