class_docstr: Reader class for ICI L1B products in netCDF format.
class_docstr_tok: ["Reader","class","for","ICI","L1B","products","in","netCDF","format","."]
docstr: Standardize dims to y, x.
code: def _standardize_dims(variable):
      """Standardize dims to y, x."""
      if "n_scan" in variable.dims:
          variable = variable.rename({"n_scan": "y"})
      if "n_samples" in variable.dims:
          variable = variable.rename({"n_samples": "x"})
      if variable.dims[0] == "x":
          variable = variable.transpose("y", "x")
      return variable
  
imports: import logging
  from datetime import datetime
  from enum import Enum
  from functools import cached_property
  import dask.array
  import numpy
  import xarray
  from geotiepoints.geointerpolator import GeoInterpolator
  from satpy.readers.netcdf_utils import NetCDF4FileHandler
label_desc: Use image node_id 22 for calling the IciL1bNCFileHandler obj's underlying member method code with example usage: obj._standardize_dims(variable) and returns: variable