class_docstr: A file handler class for VIIRS compact format.
class_docstr_tok: ["A","file","handler","class","for","VIIRS","compact","format","."]
docstr: Generate the navigation datasets.
docstr_tok: ["Generate","the","navigation","datasets","."]
code: def navigate(self):
      """Generate the navigation datasets."""
      chunks = self._get_geographical_chunks()
      lon = da.from_array(self.geography["Longitude"], chunks=chunks)
      lat = da.from_array(self.geography["Latitude"], chunks=chunks)
      if self.switch_to_cart:
          arrays = lonlat2xyz(lon, lat)
      else:
          arrays = (lon, lat)
  
      expanded = self.expand_angle_and_nav(arrays)
      if self.switch_to_cart:
          return xyz2lonlat(*expanded)
  
      return expanded
  
imports: import logging
  from contextlib import suppress
  from datetime import datetime, timedelta
  import dask.array
  import h5py
  import numpy
  import xarray
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.readers.utils import np2str
  from satpy.utils import angle2xyz, get_legacy_chunk_size, lonlat2xyz, xyz2angle, xyz2lonlat
label_desc: Use image node_id 11 for calling the VIIRSCompactFileHandler obj's underlying member method code with example usage: obj.navigate() and returns: expanded, xyz2lonlat