source: nappy/trunk/test/testRead1010.py @ 339

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/nappy/trunk/test/testRead1010.py@339
Revision 339, 340 bytes checked in by astephen, 15 years ago (diff)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1import sys ; sys.path.append("..")
2import naCore, textParser, naFile
3reload(naCore) ; reload(textParser) ; reload(naFile)
4
5f=naFile.NAFile1010(r"../data_files/1010.na")
6f.readData()
7
8print f.X
9
10print "Variable 1: first three values...", f.VNAME[1]
11print f.V[0][1], f.V[1][1], f.V[2][1]
12
13print f.NAUXV
14print f.ANAME[0], f.ASCAL[0]
15print f.A
Note: See TracBrowser for help on using the repository browser.