Hi,
I have an issue with my script related to the space in the string variable (see below). If "MinNPP" is used instead it works fine.
I've also tried setting the variable as str(arcpy.GetParameterAsText(6)) but it doesn't work either. The variable is set as String data type in the tool; Filter = Value list. Version used is 10.0
Variable:
NPPEquation = arcpy.GetParameterAsText(6)
Process:
if NPPEquation == "Min NPP1":
Thank you
Toni
I have an issue with my script related to the space in the string variable (see below). If "MinNPP" is used instead it works fine.
I've also tried setting the variable as str(arcpy.GetParameterAsText(6)) but it doesn't work either. The variable is set as String data type in the tool; Filter = Value list. Version used is 10.0
Variable:
NPPEquation = arcpy.GetParameterAsText(6)
Process:
if NPPEquation == "Min NPP1":
Thank you
Toni