Solved! Go to Solution.
Thanks a lot guys.
I tried the print NPPEquation and it works fine. "Min NPP1" is one of the values in the filter list.
The thing is that I've set the output raster dataset to include the name of the NPPEquation ("Min NPP" for example).
So I guess is not the right approach to have spaces in the string variable names. Not sure if there is a way round that...
Cheers
Toni
if " " in NPPEquation: NPPEquation = NPPEquation.replace(" ", "_")