# Don't edit: generated by OperationsToWrappers.xsl
import pcraster._pcraster as _pcraster
import pcraster

def ifthen(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif (isinstance(arg1, int) or isinstance(arg1, float)) and not arg2.isSpatial():
      arg1 = pcraster.spatial(pcraster.boolean(arg1))
    elif isinstance(arg1, pcraster.Field) and not arg2.isSpatial():
      arg1 = pcraster.spatial(pcraster.boolean(arg1))
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_IFTHEN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("ifthen: %s" % (str(exception)))
def ifthenelse(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_IFTHENELSE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("ifthenelse: %s" % (str(exception)))
def pcrne(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_NE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrne: %s" % (str(exception)))
def pcreq(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_EQ)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcreq: %s" % (str(exception)))
def pcrgt(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_GT)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrgt: %s" % (str(exception)))
def pcrge(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_GE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrge: %s" % (str(exception)))
def pcrlt(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LT)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrlt: %s" % (str(exception)))
def pcrle(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrle: %s" % (str(exception)))
def min(arg1, *arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    arg2 = list(arg2)
    for i in range(len(arg2)):
      if isinstance(arg2[i], str):
        arg2[i] = _pcraster.readmap(arg2[i])
      elif isinstance(arg2[i], int) or isinstance(arg2[i], float):
        arg2[i] = _pcraster._newNonSpatialField(arg2[i])
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MIN)
    results = []
    for i in range(len(arg2)):
      _pcraster._rte().pushField(arg1)
      _pcraster._rte().pushField(arg2[i])
      _pcraster._rte().checkAndExec(operator, 2)
      arg1 = _pcraster._rte().releasePopField()
    results.append(arg1)
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("min: %s" % (str(exception)))
def max(arg1, *arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    arg2 = list(arg2)
    for i in range(len(arg2)):
      if isinstance(arg2[i], str):
        arg2[i] = _pcraster.readmap(arg2[i])
      elif isinstance(arg2[i], int) or isinstance(arg2[i], float):
        arg2[i] = _pcraster._newNonSpatialField(arg2[i])
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MAX)
    results = []
    for i in range(len(arg2)):
      _pcraster._rte().pushField(arg1)
      _pcraster._rte().pushField(arg2[i])
      _pcraster._rte().checkAndExec(operator, 2)
      arg1 = _pcraster._rte().releasePopField()
    results.append(arg1)
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("max: %s" % (str(exception)))
def cover(arg1, *arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    arg2 = list(arg2)
    for i in range(len(arg2)):
      if isinstance(arg2[i], str):
        arg2[i] = _pcraster.readmap(arg2[i])
      elif isinstance(arg2[i], int) or isinstance(arg2[i], float):
        arg2[i] = _pcraster._newNonSpatialField(arg2[i])
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_COVER)
    results = []
    for i in range(len(arg2)):
      _pcraster._rte().pushField(arg1)
      _pcraster._rte().pushField(arg2[i])
      _pcraster._rte().checkAndExec(operator, 2)
      arg1 = _pcraster._rte().releasePopField()
    results.append(arg1)
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("cover: %s" % (str(exception)))
def timeinput(arg1):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIMEINPUT)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("timeinput: %s" % (str(exception)))
def timeinputsparse(arg1):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIMEINPUTSPARSE)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("timeinputsparse: %s" % (str(exception)))
def timeinputmodulo(arg1, arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIMEINPUTMODULO)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("timeinputmodulo: %s" % (str(exception)))
def lookupmapstack(arg1, arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOOKUPMAPSTACK)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lookupmapstack: %s" % (str(exception)))
def spreadmax(arg1, arg2, arg3, arg4):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SPREADMAX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().checkAndExec(operator, 4)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("spreadmax: %s" % (str(exception)))
def spreadmaxzone(arg1, arg2, arg3, arg4):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SPREADMAXZONE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().checkAndExec(operator, 4)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("spreadmaxzone: %s" % (str(exception)))
def spread(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SPREAD)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("spread: %s" % (str(exception)))
def spreadzone(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SPREADZONE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("spreadzone: %s" % (str(exception)))
def spreadldd(arg1, arg2, arg3, arg4):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SPREADLDD)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().checkAndExec(operator, 4)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("spreadldd: %s" % (str(exception)))
def spreadlddzone(arg1, arg2, arg3, arg4):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SPREADLDDZONE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().checkAndExec(operator, 4)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("spreadlddzone: %s" % (str(exception)))
def dynamicwaveq(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    if isinstance(arg6, str):
      arg6 = _pcraster.readmap(arg6)
    elif isinstance(arg6, int) or isinstance(arg6, float):
      arg6 = _pcraster._newNonSpatialField(arg6)
    if isinstance(arg7, str):
      arg7 = _pcraster.readmap(arg7)
    elif isinstance(arg7, int) or isinstance(arg7, float):
      arg7 = _pcraster._newNonSpatialField(arg7)
    if isinstance(arg8, str):
      arg8 = _pcraster.readmap(arg8)
    elif isinstance(arg8, int) or isinstance(arg8, float):
      arg8 = _pcraster._newNonSpatialField(arg8)
    if isinstance(arg9, str):
      arg9 = _pcraster.readmap(arg9)
    elif isinstance(arg9, int) or isinstance(arg9, float):
      arg9 = _pcraster._newNonSpatialField(arg9)
    if isinstance(arg10, str):
      arg10 = _pcraster.readmap(arg10)
    elif isinstance(arg10, int) or isinstance(arg10, float):
      arg10 = _pcraster._newNonSpatialField(arg10)
    if isinstance(arg11, str):
      arg11 = _pcraster.readmap(arg11)
    elif isinstance(arg11, int) or isinstance(arg11, float):
      arg11 = _pcraster._newNonSpatialField(arg11)
    if isinstance(arg12, str):
      arg12 = _pcraster.readmap(arg12)
    elif isinstance(arg12, int) or isinstance(arg12, float):
      arg12 = _pcraster._newNonSpatialField(arg12)
    if isinstance(arg13, str):
      arg13 = _pcraster.readmap(arg13)
    elif isinstance(arg13, int) or isinstance(arg13, float):
      arg13 = _pcraster._newNonSpatialField(arg13)
    if isinstance(arg14, str):
      arg14 = _pcraster.readmap(arg14)
    elif isinstance(arg14, int) or isinstance(arg14, float):
      arg14 = _pcraster._newNonSpatialField(arg14)
    if isinstance(arg15, str):
      arg15 = _pcraster.readmap(arg15)
    elif isinstance(arg15, int) or isinstance(arg15, float):
      arg15 = _pcraster._newNonSpatialField(arg15)
    if isinstance(arg16, str):
      arg16 = _pcraster.readmap(arg16)
    elif isinstance(arg16, int) or isinstance(arg16, float):
      arg16 = _pcraster._newNonSpatialField(arg16)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DYNAMICWAVEQ)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().pushField(arg6)
    _pcraster._rte().pushField(arg7)
    _pcraster._rte().pushField(arg8)
    _pcraster._rte().pushField(arg9)
    _pcraster._rte().pushField(arg10)
    _pcraster._rte().pushField(arg11)
    _pcraster._rte().pushField(arg12)
    _pcraster._rte().pushField(arg13)
    _pcraster._rte().pushField(arg14)
    _pcraster._rte().pushField(arg15)
    _pcraster._rte().pushField(arg16)
    _pcraster._rte().checkAndExec(operator, 16)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("dynamicwaveq: %s" % (str(exception)))
def dynamicwaveh(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    if isinstance(arg6, str):
      arg6 = _pcraster.readmap(arg6)
    elif isinstance(arg6, int) or isinstance(arg6, float):
      arg6 = _pcraster._newNonSpatialField(arg6)
    if isinstance(arg7, str):
      arg7 = _pcraster.readmap(arg7)
    elif isinstance(arg7, int) or isinstance(arg7, float):
      arg7 = _pcraster._newNonSpatialField(arg7)
    if isinstance(arg8, str):
      arg8 = _pcraster.readmap(arg8)
    elif isinstance(arg8, int) or isinstance(arg8, float):
      arg8 = _pcraster._newNonSpatialField(arg8)
    if isinstance(arg9, str):
      arg9 = _pcraster.readmap(arg9)
    elif isinstance(arg9, int) or isinstance(arg9, float):
      arg9 = _pcraster._newNonSpatialField(arg9)
    if isinstance(arg10, str):
      arg10 = _pcraster.readmap(arg10)
    elif isinstance(arg10, int) or isinstance(arg10, float):
      arg10 = _pcraster._newNonSpatialField(arg10)
    if isinstance(arg11, str):
      arg11 = _pcraster.readmap(arg11)
    elif isinstance(arg11, int) or isinstance(arg11, float):
      arg11 = _pcraster._newNonSpatialField(arg11)
    if isinstance(arg12, str):
      arg12 = _pcraster.readmap(arg12)
    elif isinstance(arg12, int) or isinstance(arg12, float):
      arg12 = _pcraster._newNonSpatialField(arg12)
    if isinstance(arg13, str):
      arg13 = _pcraster.readmap(arg13)
    elif isinstance(arg13, int) or isinstance(arg13, float):
      arg13 = _pcraster._newNonSpatialField(arg13)
    if isinstance(arg14, str):
      arg14 = _pcraster.readmap(arg14)
    elif isinstance(arg14, int) or isinstance(arg14, float):
      arg14 = _pcraster._newNonSpatialField(arg14)
    if isinstance(arg15, str):
      arg15 = _pcraster.readmap(arg15)
    elif isinstance(arg15, int) or isinstance(arg15, float):
      arg15 = _pcraster._newNonSpatialField(arg15)
    if isinstance(arg16, str):
      arg16 = _pcraster.readmap(arg16)
    elif isinstance(arg16, int) or isinstance(arg16, float):
      arg16 = _pcraster._newNonSpatialField(arg16)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DYNAMICWAVEH)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().pushField(arg6)
    _pcraster._rte().pushField(arg7)
    _pcraster._rte().pushField(arg8)
    _pcraster._rte().pushField(arg9)
    _pcraster._rte().pushField(arg10)
    _pcraster._rte().pushField(arg11)
    _pcraster._rte().pushField(arg12)
    _pcraster._rte().pushField(arg13)
    _pcraster._rte().pushField(arg14)
    _pcraster._rte().pushField(arg15)
    _pcraster._rte().pushField(arg16)
    _pcraster._rte().checkAndExec(operator, 16)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("dynamicwaveh: %s" % (str(exception)))
def order(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ORDER)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("order: %s" % (str(exception)))
def areaorder(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AREAORDER)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("areaorder: %s" % (str(exception)))
def argorder(*arg1):
  try:
    arg1 = list(arg1)
    for i in range(len(arg1)):
      if isinstance(arg1[i], str):
        arg1[i] = _pcraster.readmap(arg1[i])
      elif isinstance(arg1[i], int) or isinstance(arg1[i], float):
        arg1[i] = _pcraster._newNonSpatialField(arg1[i])
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ARGORDER)
    results = []
    for i in range(len(arg1)):
      _pcraster._rte().pushField(arg1[i])
    _pcraster._rte().checkAndExec(operator, len(arg1))
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("argorder: %s" % (str(exception)))
def argorderwithid(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ARGORDERWITHID)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("argorderwithid: %s" % (str(exception)))
def argorderarealimited(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ARGORDERAREALIMITED)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("argorderarealimited: %s" % (str(exception)))
def argorderwithidarealimited(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ARGORDERWITHIDAREALIMITED)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("argorderwithidarealimited: %s" % (str(exception)))
def argorderaddarealimited(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ARGORDERADDAREALIMITED)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("argorderaddarealimited: %s" % (str(exception)))
def argorderwithidaddarealimited(arg1, arg2, arg3, arg4):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ARGORDERWITHIDADDAREALIMITED)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().checkAndExec(operator, 4)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("argorderwithidaddarealimited: %s" % (str(exception)))
def windowminimum(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_WINDOWMINIMUM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("windowminimum: %s" % (str(exception)))
def brenner(arg1, arg2, arg3, arg4, arg5, arg6):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    if isinstance(arg6, str):
      arg6 = _pcraster.readmap(arg6)
    elif isinstance(arg6, int) or isinstance(arg6, float):
      arg6 = _pcraster._newNonSpatialField(arg6)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_BRENNER)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().pushField(arg6)
    _pcraster._rte().checkAndExec(operator, 6)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("brenner: %s" % (str(exception)))
def windowmaximum(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_WINDOWMAXIMUM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("windowmaximum: %s" % (str(exception)))
def windowdiversity(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_WINDOWDIVERSITY)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("windowdiversity: %s" % (str(exception)))
def areadiversity(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AREADIVERSITY)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("areadiversity: %s" % (str(exception)))
def areamajority(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AREAMAJORITY)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("areamajority: %s" % (str(exception)))
def windowmajority(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_WINDOWMAJORITY)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("windowmajority: %s" % (str(exception)))
def pcrmul(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MUL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrmul: %s" % (str(exception)))
def pcrfdiv(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_FDIV)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrfdiv: %s" % (str(exception)))
def pcrpow(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_POW)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrpow: %s" % (str(exception)))
def pcrmod(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MOD)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrmod: %s" % (str(exception)))
def pcridiv(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_IDIV)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcridiv: %s" % (str(exception)))
def pcruadd(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_UADD)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcruadd: %s" % (str(exception)))
def pcrumin(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_UMIN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrumin: %s" % (str(exception)))
def pcrbadd(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_BADD)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrbadd: %s" % (str(exception)))
def pcrbmin(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_BMIN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrbmin: %s" % (str(exception)))
def timeinputscalar(arg1, arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIMEINPUTSCALAR)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("timeinputscalar: %s" % (str(exception)))
def timeinputdirectional(arg1, arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIMEINPUTDIRECTIONAL)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("timeinputdirectional: %s" % (str(exception)))
def timeinputboolean(arg1, arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIMEINPUTBOOLEAN)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("timeinputboolean: %s" % (str(exception)))
def timeinputldd(arg1, arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIMEINPUTLDD)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("timeinputldd: %s" % (str(exception)))
def timeinputnominal(arg1, arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIMEINPUTNOMINAL)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("timeinputnominal: %s" % (str(exception)))
def timeinputordinal(arg1, arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIMEINPUTORDINAL)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("timeinputordinal: %s" % (str(exception)))
def lookupnominal(arg1, *arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    arg2 = list(arg2)
    for i in range(len(arg2)):
      if isinstance(arg2[i], str):
        arg2[i] = _pcraster.readmap(arg2[i])
      elif isinstance(arg2[i], int) or isinstance(arg2[i], float):
        arg2[i] = _pcraster._newNonSpatialField(arg2[i])
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOOKUPNOMINAL)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    for i in range(len(arg2)):
      _pcraster._rte().pushField(arg2[i])
    _pcraster._rte().checkAndExec(operator, 1 + len(arg2))
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lookupnominal: %s" % (str(exception)))
def lookupboolean(arg1, *arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    arg2 = list(arg2)
    for i in range(len(arg2)):
      if isinstance(arg2[i], str):
        arg2[i] = _pcraster.readmap(arg2[i])
      elif isinstance(arg2[i], int) or isinstance(arg2[i], float):
        arg2[i] = _pcraster._newNonSpatialField(arg2[i])
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOOKUPBOOLEAN)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    for i in range(len(arg2)):
      _pcraster._rte().pushField(arg2[i])
    _pcraster._rte().checkAndExec(operator, 1 + len(arg2))
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lookupboolean: %s" % (str(exception)))
def lookupordinal(arg1, *arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    arg2 = list(arg2)
    for i in range(len(arg2)):
      if isinstance(arg2[i], str):
        arg2[i] = _pcraster.readmap(arg2[i])
      elif isinstance(arg2[i], int) or isinstance(arg2[i], float):
        arg2[i] = _pcraster._newNonSpatialField(arg2[i])
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOOKUPORDINAL)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    for i in range(len(arg2)):
      _pcraster._rte().pushField(arg2[i])
    _pcraster._rte().checkAndExec(operator, 1 + len(arg2))
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lookupordinal: %s" % (str(exception)))
def lookupscalar(arg1, *arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    arg2 = list(arg2)
    for i in range(len(arg2)):
      if isinstance(arg2[i], str):
        arg2[i] = _pcraster.readmap(arg2[i])
      elif isinstance(arg2[i], int) or isinstance(arg2[i], float):
        arg2[i] = _pcraster._newNonSpatialField(arg2[i])
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOOKUPSCALAR)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    for i in range(len(arg2)):
      _pcraster._rte().pushField(arg2[i])
    _pcraster._rte().checkAndExec(operator, 1 + len(arg2))
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lookupscalar: %s" % (str(exception)))
def lookuplinear(arg1, arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOOKUPLINEAR)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lookuplinear: %s" % (str(exception)))
def lookupdirectional(arg1, *arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    arg2 = list(arg2)
    for i in range(len(arg2)):
      if isinstance(arg2[i], str):
        arg2[i] = _pcraster.readmap(arg2[i])
      elif isinstance(arg2[i], int) or isinstance(arg2[i], float):
        arg2[i] = _pcraster._newNonSpatialField(arg2[i])
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOOKUPDIRECTIONAL)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    for i in range(len(arg2)):
      _pcraster._rte().pushField(arg2[i])
    _pcraster._rte().checkAndExec(operator, 1 + len(arg2))
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lookupdirectional: %s" % (str(exception)))
def lookupldd(arg1, *arg2):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    arg2 = list(arg2)
    for i in range(len(arg2)):
      if isinstance(arg2[i], str):
        arg2[i] = _pcraster.readmap(arg2[i])
      elif isinstance(arg2[i], int) or isinstance(arg2[i], float):
        arg2[i] = _pcraster._newNonSpatialField(arg2[i])
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOOKUPLDD)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    for i in range(len(arg2)):
      _pcraster._rte().pushField(arg2[i])
    _pcraster._rte().checkAndExec(operator, 1 + len(arg2))
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lookupldd: %s" % (str(exception)))
def indexnominal(arg1):
  raise RuntimeError("The indexnominal operation is not implemented. Only operations with map, table or timeseries arguments are currenly supported")
def indexboolean(arg1):
  raise RuntimeError("The indexboolean operation is not implemented. Only operations with map, table or timeseries arguments are currenly supported")
def indexordinal(arg1):
  raise RuntimeError("The indexordinal operation is not implemented. Only operations with map, table or timeseries arguments are currenly supported")
def indexscalar(arg1):
  raise RuntimeError("The indexscalar operation is not implemented. Only operations with map, table or timeseries arguments are currenly supported")
def indexdirectional(arg1):
  raise RuntimeError("The indexdirectional operation is not implemented. Only operations with map, table or timeseries arguments are currenly supported")
def indexldd(arg1):
  raise RuntimeError("The indexldd operation is not implemented. Only operations with map, table or timeseries arguments are currenly supported")
def indextable(arg1):
  raise RuntimeError("The indextable operation is not implemented. Only operations with map, table or timeseries arguments are currenly supported")
def index(arg1):
  raise RuntimeError("The index operation is not implemented. Only operations with map, table or timeseries arguments are currenly supported")
def ldd(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LDD)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("ldd: %s" % (str(exception)))
def directional(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DIRECTIONAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("directional: %s" % (str(exception)))
def scalar(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SCALAR)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("scalar: %s" % (str(exception)))
def boolean(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_BOOLEAN_)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("boolean: %s" % (str(exception)))
def nominal(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_NOMINAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("nominal: %s" % (str(exception)))
def ordinal(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ORDINAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("ordinal: %s" % (str(exception)))
def pcrand(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AND_)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrand: %s" % (str(exception)))
def pcror(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_OR_)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcror: %s" % (str(exception)))
def pcrxor(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_XOR_)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrxor: %s" % (str(exception)))
def pcrnot(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_NOT_)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pcrnot: %s" % (str(exception)))
def sin(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SIN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("sin: %s" % (str(exception)))
def cos(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_COS)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("cos: %s" % (str(exception)))
def tan(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TAN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("tan: %s" % (str(exception)))
def asin(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ASIN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("asin: %s" % (str(exception)))
def acos(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACOS)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("acos: %s" % (str(exception)))
def atan(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ATAN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("atan: %s" % (str(exception)))
def abs(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ABS)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("abs: %s" % (str(exception)))
def exp(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_EXP)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("exp: %s" % (str(exception)))
def fac(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_FAC)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("fac: %s" % (str(exception)))
def rounddown(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ROUNDDOWN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("rounddown: %s" % (str(exception)))
def ln(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("ln: %s" % (str(exception)))
def log10(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOG10)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("log10: %s" % (str(exception)))
def roundup(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ROUNDUP)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("roundup: %s" % (str(exception)))
def roundoff(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ROUNDOFF)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("roundoff: %s" % (str(exception)))
def sqrt(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SQRT)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("sqrt: %s" % (str(exception)))
def sqr(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SQR)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("sqr: %s" % (str(exception)))
def normal(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_NORMAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("normal: %s" % (str(exception)))
def uniform(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_UNIFORM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("uniform: %s" % (str(exception)))
def xcoordinate(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_XCOORDINATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("xcoordinate: %s" % (str(exception)))
def ycoordinate(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_YCOORDINATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("ycoordinate: %s" % (str(exception)))
def uniqueid(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_UNIQUEID)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("uniqueid: %s" % (str(exception)))
def move(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MOVE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("move: %s" % (str(exception)))
def shift(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SHIFT)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("shift: %s" % (str(exception)))
def shift0(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SHIFT0)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("shift0: %s" % (str(exception)))
def celllength():
  try:
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_CELLLENGTH)
    results = []
    _pcraster._rte().checkAndExec(operator, 0)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("celllength: %s" % (str(exception)))
def cellarea():
  try:
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_CELLAREA)
    results = []
    _pcraster._rte().checkAndExec(operator, 0)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("cellarea: %s" % (str(exception)))
def time():
  try:
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIME)
    results = []
    _pcraster._rte().checkAndExec(operator, 0)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("time: %s" % (str(exception)))
def timeslice():
  try:
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TIMESLICE)
    results = []
    _pcraster._rte().checkAndExec(operator, 0)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("timeslice: %s" % (str(exception)))
def mapnormal():
  try:
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MAPNORMAL)
    results = []
    _pcraster._rte().checkAndExec(operator, 0)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("mapnormal: %s" % (str(exception)))
def mapuniform():
  try:
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MAPUNIFORM)
    results = []
    _pcraster._rte().checkAndExec(operator, 0)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("mapuniform: %s" % (str(exception)))
def succ(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SUCC)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("succ: %s" % (str(exception)))
def pred(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_PRED)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pred: %s" % (str(exception)))
def pit(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_PIT)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("pit: %s" % (str(exception)))
def nodirection(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_NODIRECTION)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("nodirection: %s" % (str(exception)))
def mapminimum(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MAPMINIMUM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("mapminimum: %s" % (str(exception)))
def mapmaximum(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MAPMAXIMUM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("mapmaximum: %s" % (str(exception)))
def defined(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DEFINED)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("defined: %s" % (str(exception)))
def maparea(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MAPAREA)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("maparea: %s" % (str(exception)))
def spatial(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SPATIAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("spatial: %s" % (str(exception)))
def accustate(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUSTATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accustate: %s" % (str(exception)))
def accuflux(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUFLUX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accuflux: %s" % (str(exception)))
def muskingum(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    if isinstance(arg6, str):
      arg6 = _pcraster.readmap(arg6)
    elif isinstance(arg6, int) or isinstance(arg6, float):
      arg6 = _pcraster._newNonSpatialField(arg6)
    if isinstance(arg7, str):
      arg7 = _pcraster.readmap(arg7)
    elif isinstance(arg7, int) or isinstance(arg7, float):
      arg7 = _pcraster._newNonSpatialField(arg7)
    if isinstance(arg8, str):
      arg8 = _pcraster.readmap(arg8)
    elif isinstance(arg8, int) or isinstance(arg8, float):
      arg8 = _pcraster._newNonSpatialField(arg8)
    if isinstance(arg9, str):
      arg9 = _pcraster.readmap(arg9)
    elif isinstance(arg9, int) or isinstance(arg9, float):
      arg9 = _pcraster._newNonSpatialField(arg9)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MUSKINGUM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().pushField(arg6)
    _pcraster._rte().pushField(arg7)
    _pcraster._rte().pushField(arg8)
    _pcraster._rte().pushField(arg9)
    _pcraster._rte().checkAndExec(operator, 9)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("muskingum: %s" % (str(exception)))
def dynwavestate(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    if isinstance(arg6, str):
      arg6 = _pcraster.readmap(arg6)
    elif isinstance(arg6, int) or isinstance(arg6, float):
      arg6 = _pcraster._newNonSpatialField(arg6)
    if isinstance(arg7, str):
      arg7 = _pcraster.readmap(arg7)
    elif isinstance(arg7, int) or isinstance(arg7, float):
      arg7 = _pcraster._newNonSpatialField(arg7)
    if isinstance(arg8, str):
      arg8 = _pcraster.readmap(arg8)
    elif isinstance(arg8, int) or isinstance(arg8, float):
      arg8 = _pcraster._newNonSpatialField(arg8)
    if isinstance(arg9, str):
      arg9 = _pcraster.readmap(arg9)
    elif isinstance(arg9, int) or isinstance(arg9, float):
      arg9 = _pcraster._newNonSpatialField(arg9)
    if isinstance(arg10, str):
      arg10 = _pcraster.readmap(arg10)
    elif isinstance(arg10, int) or isinstance(arg10, float):
      arg10 = _pcraster._newNonSpatialField(arg10)
    if isinstance(arg11, str):
      arg11 = _pcraster.readmap(arg11)
    elif isinstance(arg11, int) or isinstance(arg11, float):
      arg11 = _pcraster._newNonSpatialField(arg11)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DYNWAVESTATE)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().pushField(arg6)
    _pcraster._rte().pushField(arg7)
    _pcraster._rte().pushField(arg8)
    _pcraster._rte().pushField(arg9)
    _pcraster._rte().pushField(arg10)
    _pcraster._rte().pushField(arg11)
    _pcraster._rte().checkAndExec(operator, 11)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("dynwavestate: %s" % (str(exception)))
def dynwaveflux(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    if isinstance(arg6, str):
      arg6 = _pcraster.readmap(arg6)
    elif isinstance(arg6, int) or isinstance(arg6, float):
      arg6 = _pcraster._newNonSpatialField(arg6)
    if isinstance(arg7, str):
      arg7 = _pcraster.readmap(arg7)
    elif isinstance(arg7, int) or isinstance(arg7, float):
      arg7 = _pcraster._newNonSpatialField(arg7)
    if isinstance(arg8, str):
      arg8 = _pcraster.readmap(arg8)
    elif isinstance(arg8, int) or isinstance(arg8, float):
      arg8 = _pcraster._newNonSpatialField(arg8)
    if isinstance(arg9, str):
      arg9 = _pcraster.readmap(arg9)
    elif isinstance(arg9, int) or isinstance(arg9, float):
      arg9 = _pcraster._newNonSpatialField(arg9)
    if isinstance(arg10, str):
      arg10 = _pcraster.readmap(arg10)
    elif isinstance(arg10, int) or isinstance(arg10, float):
      arg10 = _pcraster._newNonSpatialField(arg10)
    if isinstance(arg11, str):
      arg11 = _pcraster.readmap(arg11)
    elif isinstance(arg11, int) or isinstance(arg11, float):
      arg11 = _pcraster._newNonSpatialField(arg11)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DYNWAVEFLUX)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().pushField(arg6)
    _pcraster._rte().pushField(arg7)
    _pcraster._rte().pushField(arg8)
    _pcraster._rte().pushField(arg9)
    _pcraster._rte().pushField(arg10)
    _pcraster._rte().pushField(arg11)
    _pcraster._rte().checkAndExec(operator, 11)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("dynwaveflux: %s" % (str(exception)))
def lookupstate(arg1, arg2, arg3, arg4, arg5):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOOKUPSTATE)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().checkAndExec(operator, 5)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lookupstate: %s" % (str(exception)))
def lookuppotential(arg1, arg2, arg3, arg4, arg5):
  try:
    arg1 = _pcraster.DataStorageId(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LOOKUPPOTENTIAL)
    results = []
    _pcraster._rte().pushDataStorageId(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().checkAndExec(operator, 5)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lookuppotential: %s" % (str(exception)))
def accucapacitystate(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUCAPACITYSTATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accucapacitystate: %s" % (str(exception)))
def accucapacityflux(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUCAPACITYFLUX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accucapacityflux: %s" % (str(exception)))
def accuthresholdstate(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUTHRESHOLDSTATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accuthresholdstate: %s" % (str(exception)))
def accuthresholdflux(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUTHRESHOLDFLUX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accuthresholdflux: %s" % (str(exception)))
def accufractionstate(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUFRACTIONSTATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accufractionstate: %s" % (str(exception)))
def accufractionflux(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUFRACTIONFLUX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accufractionflux: %s" % (str(exception)))
def accutriggerstate(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUTRIGGERSTATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accutriggerstate: %s" % (str(exception)))
def accutriggerflux(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUTRIGGERFLUX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accutriggerflux: %s" % (str(exception)))
def accutraveltimestate(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUTRAVELTIMESTATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accutraveltimestate: %s" % (str(exception)))
def accutraveltimeflux(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUTRAVELTIMEFLUX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accutraveltimeflux: %s" % (str(exception)))
def accutraveltimefractionremoved(arg1, arg2, arg3, arg4):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUTRAVELTIMEFRACTIONREMOVED)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().checkAndExec(operator, 4)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accutraveltimefractionremoved: %s" % (str(exception)))
def accutraveltimefractionstate(arg1, arg2, arg3, arg4):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUTRAVELTIMEFRACTIONSTATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().checkAndExec(operator, 4)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accutraveltimefractionstate: %s" % (str(exception)))
def accutraveltimefractionflux(arg1, arg2, arg3, arg4):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ACCUTRAVELTIMEFRACTIONFLUX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().checkAndExec(operator, 4)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("accutraveltimefractionflux: %s" % (str(exception)))
def diffusestate(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DIFFUSESTATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("diffusestate: %s" % (str(exception)))
def diffuseflux(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DIFFUSEFLUX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("diffuseflux: %s" % (str(exception)))
def kinwavestate(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    if isinstance(arg6, str):
      arg6 = _pcraster.readmap(arg6)
    elif isinstance(arg6, int) or isinstance(arg6, float):
      arg6 = _pcraster._newNonSpatialField(arg6)
    if isinstance(arg7, str):
      arg7 = _pcraster.readmap(arg7)
    elif isinstance(arg7, int) or isinstance(arg7, float):
      arg7 = _pcraster._newNonSpatialField(arg7)
    if isinstance(arg8, str):
      arg8 = _pcraster.readmap(arg8)
    elif isinstance(arg8, int) or isinstance(arg8, float):
      arg8 = _pcraster._newNonSpatialField(arg8)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_KINWAVESTATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().pushField(arg6)
    _pcraster._rte().pushField(arg7)
    _pcraster._rte().pushField(arg8)
    _pcraster._rte().checkAndExec(operator, 8)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("kinwavestate: %s" % (str(exception)))
def kinwaveflux(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    if isinstance(arg6, str):
      arg6 = _pcraster.readmap(arg6)
    elif isinstance(arg6, int) or isinstance(arg6, float):
      arg6 = _pcraster._newNonSpatialField(arg6)
    if isinstance(arg7, str):
      arg7 = _pcraster.readmap(arg7)
    elif isinstance(arg7, int) or isinstance(arg7, float):
      arg7 = _pcraster._newNonSpatialField(arg7)
    if isinstance(arg8, str):
      arg8 = _pcraster.readmap(arg8)
    elif isinstance(arg8, int) or isinstance(arg8, float):
      arg8 = _pcraster._newNonSpatialField(arg8)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_KINWAVEFLUX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().pushField(arg6)
    _pcraster._rte().pushField(arg7)
    _pcraster._rte().pushField(arg8)
    _pcraster._rte().checkAndExec(operator, 8)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("kinwaveflux: %s" % (str(exception)))
def kinematic(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    if isinstance(arg6, str):
      arg6 = _pcraster.readmap(arg6)
    elif isinstance(arg6, int) or isinstance(arg6, float):
      arg6 = _pcraster._newNonSpatialField(arg6)
    if isinstance(arg7, str):
      arg7 = _pcraster.readmap(arg7)
    elif isinstance(arg7, int) or isinstance(arg7, float):
      arg7 = _pcraster._newNonSpatialField(arg7)
    if isinstance(arg8, str):
      arg8 = _pcraster.readmap(arg8)
    elif isinstance(arg8, int) or isinstance(arg8, float):
      arg8 = _pcraster._newNonSpatialField(arg8)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_KINEMATIC)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().pushField(arg6)
    _pcraster._rte().pushField(arg7)
    _pcraster._rte().pushField(arg8)
    _pcraster._rte().checkAndExec(operator, 8)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("kinematic: %s" % (str(exception)))
def timeoutput(arg1, arg2):
  raise RuntimeError("The timeoutput operation is not implemented. Only operations with map results are currenly supported")
def maptotal(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MAPTOTAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("maptotal: %s" % (str(exception)))
def mapand(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MAPAND)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("mapand: %s" % (str(exception)))
def mapor(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MAPOR)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("mapor: %s" % (str(exception)))
def areaarea(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AREAAREA)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("areaarea: %s" % (str(exception)))
def clump(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_CLUMP)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("clump: %s" % (str(exception)))
def drain(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DRAIN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("drain: %s" % (str(exception)))
def path(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_PATH)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("path: %s" % (str(exception)))
def aspect(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ASPECT)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("aspect: %s" % (str(exception)))
def slope(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SLOPE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("slope: %s" % (str(exception)))
def window4total(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_WINDOW4TOTAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("window4total: %s" % (str(exception)))
def profcurv(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_PROFCURV)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("profcurv: %s" % (str(exception)))
def plancurv(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_PLANCURV)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("plancurv: %s" % (str(exception)))
def view(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_VIEW)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("view: %s" % (str(exception)))
def extentofview(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_EXTENTOFVIEW)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("extentofview: %s" % (str(exception)))
def inversedistance(arg1, arg2, arg3, arg4, arg5):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_INVERSEDISTANCE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().checkAndExec(operator, 5)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("inversedistance: %s" % (str(exception)))
def catchment(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_CATCHMENT)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("catchment: %s" % (str(exception)))
def subcatchment(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SUBCATCHMENT)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("subcatchment: %s" % (str(exception)))
def windowaverage(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_WINDOWAVERAGE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("windowaverage: %s" % (str(exception)))
def markwhilesumle(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MARKWHILESUMLE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("markwhilesumle: %s" % (str(exception)))
def markwhilesumge(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_MARKWHILESUMGE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("markwhilesumge: %s" % (str(exception)))
def ellipseaverage(arg1, arg2, arg3, arg4):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_ELLIPSEAVERAGE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().checkAndExec(operator, 4)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("ellipseaverage: %s" % (str(exception)))
def influencesimplegauss(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_INFLUENCESIMPLEGAUSS)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("influencesimplegauss: %s" % (str(exception)))
def distributesimplegauss(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DISTRIBUTESIMPLEGAUSS)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("distributesimplegauss: %s" % (str(exception)))
def ibngauss(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_IBNGAUSS)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("ibngauss: %s" % (str(exception)))
def horizontan(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_HORIZONTAN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("horizontan: %s" % (str(exception)))
def catchmenttotal(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_CATCHMENTTOTAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("catchmenttotal: %s" % (str(exception)))
def areamaximum(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AREAMAXIMUM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("areamaximum: %s" % (str(exception)))
def areaminimum(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AREAMINIMUM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("areaminimum: %s" % (str(exception)))
def areaaverage(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AREAAVERAGE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("areaaverage: %s" % (str(exception)))
def areatotal(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AREATOTAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("areatotal: %s" % (str(exception)))
def areauniform(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AREAUNIFORM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("areauniform: %s" % (str(exception)))
def areanormal(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_AREANORMAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("areanormal: %s" % (str(exception)))
def windowtotal(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_WINDOWTOTAL)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("windowtotal: %s" % (str(exception)))
def windowhighpass(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_WINDOWHIGHPASS)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("windowhighpass: %s" % (str(exception)))
def ldddist(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LDDDIST)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("ldddist: %s" % (str(exception)))
def upstream(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_UPSTREAM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("upstream: %s" % (str(exception)))
def streamorder(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_STREAMORDER)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("streamorder: %s" % (str(exception)))
def transient(arg1, arg2, arg3, arg4, arg5, arg6, arg7):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    if isinstance(arg6, str):
      arg6 = _pcraster.readmap(arg6)
    elif isinstance(arg6, int) or isinstance(arg6, float):
      arg6 = _pcraster._newNonSpatialField(arg6)
    if isinstance(arg7, str):
      arg7 = _pcraster.readmap(arg7)
    elif isinstance(arg7, int) or isinstance(arg7, float):
      arg7 = _pcraster._newNonSpatialField(arg7)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_TRANSIENT)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().pushField(arg6)
    _pcraster._rte().pushField(arg7)
    _pcraster._rte().checkAndExec(operator, 7)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("transient: %s" % (str(exception)))
def downstream(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DOWNSTREAM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("downstream: %s" % (str(exception)))
def downstreamdist(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DOWNSTREAMDIST)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("downstreamdist: %s" % (str(exception)))
def lddmask(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LDDMASK)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lddmask: %s" % (str(exception)))
def lddrepair(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LDDREPAIR)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lddrepair: %s" % (str(exception)))
def slopelength(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SLOPELENGTH)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("slopelength: %s" % (str(exception)))
def lddcreate(arg1, arg2, arg3, arg4, arg5):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LDDCREATE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().checkAndExec(operator, 5)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lddcreate: %s" % (str(exception)))
def lddcreatedem(arg1, arg2, arg3, arg4, arg5):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LDDCREATEDEM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().checkAndExec(operator, 5)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lddcreatedem: %s" % (str(exception)))
def lddcreatend(arg1, arg2, arg3, arg4, arg5):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LDDCREATEND)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().checkAndExec(operator, 5)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lddcreatend: %s" % (str(exception)))
def lddcreatenddem(arg1, arg2, arg3, arg4, arg5):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    if isinstance(arg5, str):
      arg5 = _pcraster.readmap(arg5)
    elif isinstance(arg5, int) or isinstance(arg5, float):
      arg5 = _pcraster._newNonSpatialField(arg5)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LDDCREATENDDEM)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().pushField(arg5)
    _pcraster._rte().checkAndExec(operator, 5)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lddcreatenddem: %s" % (str(exception)))
def riksfraction(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_RIKSFRACTION)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("riksfraction: %s" % (str(exception)))
def squarefraction(arg1, arg2, arg3):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_SQUAREFRACTION)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().checkAndExec(operator, 3)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("squarefraction: %s" % (str(exception)))
def gradx(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_GRADX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("gradx: %s" % (str(exception)))
def grady(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_GRADY)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("grady: %s" % (str(exception)))
def divergence(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DIVERGENCE)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("divergence: %s" % (str(exception)))
def diver(arg1, arg2, arg3, arg4):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    if isinstance(arg3, str):
      arg3 = _pcraster.readmap(arg3)
    elif isinstance(arg3, int) or isinstance(arg3, float):
      arg3 = _pcraster._newNonSpatialField(arg3)
    if isinstance(arg4, str):
      arg4 = _pcraster.readmap(arg4)
    elif isinstance(arg4, int) or isinstance(arg4, float):
      arg4 = _pcraster._newNonSpatialField(arg4)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_DIVER)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().pushField(arg3)
    _pcraster._rte().pushField(arg4)
    _pcraster._rte().checkAndExec(operator, 4)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("diver: %s" % (str(exception)))
def lax(arg1, arg2):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    if isinstance(arg2, str):
      arg2 = _pcraster.readmap(arg2)
    elif isinstance(arg2, int) or isinstance(arg2, float):
      arg2 = _pcraster._newNonSpatialField(arg2)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LAX)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().pushField(arg2)
    _pcraster._rte().checkAndExec(operator, 2)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("lax: %s" % (str(exception)))
def laplacian(arg1):
  try:
    if isinstance(arg1, str):
      arg1 = _pcraster.readmap(arg1)
    elif isinstance(arg1, int) or isinstance(arg1, float):
      arg1 = _pcraster._newNonSpatialField(arg1)
    operator = _pcraster._major2op(_pcraster.MAJOR_CODE.OP_LAPLACIAN)
    results = []
    _pcraster._rte().pushField(arg1)
    _pcraster._rte().checkAndExec(operator, 1)
    results.append(_pcraster._rte().releasePopField())
    return results[0]
  except RuntimeError as exception:
    raise RuntimeError("laplacian: %s" % (str(exception)))

