_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of raghuram narasimhan Sent: Wednesday, November 21, 2007 10:31 PM To: image-sig@python.org Subject: [Image-SIG] How do i import text file which has NaNs ? Hi all, I have converted an ENVI image file into ASCII. The ASCII file has NaNs or NoData in them. I am not able to read the file into python since it is not able to recognize NaN. I'm not an experience python user, and hence i guess i'm not able to figure it out. Does anyone have any idea as to how i can import an ASCII file with NaNs in them ? [jv] I'm not sure this is applicable, but have you looked at the numpy extension package which has support for NaN? Hoping to hear from you, Raghu
_______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig