class_docstr: File handler for Himawari L2 NOAA enterprise data in netCDF format.
class_docstr_tok: ["File","handler","for","Himawari","L2","NOAA","enterprise","data","in","netCDF","format","."]
docstr: Initialize the reader.
docstr_tok: ["Initialize","the","reader","."]
code: def __init__(self, filename, filename_info, filetype_info):
      """Initialize the reader."""
      super().__init__(filename, filename_info, filetype_info)
      self.nc = xr.open_dataset(
          self.filename,
          decode_cf=True,
          mask_and_scale=False,
          chunks={"xc": "auto", "yc": "auto"},
      )
  
      # Check that file is a full disk scene, we don't know the area for anything else
      if self.nc.attrs["cdm_data_type"] != EXPECTED_DATA_AREA:
          raise ValueError("File is not a full disk scene")
  
      self.sensor = self.nc.attrs["instrument_name"].lower()
      self.nlines = self.nc.sizes["Columns"]
      self.ncols = self.nc.sizes["Rows"]
      self.platform_name = self.nc.attrs["satellite_name"]
      self.platform_shortname = filename_info["platform"]
      self._meta = None
  
file_path: satpy/satpy/readers/ahi_l2_nc.py
imports: import logging
  from datetime import datetime
  import xarray
  from satpy._compat import cached_property
  from satpy.readers._geos_area import get_area_definition, get_area_extent
  from satpy.readers.file_handlers import BaseFileHandler
label_desc: Use image node_id 1 to create a new HIML2NCFileHandler object from inherited base classes: BaseFileHandler with example: obj = HIML2NCFileHandler(filename, filename_info, filetype_info)