class_docstr: Test the GACLAC file handler.
docstr: Test stripping invalid coordinates.
code: def test_strip_invalid_lat(self):
      """Test stripping invalid coordinates."""
      import pygac.utils
  
      reader = mock.MagicMock()
      reader.get_lonlat.return_value = None, None
      fh = _get_fh_mocked(reader=reader, first_valid_lat=None)
  
      # Test stripping
      pygac.utils.strip_invalid_lat.return_value = 1, 2
      start, end = fh._strip_invalid_lat()
      assert (start, end) == (1, 2)
  
      # Test buffering
      fh._strip_invalid_lat()
      pygac.utils.strip_invalid_lat.assert_called_once()
  
imports: from datetime import datetime
  from unittest import TestCase, mock
  import dask.array
  import numpy
  import pytest
  import xarray
label_desc: Use image node_id 10 for calling the TestGACLACFile obj's underlying member method code with example usage: obj.test_strip_invalid_lat() without return types