class_docstr: Generic GRIB file handler.
class_docstr_tok: ["Generic","GRIB","file","handler","."]
code: def _get_corner_lonlat(proj_params, lons, lats):
      # take the corner points only
      lons = lons[([0, 0, -1, -1], [0, -1, 0, -1])]
      lats = lats[([0, 0, -1, -1], [0, -1, 0, -1])]
      # if we have longitudes over 180, assume 0-360
      if (lons > 180).any():
          # make 180 longitude the prime meridian
          proj_params["pm"] = 180
      return proj_params, lons, lats
  
imports: import logging
  from datetime import datetime
  import dask.array
  import numpy
  import pygrib
  import xarray
  from pyproj import Proj
  from pyresample import geometry
  from satpy.dataset import DataQuery
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 14 for calling the GRIBFileHandler obj's underlying member method code with example usage: obj._get_corner_lonlat(proj_params, lons, lats) and returns: proj_params,  lons,  lats