code: def test_read_vrt_rpcs(tmpdir):
      vrtfile = tmpdir.join("test.vrt")
      vrtfile.write(
          """
  <VRTDataset rasterXSize="512" rasterYSize="512">
  <Metadata domain="RPC">
      <MDI key="ERR_BIAS">5.000000000000000e-01</MDI>
      <MDI key="ERR_RAND">5.000000000000000e-01</MDI>
      <MDI key="HEIGHT_OFF">8.900000000000000e+01</MDI>
      <MDI key="HEIGHT_SCALE">7.010000000000000e+02</MDI>
      <MDI key="LAT_OFF">4.921990000000000e+01</MDI>
      <MDI key="LAT_SCALE">3.093000000000000e-01</MDI>
      <MDI key="LINE_DEN_COEFF">1.000000000000000e+00 9.222511757408093e-04 9.437608823165506e-04 0.000000000000000e+00 3.227813186168402e-07 0.000000000000000e+00 -1.209023819818124e-08 1.847595567040099e-06 5.799102000140301e-07 -4.460833665210641e-07 0.000000000000000e+00 0.000000000000000e+00 -6.034797295293836e-08 0.000000000000000e+00 1.667569505660956e-07 -2.974442475526043e-08 0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00</MDI>
      <MDI key="LINE_NUM_COEFF">2.001303029283497e-03 -1.860717345625879e-01 -1.127856422682348e+00 -4.632230551975493e-05 1.019881908582774e-03 5.673855447822687e-08 -8.698433522294479e-08 -3.226759855088540e-03 -1.332756784778704e-03 0.000000000000000e+00 1.215249975522747e-08 -7.132377372126199e-07 2.017197679474549e-06 8.275158167048898e-08 -1.210585983708413e-06 -1.078353887170730e-06 5.032973521799926e-07 0.000000000000000e+00 1.716128319528072e-08 0.000000000000000e+00</MDI>
      <MDI key="LINE_OFF">5760</MDI>
      <MDI key="LINE_SCALE">5761</MDI>
      <MDI key="LONG_OFF">-1.231760000000000e+02</MDI>
      <MDI key="LONG_SCALE">4.534000000000000e-01</MDI>
      <MDI key="SAMP_DEN_COEFF">1.000000000000000e+00 9.278262976396983e-05 1.781926782031641e-03 -6.510570023623242e-04 -2.216055849873611e-04 9.161290674286373e-07 3.126587074446549e-06 3.565361629769621e-04 -2.582447705973245e-05 -9.228544337667984e-05 5.298085166219470e-07 1.025006482963347e-05 7.478466127324454e-07 -1.692384939549647e-06 -1.124443674146492e-05 -1.793628425616464e-07 -2.791740249303018e-07 -2.820306656137878e-07 4.593502012060843e-08 1.035174961061441e-07</MDI>
      <MDI key="SAMP_NUM_COEFF">2.202618393703774e-02 1.185886131197477e+00 -2.151710781539888e-01 3.045218075295352e-02 2.420581655336635e-03 -4.398438360671764e-06 5.871407208028941e-05 -2.166676957828599e-02 -4.180699044156175e-04 -2.753492566174621e-05 -7.124639699900795e-06 -1.101195320211651e-05 -1.119110912711932e-04 -1.096184653732520e-04 1.183590823839227e-04 1.382552349641905e-05 1.997075688106731e-05 2.673528192748438e-05 -1.230207121465409e-06 -2.830467933081173e-06</MDI>
      <MDI key="SAMP_OFF">3724</MDI>
      <MDI key="SAMP_SCALE">3725</MDI>
    </Metadata>
  <VRTRasterBand dataType="Byte" band="1">
      <ColorInterp>Gray</ColorInterp>
      <SimpleSource>
      <SourceFilename relativeToVRT="0">tests/data/RGB.byte.tif</SourceFilename>
      <SourceBand>1</SourceBand>
      <SrcRect xOff="0" yOff="0" xSize="512" ySize="512"/>
      <DstRect xOff="0" yOff="0" xSize="512" ySize="512"/>
      </SimpleSource>
  </VRTRasterBand>
  </VRTDataset>
      """
      )
  
      with rasterio.open(str(vrtfile)) as src:
          rpcs = src.rpcs
          assert rpcs
  
file_path: rasterio/tests/test_rpcs.py
imports: import rasterio
  from rasterio.rpc import RPC
label_desc: Use image node_id 5 for calling a global function with example usage: test_read_vrt_rpcs(tmpdir) without return types