Uploaded image for project: 'Apache Open Climate Workbench (Retired)'
  1. Apache Open Climate Workbench (Retired)
  2. CLIMATE-897

Make sure shapes of numpy arrays contain only integer values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              agoodman Alex Goodman
              agoodman Alex Goodman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: