class_docstr: Testcase for dataset metadata.
class_docstr_tok: ["Testcase","for","dataset","metadata","."]
docstr: Get longitudes and latitudes.
code: def lons_lats(self, yaw_flip):
      """Get longitudes and latitudes."""
      lon = xr.DataArray(
          [[-1, 0, 1, 2], [-1, 0, 1, 2], [-1, 0, 1, 2]],
          dims=("yc", "xc"),
      )
      lat = xr.DataArray(
          [[9999, 9999, 9999, 9999], [1, 1, 1, 1], [-1, -1, -1, -1]],
          dims=("yc", "xc"),
      )
      self._apply_yaw_flip(lat, yaw_flip)
      return lon, lat
  
imports: import datetime
  import unittest
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy.readers.goes_imager_nc import is_vis_channel
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 4 for calling the TestMetadata obj's underlying member method code with example usage: obj.lons_lats(yaw_flip) and returns: lon,  lat