class_docstr: Test the FciL2NCSegmentFileHandler reader.
class_docstr_tok: ["Test","the","FciL2NCSegmentFileHandler","reader","."]
code: def _get_unique_array(iarr, jarr):
      if not hasattr(iarr, "__iter__"):
          iarr = [iarr]
  
      if not hasattr(jarr, "__iter__"):
          jarr = [jarr]
  
      array = np.zeros((348, 348, 8, 6))
      for i in iarr:
          for j in jarr:
              array[:, :, i, j] = (i * 10) + j
  
      array = array[:, :, list(iarr), :]
      array = array[:, :, :, list(jarr)]
  
      return np.squeeze(array)
  
imports: import os
  import unittest
  import uuid
  from contextlib import suppress
  from unittest import mock
  import numpy
  import pytest
  from netCDF4 import Dataset
  from pyresample import geometry
  from satpy.readers.fci_l2_nc import FciL2NCAMVFileHandler, FciL2NCFileHandler, FciL2NCSegmentFileHandler
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 13 for calling the TestFciL2NCSegmentFileHandler obj's underlying member method code with example usage: obj._get_unique_array(iarr, jarr) and returns: np