~ubuntu-branches/debian/stretch/adios/stretch

« back to all changes in this revision

Viewing changes to .pc/python3.patch/wrappers/numpy/test/adios_read_test.py

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2014-06-16 23:06:38 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20140616230638-5a0z7ylxx8i0edrg
Tags: 1.7.0-1
* New upstream release.
* Add adios.pc pkgconfig file. adios_config now uses this.

Show diffs side-by-side

added added

removed removed

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