NaN and Python Crashing

asked Oct 16 '19

likethevegetable gravatar image

This is not quite a question, but more of a PSA that might help those who have had issues when encountering a float('nan') and having your script crash.

Add the following line after psspy.psseinit():

psspy.set_NaN_python()