class_docstr: NetCDF4 reader for MIMC TPW.
class_docstr_tok: ["NetCDF4","reader","for","MIMC","TPW","."]
docstr: Load dataset designated by the given key from file.
docstr_tok: ["Load","dataset","designated","by","the","given","key","from","file","."]
code: def get_dataset(self, ds_id, info):
      """Load dataset designated by the given key from file."""
      logger.debug("Getting data for: %s", ds_id["name"])
      file_key = info.get("file_key", ds_id["name"])
      data = np.flipud(self[file_key])
      data = xr.DataArray(data, dims=["y", "x"])
      data.attrs = self.get_metadata(data, info)
  
      if "lon" in data.dims:
          data.rename({"lon": "x"})
      if "lat" in data.dims:
          data.rename({"lat": "y"})
  
      return data
  
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 3 for calling the MimicTPW2FileHandler obj's underlying member method code with example usage: obj.get_dataset(ds_id, info) and returns: data