XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      Subset function line 356

          355     if target_dataset.lats.ndim ==2 and target_dataset.lons.ndim ==2:
      --> 356         target_dataset = temporal_slice(subregion.start, subregion.end, target_dataset)
          357         nt, ny, nx = target_dataset.values.shape
          358         y_index, x_index = np.where((target_dataset.lats >= subregion.lat_max) | (target_dataset.lats <= subregion.lat_min) |
      

      temporal_slice expects indices of the time in target_dataset.times array. The actual datetime objects are being passed in this case.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jarifibrahim Ibrahim Jarif
                Reporter:
                jarifibrahim Ibrahim Jarif
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: