class_docstr: Generic GRIB file handler.
class_docstr_tok: ["Generic","GRIB","file","handler","."]
code: def _get_corner_xy(proj_params, lons, lats, scans_positively):
      proj = Proj(**proj_params)
      x, y = proj(lons, lats)
      if scans_positively:
          min_x, min_y = x[0], y[0]
          max_x, max_y = x[3], y[3]
      else:
          min_x, min_y = x[2], y[2]
          max_x, max_y = x[1], y[1]
      return min_x, min_y, max_x, max_y
  
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 13 for calling the GRIBFileHandler obj's underlying member method code with example usage: obj._get_corner_xy(proj_params, lons, lats, scans_positively) and returns: min_x,  min_y,  max_x,  max_y