From dev-return-10466-archive-asf-public=cust-asf.ponee.io@climate.apache.org Sat May 26 10:48:09 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id ABBA8180671 for ; Sat, 26 May 2018 10:48:08 +0200 (CEST) Received: (qmail 75660 invoked by uid 500); 26 May 2018 08:48:07 -0000 Mailing-List: contact dev-help@climate.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@climate.apache.org Delivered-To: mailing list dev@climate.apache.org Received: (qmail 75649 invoked by uid 99); 26 May 2018 08:48:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 May 2018 08:48:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 91A911A1BF0 for ; Sat, 26 May 2018 08:48:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id JpILsar7HTze for ; Sat, 26 May 2018 08:48:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 19BD65F57E for ; Sat, 26 May 2018 08:48:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5D7D2E02EC for ; Sat, 26 May 2018 08:48:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 157B72108B for ; Sat, 26 May 2018 08:48:00 +0000 (UTC) Date: Sat, 26 May 2018 08:48:00 +0000 (UTC) From: "Prateek Chanda (JIRA)" To: dev@climate.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLIMATE-803) AttributeError in Utils.py MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)