class_docstr: Base class for reading JPSS VIIRS & ATMS SDR HDF5 Files.
docstr: Mask fill values.
docstr_tok: ["Mask","fill","values","."]
code: def mask_fill_values(self, data, ds_info):
      """Mask fill values."""
      is_floating = np.issubdtype(data.dtype, np.floating)
  
      if is_floating:
          # If the data is a float then we mask everything <= -999.0
          fill_max = np.float32(ds_info.pop("fill_max_float", -999.0))
          return data.where(data > fill_max, np.float32(np.nan))
      else:
          # If the data is an integer then we mask everything >= fill_min_int
          fill_min = int(ds_info.pop("fill_min_int", 65528))
          return data.where(data < fill_min, np.float32(np.nan))
  
imports: import logging
  from datetime import datetime, timedelta
  import dask.array
  import numpy
  import xarray
  from satpy.readers.hdf5_utils import HDF5FileHandler
label_desc: Use image node_id 25 for calling the JPSS_SDR_FileHandler obj's underlying member method code with example usage: obj.mask_fill_values(data, ds_info) and returns: data, data