code: def ds_cT(ds, x, y, xy_srs=wgs_srs):
      
      #Convert lat/lon to projected srs
      ds_srs = get_ds_srs(ds)
      #If xy_srs is undefined, assume it is the same as ds_srs
      mX = x
      mY = y
      if xy_srs is not None:
          if not ds_srs.IsSame(xy_srs):
              mX, mY, mZ = cT_helper(x, y, 0, xy_srs, ds_srs)
      return mX, mY
docs: Convert input point coordinates to map coordinates that match input dataset