Updates to the asset folder location.

This commit is contained in:
Rowan Cockett
2016-06-22 12:38:19 -06:00
parent a79fc7456d
commit 64108eb36d
4 changed files with 22 additions and 20 deletions
+3 -4
View File
@@ -238,13 +238,12 @@ def writeUBCobs(filename, survey, d):
wd = survey.std
data = np.c_[rxLoc , d , wd]
data = np.c_[rxLoc, d, wd]
with file(filename,'w') as fid:
fid.write('%i\n' %len(d) )
with file(filename, 'w') as fid:
fid.write('%i\n' % len(d))
np.savetxt(fid, data, fmt='%e', delimiter=' ', newline='\n')
print "Observation file saved to: " + filename