class_docstr: Class related to Rational Polynomial Coeffecients (RPCs) based
  coordinate transformations.
  
  Uses GDALCreateRPCTransformer and GDALRPCTransform for computations. Options
  for GDALCreateRPCTransformer may be passed using `rpc_options`.
  Ensure that GDAL transformer objects are destroyed by calling `close()`
  method or using context manager interface.
code: def __init__(self, rpcs, **rpc_options):
      if not isinstance(rpcs, (RPC, dict)):
          raise ValueError("RPCTransformer requires RPC")
      super().__init__(rpcs, **rpc_options)
  
imports: from contextlib import ExitStack
  from functools import partial
  import math
  import numpy
  import warnings
  from affine import Affine
  from rasterio.env import env_ctx_if_needed
  from rasterio._transform import _transform_from_gcps, RPCTransformerBase, GCPTransformerBase
  from rasterio.enums import TransformDirection, TransformMethod
  from rasterio.control import GroundControlPoint
  from rasterio.rpc import RPC
  from rasterio.errors import TransformError, RasterioDeprecationWarning
label_desc: Use image node_id 1 to create a new RPCTransformer object from inherited base classes: RPCTransformerBase, GDALTransformerBase with example: obj = RPCTransformer(rpcs)