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

Create separate Base Classes for metric.py

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2-incubating
    • 0.3-incubating
    • metrics
    • None

    Description

      We currently have a single base class from which we inherit all metrics. This makes the code a bit ugly when we call a metric's 'run' function because we have to be flexible enough to accept a variable amount of datasets. So a unary metric's run function still takes an array of datasets even though that array will only have a single dataset in it.

      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: