This repository has been archived by the owner on Oct 23, 2020. It is now read-only.
Ocean/global_stats: Removed land cells from stats, added readme file #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The global_stats branch is now ready for review. Alterations include:
I tested it with the 120km global and 10km overflow. Both match output files bit-for-bit with master.
Min and Avg stats are no longer contaminated by -1e34:
120km, master branch. Columns are temperature, salinity, tracer1
lo1-fe.lanl.gov> cut -c 363-500 stats_max.txt | tail -n 1
2.86914922866561E+01 3.74667462059278E+01 1.00000000000000E+00
lo1-fe.lanl.gov> cut -c 363-500 stats_avg.txt | tail -n 1
-3.08606381137871E+33 -3.08606381137871E+33 -3.08606381137871E+33
lo1-fe.lanl.gov> cut -c 363-500 stats_min.txt | tail -n 1
-1.00000000000000E+34 -1.00000000000000E+34 -1.00000000000000E+34
120km, global_stats branch
lo1-fe.lanl.gov> cut -c 363-500 stats_max.txt | tail -n 1
2.86914922866561E+01 3.74667462059278E+01 1.00000000000000E+00
lo1-fe.lanl.gov> cut -c 363-500 stats_avg.txt | tail -n 1
3.40931804591106E+00 3.47108117173064E+01 1.00000000000000E+00
lo1-fe.lanl.gov> cut -c 363-500 stats_min.txt | tail -n 1
-1.74337564684972E+00 2.45582429725827E+01 9.99999999999998E-01