class_docstr: Performs cartographic transformations. Converts from
  longitude, latitude to native map projection x,y coordinates and
  vice versa using PROJ (https://proj.org).
  
  Attributes
  ----------
  srs: str
      The string form of the user input used to create the Proj.
  crs: pyproj.crs.CRS
      The CRS object associated with the Proj.
class_docstr_tok: ["Performs","cartographic","transformations",".","Converts","from","longitude",",","latitude","to","native","map","projection","x",",","y","coordinates","and","vice","versa","using","PROJ","(","https",":","\/\/proj.org",")",".","Attributes","--","--","--","--","--","srs",":","str","The","string","form","of","the","user","input","used","to","create","the","Proj",".","crs",":","pyproj.crs.CRS","The","CRS","object","associated","with","the","Proj","."]
docstr: Calling a Proj class instance with the arguments lon, lat will
  convert lon/lat (in degrees) to x/y native map projection
  coordinates (in meters).
  
  Inputs should be doubles (they will be cast to doubles if they
  are not, causing a slight performance hit).
  
  Works with numpy and regular python array objects, python
  sequences and scalars, but is fastest for array objects.
  
  Accepted numeric scalar or array:
  
  - :class:`int`
  - :class:`float`
  - :class:`numpy.floating`
  - :class:`numpy.integer`
  - :class:`list`
  - :class:`tuple`
  - :class:`array.array`
  - :class:`numpy.ndarray`
  - :class:`xarray.DataArray`
  - :class:`pandas.Series`
  
  Parameters
  ----------
  longitude: scalar or array
      Input longitude coordinate(s).
  latitude: scalar or array
      Input latitude coordinate(s).
  inverse: bool, default=False
      If inverse is True the inverse transformation from x/y to
      lon/lat is performed.
  radians: bool, default=False
      If True, will expect input data to be in radians and will return radians
      if the projection is geographic. Otherwise, it uses degrees.
      This does not work with pyproj 2 and is ignored. It will be enabled again
      in pyproj 3.
  errcheck: bool, default=False
      If True, an exception is raised if the errors are found in the process.
      If False, ``inf`` is returned for errors.
  
  Returns
  -------
  tuple[Any, Any]:
      The transformed coordinates.
docstr_tok: ["Calling","a","Proj","class","instance","with","the","arguments","lon",",","lat","will","convert","lon\/lat","(","in","degrees",")","to","x\/y","native","map","projection","coordinates","(","in","meters",")",".","Inputs","should","be","doubles","(","they","will","be","cast","to","doubles","if","they","are","not",",","causing","a","slight","performance","hit",")",".","Works","with","numpy","and","regular","python","array","objects",",","python","sequences","and","scalars",",","but","is","fastest","for","array","objects",".","Accepted","numeric","scalar","or","array",":","-",":","class",":","`","int","`","-",":","class",":","`","float","`","-",":","class",":","`","numpy.floating","`","-",":","class",":","`","numpy.integer","`","-",":","class",":","`","list","`","-",":","class",":","`","tuple","`","-",":","class",":","`","array.array","`","-",":","class",":","`","numpy.ndarray","`","-",":","class",":","`","xarray.DataArray","`","-",":","class",":","`","pandas.Series","`","Parameters","--","--","--","--","--","longitude",":","scalar","or","array","Input","longitude","coordinate","(","s",")",".","latitude",":","scalar","or","array","Input","latitude","coordinate","(","s",")",".","inverse",":","bool",",","default=False","If","inverse","is","True","the","inverse","transformation","from","x\/y","to","lon\/lat","is","performed",".","radians",":","bool",",","default=False","If","True",",","will","expect","input","data","to","be","in","radians","and","will","return","radians","if","the","projection","is","geographic",".","Otherwise",",","it","uses","degrees",".","This","does","not","work","with","pyproj","2","and","is","ignored",".","It","will","be","enabled","again","in","pyproj","3.","errcheck",":","bool",",","default=False","If","True",",","an","exception","is","raised","if","the","errors","are","found","in","the","process",".","If","False",",","``","inf","``","is","returned","for","errors",".","Returns","--","--","--","-","tuple","[","Any",",","Any","]",":","The","transformed","coordinates","."]
code: def __call__(
      self,
      longitude: Any,
      latitude: Any,
      inverse: bool = False,
      errcheck: bool = False,
      radians: bool = False,
  ) -> tuple[Any, Any]:
      """
      Calling a Proj class instance with the arguments lon, lat will
      convert lon/lat (in degrees) to x/y native map projection
      coordinates (in meters).
  
      Inputs should be doubles (they will be cast to doubles if they
      are not, causing a slight performance hit).
  
      Works with numpy and regular python array objects, python
      sequences and scalars, but is fastest for array objects.
  
      Accepted numeric scalar or array:
  
      - :class:`int`
      - :class:`float`
      - :class:`numpy.floating`
      - :class:`numpy.integer`
      - :class:`list`
      - :class:`tuple`
      - :class:`array.array`
      - :class:`numpy.ndarray`
      - :class:`xarray.DataArray`
      - :class:`pandas.Series`
  
      Parameters
      ----------
      longitude: scalar or array
          Input longitude coordinate(s).
      latitude: scalar or array
          Input latitude coordinate(s).
      inverse: bool, default=False
          If inverse is True the inverse transformation from x/y to
          lon/lat is performed.
      radians: bool, default=False
          If True, will expect input data to be in radians and will return radians
          if the projection is geographic. Otherwise, it uses degrees.
          This does not work with pyproj 2 and is ignored. It will be enabled again
          in pyproj 3.
      errcheck: bool, default=False
          If True, an exception is raised if the errors are found in the process.
          If False, ``inf`` is returned for errors.
  
      Returns
      -------
      tuple[Any, Any]:
          The transformed coordinates.
      """
      if inverse:
          direction = TransformDirection.INVERSE
      else:
          direction = TransformDirection.FORWARD
      return self.transform(
          xx=longitude,
          yy=latitude,
          direction=direction,
          errcheck=errcheck,
          radians=radians,
      )
  
file_path: pyproj/pyproj/proj.py
imports: import re
  import warnings
  from typing import Any
  from pyproj._compat import cstrencode
  from pyproj._transformer import Factors
  from pyproj.crs import CRS
  from pyproj.enums import TransformDirection
  from pyproj.list import get_proj_operations_map
  from pyproj.transformer import Transformer, TransformerFromPipeline
  from pyproj.utils import _convertback, _copytobuffer
label_desc: Use image node_id 2 for calling the Proj obj's underlying member method code with example usage: obj.__call__(longitude, latitude, inverse, errcheck, radians) and returns: self