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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/nappy/trunk/test/testRead3010.py@339
Revision 339, 392 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.NAFile3010(r"../data_files/3010.na")
6f.readData()
7
8print f.NIV
9print f.X[1]
10
11print f.DX
12print f.VNAME
13print f.V
14print f.V[0][0]
15
16print f.NAUXV
17
18print f.getVariables()
19print f.getIndependentVariables()
20print f["DX"]
21print f["ONAME"]
22print f.getNumHeaderLines()
Note: See TracBrowser for help on using the repository browser.