ncl problem about asciiread

From: JiangZiqiang <zqjiang86_at_nyahnyahspammersnyahnyah>
Date: Tue Nov 08 2011 - 21:49:44 MST

Hello, when using asciiread to read txt file, there is a interesting phenomenon.if there is "line break" delimeter at the end of file , lines of data to read in is n,but if no "line break" delimeter, it is n-1. I think it is a strange thing. print( dimsizes( asciiread("???.txt",-1,"string") ) )file1:".026, .016, -999.026, .016, -999"file2:".026, .016, -999.026, .016, -999 "(there is no quote " in the file) Thank you for help Ziqiang

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 8 21:49:51 2011

This archive was generated by hypermail 2.1.8 : Mon Nov 14 2011 - 10:41:55 MST