class_docstr: Generic GRIB file handler.
class_docstr_tok: ["Generic","GRIB","file","handler","."]
code: def _get_cyl_minmax_lonlat(lons, lats):
      min_lon = lons[0]
      max_lon = lons[-1]
      min_lat = lats[0]
      max_lat = lats[-1]
      if min_lat > max_lat:
          # lats aren't in the order we thought they were, flip them
          min_lat, max_lat = max_lat, min_lat
      return min_lon, min_lat, max_lon, max_lat
  
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 10 for calling the GRIBFileHandler obj's underlying member method code with example usage: obj._get_cyl_minmax_lonlat(lons, lats) and returns: min_lon,  min_lat,  max_lon,  max_lat