climate-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prateek Chanda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLIMATE-803) AttributeError in Utils.py
Date Sat, 26 May 2018 08:48:00 GMT

    [ https://issues.apache.org/jira/browse/CLIMATE-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16491579#comment-16491579
] 

Prateek Chanda commented on CLIMATE-803:
----------------------------------------

I would like to work on this issue.

I am opening a PR for this.

As an initial structure I am only including checking the exception and will gradually work
upon finding the masked array if the given data set array is not masked

> AttributeError in Utils.py
> --------------------------
>
>                 Key: CLIMATE-803
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-803
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Ibrahim Jarif
>            Assignee: Michael Anderson
>            Priority: Critical
>             Fix For: 1.4.0
>
>
> AttributeError in *calc_subregion_area_mean_and_std* function
> {code}
> AttributeError: 'numpy.ndarray' object has no attribute 'mask'
> {code}
> The following line raises the error
> {code}
> mask_array = dataset_array[0].values[0,:].mask
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message