class_docstr: Test various SAFE SAR L2 OCN file handlers.
docstr: Test getting a dataset.
docstr_tok: ["Test","getting","a","dataset","."]
code: def test_get_dataset(self):
      """Test getting a dataset."""
      for ch in self.channels:
          dt = self.reader.get_dataset(
              key=make_dataid(name=ch), info={}
          )
          # ... this only compares the valid (unmasked) elements
          assert np.all(
              self.nc[ch] == dt.to_masked_array()
          ), f"get_dataset() returns invalid data for dataset {ch}"
  
file_path: satpy/satpy/tests/reader_tests/test_safe_sar_l2_ocn.py
imports: import unittest
  import unittest.mock
  import numpy
  import xarray
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 3 for calling the TestSAFENC obj's underlying member method code with example usage: obj.test_get_dataset() without return types