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

Dataset doesn't validate input parameters on init

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2-incubating
    • 0.3-incubating
    • analysis
    • None

    Description

      Dataset does not validate input parameter arrays on initialization. At the minimum it should validate that the received arrays have the proper shape.

      The lats, lons, and times arrays should all be single dimensional arrays: len(lats.shape) == 1
      The values array should be a three dimensional array: len(values.shape) == 3
      The values array dimensions should match the shape of the corresponding lats, lons, and times arrays. In other words, the first dimension of the values array should be the same length as the times array, the second dimension should match the lats array, and the third dimension should match the lons array.

      Attachments

        Activity

          People

            mjoyce Michael Joyce
            mjoyce Michael Joyce
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: