class_docstr: Generic file handler for GAASP output files.
class_docstr_tok: ["Generic","file","handler","for","GAASP","output","files","."]
code: def _nan_for_dtype(data_arr_dtype):
      # don't force the conversion from 32-bit float to 64-bit float
      # if we don't have to
      if data_arr_dtype.type == np.float32:
          return np.float32(np.nan)
      if np.issubdtype(data_arr_dtype, np.timedelta64):
          return np.timedelta64("NaT")
      if np.issubdtype(data_arr_dtype, np.datetime64):
          return np.datetime64("NaT")
      return np.nan
  
imports: import logging
  from datetime import datetime
  from typing import Tuple
  import numpy
  import xarray
  from pyproj import CRS
  from pyresample.geometry import AreaDefinition
  from satpy._compat import cached_property
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 8 for calling the GAASPFileHandler obj's underlying member method code with example usage: obj._nan_for_dtype(data_arr_dtype) and returns: np, np, np, np