Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

NaN and Python Crashing

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()