Skip to content
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

Closed

Commits on Apr 30, 2013

  1. stats file text changes

    3.1. add stats_readme.txt file, created on initialization, with variable names written to each column of stats files
    3.3. cut white space out of stats_time.txt
    Mark R. Petersen committed Apr 30, 2013
    Configuration menu
    Copy the full SHA
    f925aad View commit details
    Browse the repository at this point in the history
  2. Don't include land cells in global diagnostics averages

    That is, only loop down to maxLevelCell etc.
    Mark R. Petersen committed Apr 30, 2013
    Configuration menu
    Copy the full SHA
    d4c80b4 View commit details
    Browse the repository at this point in the history
  3. Add max_level to new subroutine names

    that use maxLevel* to avoid land cells.
    
    This branch is now ready for review.  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
    Mark R. Petersen committed Apr 30, 2013
    Configuration menu
    Copy the full SHA
    b226ec3 View commit details
    Browse the repository at this point in the history