You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Alex Goodman (JIRA)" <ji...@apache.org> on 2017/02/24 00:31:44 UTC

[jira] [Resolved] (CLIMATE-897) Make sure shapes of numpy arrays contain only integer values

     [ https://issues.apache.org/jira/browse/CLIMATE-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Goodman resolved CLIMATE-897.
----------------------------------
    Resolution: Fixed

> Make sure shapes of numpy arrays contain only integer values
> ------------------------------------------------------------
>
>                 Key: CLIMATE-897
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-897
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>          Components: regridding/data processing
>            Reporter: Alex Goodman
>            Assignee: Alex Goodman
>             Fix For: 1.2.0
>
>
> For python 3, floor division is done with a new operator (//). And newer versions of numpy require all shape values to be integers. This leads to errors when running ocw with python 3 in a few places since some shapes are generated using the old division operator (/) which generates a float in python 3. See: https://travis-ci.org/agoodm/climate/jobs/204421839



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)