Return-Path: X-Original-To: apmail-climate-dev-archive@minotaur.apache.org Delivered-To: apmail-climate-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A74A18195 for ; Thu, 30 Jul 2015 17:22:33 +0000 (UTC) Received: (qmail 22703 invoked by uid 500); 30 Jul 2015 17:22:20 -0000 Delivered-To: apmail-climate-dev-archive@climate.apache.org Received: (qmail 22658 invoked by uid 500); 30 Jul 2015 17:22:20 -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 22647 invoked by uid 99); 30 Jul 2015 17:22:19 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2015 17:22:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7F6CCC0721 for ; Thu, 30 Jul 2015 17:22:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.991 X-Spam-Level: X-Spam-Status: No, score=0.991 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id wy4_k97zODgn for ; Thu, 30 Jul 2015 17:22:07 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 394D6210B2 for ; Thu, 30 Jul 2015 17:22:06 +0000 (UTC) Received: (qmail 22470 invoked by uid 99); 30 Jul 2015 17:22:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2015 17:22:05 +0000 Date: Thu, 30 Jul 2015 17:22:05 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@climate.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLIMATE-643) Updating some of examples 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-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647985#comment-14647985 ] ASF GitHub Bot commented on CLIMATE-643: ---------------------------------------- Github user MJJoyce commented on the pull request: https://github.com/apache/climate/pull/210#issuecomment-126409195 To give you an idea of what I'm talking about here @huikyole in case it's confusing. Here's an example of how I would have broken these down into multiple tickets and their relevant changes. New Ticket 1: This [new function](https://github.com/apache/climate/pull/210/files#diff-e41b7ee3c7e3b2339c964f6882ecfaa5R426) would be here. This [variable name update](https://github.com/apache/climate/pull/210/files#diff-e41b7ee3c7e3b2339c964f6882ecfaa5R409) is related so we could include that as well. Tests for the new function would be included in a commit in here as well. New Ticket 2: Missing data [changes](https://github.com/apache/climate/pull/210/files#diff-e41b7ee3c7e3b2339c964f6882ecfaa5R463) would fall in another ticket here. Tests for this new function would be here as well. New Ticket 3: [This is a propagation bug](https://github.com/apache/climate/pull/210/files#diff-e41b7ee3c7e3b2339c964f6882ecfaa5R463) for the existing values and would be its own ticket. New test would be included in here as well so we don't miss this bug in the future! New Ticket 4: Any change in [the CLI app](https://github.com/apache/climate/pull/210/files#diff-9e183b82ea6b20fcfefa86ca818c670eR19) that you have in here would be in another ticket. Would probably need to update tests if appropriate for the CLI (I'm not familiar w/ the code so I'm unsure if that's the case) This ticket: The changes in [examples/knmi_to_cru31_full_bias.py](https://github.com/apache/climate/pull/210/files#diff-a84c6055f2eee6f83c3eac5d00e324d0R28) would be in this ticket since it's the actual update to the example file. --- So, if these tickets build off of each other you would do something to the effect of: * Make feature branch off master for Ticket 1. Make changes, update tests, and make PR * Make feature branch off master for Ticket 2. Make changes, update tests, and make PR. When we merge Ticket 1/2 we will need to rebase this but that should be fine. The changes are obvious enough to make merging and issues easy/trivial. * Make feature branch for Ticket 3 off master. Make changes, write test, and make PR. Will need to rebase here as well when we merge but see above. Should be easy. * Make feature branch for Ticket 4 off master. Etc. * Make feature branch for this ticket. You will probably need to merge some of the stuff in the ticket 1, 2, and 3 feature branches in here so that way you have the changes that you need. When we merge the others into master it's simple enough to rebase again and include those relevant commits. --- Hopefully that helps. If you have questions let me know! > Updating some of examples > ------------------------- > > Key: CLIMATE-643 > URL: https://issues.apache.org/jira/browse/CLIMATE-643 > Project: Apache Open Climate Workbench > Issue Type: Improvement > Components: general > Affects Versions: 1.0.0 > Reporter: Huikyo Lee > Assignee: Huikyo Lee > Fix For: 1.0.0 > > > Paul L. suggested some ideas to update examples. For example, "knmi_to_cru_full_bias.py" needs to be updated with better description. The model to model bias could be replaced by model to observation data bias. The goal is providing 5 examples all based on an actual published papers. > Currently, OCW examples generate wrong results when there is missing data in observational datasets. It is important to mask those grid points with missing values in model datasets so that no metrics calculation is done at those grid points. In other words, if any of observation/model dataset has missing value at a grid point, we need to propagate the missing information to the other datasets. -- This message was sent by Atlassian JIRA (v6.3.4#6332)