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

Expanded (1D->2D) coordinates lose their mask

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6
    • Component/s: Data Product
    • Labels:
      None

      Description

      The cis.utils.expand_1d_to_2d_array function, which is used in some plugins for expanding coordinates, loses the mask of masked arrays.

      See this StackOverflow question for solutions: https://stackoverflow.com/questions/47453085/numpy-broadcast-to-for-masked-array/47453710#47453710

        Attachments

          Activity

            People

            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: