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

RCMED data source loads datasets improperly based on day attribute of time values

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.3-incubating
    • 1.3.0
    • data sources
    • None

    Description

      When trying to load a dataset with `data_source.rcmed` where the time values don't fall on the first of the month the end time is not properly bounded.

      Consider CRU31, where the day values fall on the 15th of the month. Notice that the returned end time is not properly bounded by the passed end time.

      CRU31
      Passed start time: 1901-02-01 00:00:00
      Returned start time: 1901-02-15 00:00:00
      Passed end time: 1901-04-01 00:00:00
      Returned end time: 1901-04-15 00:00:00

      However, on TRMM, where the time values fall on the first, the values are properly bounded.

      TRMM
      Passed start time: 1998-02-01 00:00:00
      Returned start time: 1998-02-01 00:00:00
      Passed end time: 1998-03-01 00:00:00
      Returned end time: 1998-03-01 00:00:00

      Attachments

        1. test.py
          2 kB
          Michael Joyce

        Activity

          People

            michael.arthur.anderson@gmail.com Michael Anderson
            mjoyce Michael Joyce
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment