runAllDSS.py   runAllDSS.py 
#!/usr/bin/python #!/usr/bin/python
# Simple script which convert the FITS headers associated to Brian McLean D SS images into simplified JSON files # Simple script which convert the FITS headers associated to Brian McLean D SS images into simplified JSON files
# Fabien Chereau fchereau@eso.org # Fabien Chereau fchereau@eso.org
import sys import sys
import os import os
import subprocess import subprocess
def all(): def all():
for i in range(2,898): for i in range(1,895):
str = "/home/fab1/prog/stellarium/util/dssheaderToJSON.py" + str = "/home/fab1/prog/stellarium/util/dssheaderToJSON.py" +
" N %i %i" % (i,i+1) " S %i %i" % (i,i+1)
print str print str
try: try:
retcode = subprocess.call(str, shell=True) retcode = subprocess.call(str, shell=True)
if retcode < 0: if retcode < 0:
print >>sys.stderr, "Child was terminated by signal", -retcode print >>sys.stderr, "Child was terminated by signal", -retcode
else: else:
print >>sys.stderr, "Child returned", retcod e print >>sys.stderr, "Child returned", retcod e
except OSError, e: except OSError, e:
print >>sys.stderr, "Execution failed:", e print >>sys.stderr, "Execution failed:", e
 End of changes. 1 change blocks. 
3 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/