class_docstr: NetCDF4 file handler using fsspec to read files remotely.
class_docstr_tok: ["NetCDF4","file","handler","using","fsspec","to","read","files","remotely","."]
code: def _get_file_handle(self):
      try:
          # Default to using NetCDF4 backend for local files
          return super()._get_file_handle()
      except OSError:
          # The netCDF4 lib raises either FileNotFoundError or OSError for remote files. OSError catches both.
          import h5netcdf
  
          f_obj = open_file_or_filename(self.filename)
          self._use_h5netcdf = True
          return h5netcdf.File(f_obj, "r")
  
imports: import logging
  import dask.array
  import netCDF4
  import numpy
  import xarray
  from satpy.readers import open_file_or_filename
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.readers.utils import np2str
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 1 for calling the NetCDF4FsspecFileHandler obj's underlying member method code with example usage: obj._get_file_handle() and returns: super, h5netcdf