class_docstr: NetCDF4 reader for MIMC TPW.
class_docstr_tok: ["NetCDF4","reader","for","MIMC","TPW","."]
docstr: Flip data up/down and define equirectangular AreaDefintion.
docstr_tok: ["Flip","data","up\/down","and","define","equirectangular","AreaDefintion","."]
code: def get_area_def(self, dsid):
      """Flip data up/down and define equirectangular AreaDefintion."""
      flip_lat = np.flipud(self["latArr"])
      latlon = np.meshgrid(self["lonArr"], flip_lat)
  
      width = self["lonArr/shape"][0]
      height = self["latArr/shape"][0]
  
      lower_left_x = latlon[0][height - 1][0]
      lower_left_y = latlon[1][height - 1][0]
  
      upper_right_y = latlon[1][0][width - 1]
      upper_right_x = latlon[0][0][width - 1]
  
      area_extent = (
          lower_left_x,
          lower_left_y,
          upper_right_x,
          upper_right_y,
      )
      description = "MIMIC TPW WGS84"
      area_id = "mimic"
      proj_id = "World Geodetic System 1984"
      projection = "EPSG:4326"
      area_def = AreaDefinition(
          area_id,
          description,
          proj_id,
          projection,
          width,
          height,
          area_extent,
      )
      return area_def
  
file_path: satpy/satpy/readers/mimic_TPW2_nc.py
imports: import logging
  import numpy
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy.readers.netcdf_utils import NetCDF4FileHandler, netCDF4
label_desc: Use image node_id 4 for calling the MimicTPW2FileHandler obj's underlying member method code with example usage: obj.get_area_def(dsid) and returns: area_def