class_docstr: Unit tests for FIDUCEO MVIRI file handlers.
class_docstr_tok: ["Unit","tests","for","FIDUCEO","MVIRI","file","handlers","."]
docstr: Test getting datasets with known corruptions.
docstr_tok: ["Test","getting","datasets","with","known","corruptions","."]
code: def test_get_dataset_corrupt(self, file_handler):
      """Test getting datasets with known corruptions."""
      # Time may have different names and satellite position might be missing
      file_handler.nc.nc = file_handler.nc.nc.rename(
          {"time_ir_wv": "time"}
      )
      file_handler.nc.nc = file_handler.nc.nc.drop_vars(
          ["sub_satellite_longitude_start"]
      )
  
      dataset_id = make_dataid(
          name="VIS", calibration="reflectance", resolution=2250
      )
      ds = file_handler.get_dataset(dataset_id, {"platform": "MET7"})
      assert (
          "actual_satellite_longitude"
          not in ds.attrs["orbital_parameters"]
      )
      assert (
          "actual_satellite_latitude"
          not in ds.attrs["orbital_parameters"]
      )
      xr.testing.assert_allclose(ds, vis_refl_exp)
  
imports: from __future__ import annotations
  import os
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from pyproj import CRS
  from pyresample.geometry import AreaDefinition
  from satpy.readers.mviri_l1b_fiduceo_nc import ALTITUDE, EQUATOR_RADIUS, POLE_RADIUS, DatasetWrapper, FiduceoMviriEasyFcdrFileHandler, FiduceoMviriFullFcdrFileHandler
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 3 for calling the TestFiduceoMviriFileHandlers obj's underlying member method code with example usage: obj.test_get_dataset_corrupt(file_handler) without return types