class_docstr: NetCDF4 reader for VIIRS Active Fires.
class_docstr_tok: ["NetCDF4","reader","for","VIIRS","Active","Fires","."]
code: def _rename_dims(data_arr: xr.DataArray) -> xr.DataArray:
      if "Columns" in data_arr.dims:
          data_arr = data_arr.rename({"Columns": "x", "Rows": "y"})
      if "Along_Track_375m" in data_arr.dims:
          data_arr = data_arr.rename(
              {"Along_Scan_375m": "x", "Along_Track_375m": "y"}
          )
      if "Along_Track_750m" in data_arr.dims:
          data_arr = data_arr.rename(
              {"Along_Scan_750m": "x", "Along_Track_750m": "y"}
          )
      return data_arr
  
imports: from __future__ import annotations
  import logging
  from typing import Iterable
  import dask.array
  import xarray
  from satpy import DataID
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_chunk_size_limit
label_desc: Use image node_id 6 for calling the VIIRSJRRFileHandler obj's underlying member method code with example usage: obj._rename_dims(data_arr) and returns: data_arr