class_docstr: NetCDF4 reader for VIIRS Active Fires.
class_docstr_tok: ["NetCDF4","reader","for","VIIRS","Active","Fires","."]
docstr: Get the dataset.
docstr_tok: ["Get","the","dataset","."]
code: def get_dataset(self, dataset_id: DataID, info: dict) -> xr.DataArray:
      """Get the dataset."""
      data_arr = self.nc[info["file_key"]]
      data_arr = self._mask_invalid(data_arr, info)
      units = info.get("units", data_arr.attrs.get("units"))
      if units is None or units == "unitless":
          units = "1"
      if units == "%" and data_arr.attrs.get("units") in (
          "1",
          "unitless",
      ):
          data_arr *= 100.0  # turn into percentages
      data_arr.attrs["units"] = units
      if "standard_name" in info:
          data_arr.attrs["standard_name"] = info["standard_name"]
      self._decode_flag_meanings(data_arr)
      data_arr.attrs["platform_name"] = self.platform_name
      data_arr.attrs["sensor"] = self.sensor_name
      data_arr.attrs["rows_per_scan"] = self.rows_per_scans(data_arr)
      if data_arr.attrs.get("standard_name") in (
          "longitude",
          "latitude",
      ):
          # recursive swath definitions are a problem for the base reader right now
          # delete the coordinates here so the base reader doesn't try to
          # make a SwathDefinition
          data_arr = data_arr.reset_coords(drop=True)
  
      return self._rename_dims(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 3 for calling the VIIRSJRRFileHandler obj's underlying member method code with example usage: obj.get_dataset(dataset_id, info) and returns: self