예제 #1
0
파일: pywrapper.py 프로젝트: wachsylon/cmor
def set_variable_attribute(var_id, name, atype, value):
    """Sets an attribute onto a cmor variable
    Usage:
      cmor.set_variable_attribute(var_id,name,value)
    Where:
      var_id: is cmor variable id
      name  : is the name of the attribute
      value : is the value for this attribute
    """
    return _cmor.set_variable_attribute(var_id, name, atype, value)
예제 #2
0
파일: pywrapper.py 프로젝트: PCMDI/cmor
def set_variable_attribute(var_id, name, atype, value):
    """Sets an attribute onto a cmor variable
    Usage:
      cmor.set_variable_attribute(var_id,name,value)
    Where:
      var_id: is cmor variable id
      name  : is the name of the attribute
      value : is the value for this attribute
    """
    return _cmor.set_variable_attribute(var_id, name, atype, value)