Re: Help: about numAsciiRow() and readAsciiTable

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon, 06 Apr 2009 20:48:05 -0600

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)

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:
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