class_docstr: Swap-in NetCDF4 File Handler.
class_docstr_tok: ["Swap-in","NetCDF4","File","Handler","."]
docstr: Set dataset-specific metadata.
docstr_tok: ["Set","dataset-specific","metadata","."]
code: def _set_dataset_specific_metadata(file_content):
      """Set dataset-specific metadata."""
      for k in list(file_content.keys()):
          if not k.startswith("observation_data") and not k.startswith(
              "geolocation_data"
          ):
              continue
          file_content[k + "/shape"] = DEFAULT_FILE_SHAPE
          if k[-3:] in [
              "M12",
              "M13",
              "M14",
              "M15",
              "M16",
              "I04",
              "I05",
          ]:
              file_content[
                  k + "_brightness_temperature_lut"
              ] = DEFAULT_FILE_DATA.ravel()
              file_content[
                  k + "_brightness_temperature_lut/attr/units"
              ] = "Kelvin"
              file_content[
                  k + "_brightness_temperature_lut/attr/valid_min"
              ] = 0
              file_content[
                  k + "_brightness_temperature_lut/attr/valid_max"
              ] = 65534
              file_content[
                  k + "_brightness_temperature_lut/attr/_FillValue"
              ] = 65535
              file_content[
                  k + "/attr/units"
              ] = "Watts/meter^2/steradian/micrometer"
          elif k[-3:] in [
              "M01",
              "M02",
              "M03",
              "M04",
              "M05",
              "M06",
              "M07",
              "M08",
              "M09",
              "M10",
              "M11",
              "I01",
              "I02",
              "I03",
          ]:
              file_content[
                  k + "/attr/radiance_units"
              ] = "Watts/meter^2/steradian/micrometer"
              file_content[k + "/attr/radiance_scale_factor"] = 1.1
              file_content[k + "/attr/radiance_add_offset"] = 0.1
          elif k.endswith("longitude"):
              file_content[k + "/attr/units"] = "degrees_east"
          elif k.endswith("latitude"):
              file_content[k + "/attr/units"] = "degrees_north"
          elif k.endswith("zenith") or k.endswith("azimuth"):
              file_content[k + "/attr/units"] = "degrees"
          file_content[k + "/attr/valid_min"] = 0
          file_content[k + "/attr/valid_max"] = 65534
          file_content[k + "/attr/_FillValue"] = 65535
          file_content[k + "/attr/scale_factor"] = 1.1
          file_content[k + "/attr/add_offset"] = 0.1
  
imports: import os
  from datetime import datetime, timedelta
  from unittest import mock
  import numpy
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
  from satpy.tests.utils import convert_file_content_to_data_array
label_desc: Use image node_id 3 for calling the FakeNetCDF4FileHandlerDay obj's underlying member method code with example usage: obj._set_dataset_specific_metadata(file_content) without return types