class_docstr: A base class for the CLAVRx File Handlers.
class_docstr_tok: ["A","base","class","for","the","CLAVRx","File","Handlers","."]
code: def _area_extent(x, y, h: float):
      x_l = h * x[0]
      x_r = h * x[-1]
      y_l = h * y[-1]
      y_u = h * y[0]
      ncols = x.shape[0]
      nlines = y.shape[0]
      x_half = (x_r - x_l) / (ncols - 1) / 2.0
      y_half = (y_u - y_l) / (nlines - 1) / 2.0
      area_extent = (
          x_l - x_half,
          y_l - y_half,
          x_r + x_half,
          y_u + y_half,
      )
      return area_extent, ncols, nlines
  
imports: import logging
  import os
  from glob import glob
  from typing import Optional, Union
  import netCDF4
  import numpy
  import xarray
  from pyresample import geometry
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.readers.hdf4_utils import SDS, HDF4FileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 4 for calling the _CLAVRxHelper obj's underlying member method code with example usage: obj._area_extent(x, y, h) and returns: area_extent,  ncols,  nlines