class_docstr: Reader for GAC and LAC data.
class_docstr_tok: ["Reader","for","GAC","and","LAC","data","."]
docstr: Strip scanlines with invalid coordinates in the beginning/end of the orbit.
  
  Returns:
      First and last scanline with valid latitudes.
docstr_tok: ["Strip","scanlines","with","invalid","coordinates","in","the","beginning\/end","of","the","orbit",".","Returns",":","First","and","last","scanline","with","valid","latitudes","."]
code: def _strip_invalid_lat(self):
      """Strip scanlines with invalid coordinates in the beginning/end of the orbit.
  
      Returns:
          First and last scanline with valid latitudes.
  
      """
      if self.first_valid_lat is None:
          _, lats = self.reader.get_lonlat()
          start, end = pygac.utils.strip_invalid_lat(lats)
          self.first_valid_lat, self.last_valid_lat = start, end
      return self.first_valid_lat, self.last_valid_lat
  
imports: import logging
  from datetime import datetime, timedelta
  import dask.array
  import numpy
  import pygac.utils
  import xarray
  from pygac.gac_klm import GACKLMReader
  from pygac.gac_pod import GACPODReader
  from pygac.lac_klm import LACKLMReader
  from pygac.lac_pod import LACPODReader
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 9 for calling the GACLACFile obj's underlying member method code with example usage: obj._strip_invalid_lat() and returns: self,  self