Created
November 24, 2013 20:47
-
-
Save M-Bryant/7632187 to your computer and use it in GitHub Desktop.
arcpy: Set/Check Not a number (NAN)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def setNAN(): | |
| minx = float('nan') | |
| def checkNAN(): | |
| import math | |
| if math.isnan(minx): | |
| return 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment