Skip to content

Commit

Permalink
Validated code, updated graphs in docs, fixed CSV creation
Browse files Browse the repository at this point in the history
  • Loading branch information
pingswept committed Apr 18, 2015
1 parent 907c049 commit d48e8b2
Show file tree
Hide file tree
Showing 7 changed files with 3,148 additions and 3,131 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6,202 changes: 3,101 additions & 3,101 deletions test/pysolar_v_usno.csv

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion test/query_usno.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ def WriteEphemerisDatumToFile(d, filename):
log.close()

def WriteComparisonsToCSV(comps, filename):
out = open(filename, 'a')
out = open(filename, 'w')
out.write('timestamp,latitude,longitude,elevation,alt1,alt2,alt_error,az1,az2,az_error\n')
for c in comps:
out.write('%s,%s,%s,%s,%s,%s,%s,%s,%s,%s\n' % (c.timestamp, c.latitude, c.longitude, c.elevation, c.alt1, c.alt2, c.alt_error, c.az1, c.az2, c.az_error))
out.close()
Expand Down
74 changes: 45 additions & 29 deletions test/validation.ipynb

Large diffs are not rendered by default.

0 comments on commit d48e8b2

Please sign in to comment.