code: def gen_rpcs():
      with rasterio.open("tests/data/RGB.byte.rpc.vrt") as src:
          return src.rpcs
  
file_path: rasterio/tests/test_warnings.py
imports: import rasterio
  from rasterio.errors import NodataShadowWarning, NotGeoreferencedWarning
  from affine import Affine
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: gen_rpcs() and returns: src