~ubuntu-branches/ubuntu/utopic/adios/utopic

« back to all changes in this revision

Viewing changes to wrappers/numpy/test/adios_read_test.py

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2013-12-09 15:21:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20131209152131-jtd4fpmdv3xnunnm
Tags: 1.5.0-1
* New upstream.
* Standards-Version: 3.9.5
* Include latest config.{sub,guess} 
* New watch file.
* Create libadios-bin for binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
from adios import *
 
4
import numpy as np
 
5
 
 
6
f = AdiosFile("adios_test.bp")
 
7
f.printself()
 
8
g = f.group["temperature"]
 
9
g.printself()
 
10
v = g.var["/temperature"]
 
11
v.printself()
 
12
 
 
13
print(v.read())
 
14
 
 
15
f.close()