Skip to content

Commit

Permalink
Add more digits to results in integrated.dat
Browse files Browse the repository at this point in the history
  • Loading branch information
molinav committed Feb 15, 2024
1 parent cc7bc4b commit 504b210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/solo/dat/create_example_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@

ncols = table.shape[-1]
topfmt = "".join(["{0:>6s}", "{1:>8s}"] + list(map("{%s:>20s}".__mod__, range(2, ncols))))
txtfmt = "{0}{1}".format("%8.0f%8.2f", (ncols - 2) * "%20.6f")
txtfmt = "{0}{1}".format("%8.0f%8.2f", (ncols - 2) * "%20.12f")
header = topfmt.format(
"day", "sza", "irr0 * (r0/r)^2", "irr_glb",
"irr_dir", "irr_dir * cos(SZA)", "irr_dif")
Expand Down
2 changes: 1 addition & 1 deletion test/solo/dat/integrated.dat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# day sza irr0 * (r0/r)^2 irr_glb irr_dir irr_dir * cos(SZA) irr_dif
152 60.00 1273.798845 515.096802 827.769632 413.884816 101.211986
152 60.00 1273.798844765556 515.096802282203 827.769632317344 413.884816158672 101.211986123530

0 comments on commit 504b210

Please sign in to comment.