Uploaded image for project: 'JASMIN CIS'
  1. JASMIN CIS
  2. JASCIS-374

Interpolation fails when 4-D auxilliary (but not derived) coordinates need transposing

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5
    • Fix Version/s: 2.0
    • Component/s: Co-location
    • Labels:
      None

      Description

      In Gridded->ungridded the gridded dataset is sometimes transposed to move the vertical dimension to the outer-most (last) dimension. Associated 4D derived coordinates (e.g. air pressure) are automatically updated but auxilliary coordinates are just remaped - this causes an index loop up error when applying the vertical interpolation:
      "
      ....
          hybrid_indices = [self.indices[i] for i in hybrid_interp_dims]
      IndexError: list index out of range
      "

      One fix would be to look for these Aux coords and transpose them too, otherwise we'd have to apply some operation to the indices

        Attachments

          Activity

            People

            Assignee:
            duncan.watson-parris@physics.ox.ac.uk Duncan Watson-Parris
            Reporter:
            duncan.watson-parris@physics.ox.ac.uk Duncan Watson-Parris
            Participants:
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: