source: trunk/test/file-io.py @ 1037

Last change on this file since 1037 was 1037, checked in by mar637, 18 years ago

removed FITS test

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 426 bytes
Line 
1#!/usr/bin/env python
2from asap import *
3
4rcParams['verbose'] = 0
5
6
7print "Test of file i/o"
8
9data = scantable('data/tid-t002.rpf')
10
11data.save('output/test.asap',overwrite=True)
12data.save('output/test.ascii',format='ASCII',overwrite=True)
13data.save('output/test.sdfits',format='SDFITS',overwrite=True)
14
15data2 = scantable('output/test.sdfits')
16data3 = scantable('output/test.asap')
17
18print "File i/o test finished successfully"
Note: See TracBrowser for help on using the repository browser.