The following works just fine. I even removed the
duplicate station id.
diri = "./"
fili = "StationID.txt"
id = asciiread(diri+fili, -1, "integer")
nid = dimsizes(id)
print("nid="+nid)
print(id)
print("====================")
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
nRow = numAsciiRow(diri+fili)
print("nid="+nid+" nRow="+nRow)
Wang Wenshan wrote:
> All of my files suffer this kind of problem. Here is one of them. What I do now to get the whole contents of the file is to double the last row.
>
> I really appreciate it that you take the time and trouble to help me. Thank you so much!
>
> Wang
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Apr 06 2009 - 20:48:05 MDT
This archive was generated by hypermail 2.2.0 : Wed Apr 08 2009 - 10:41:09 MDT