<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    I mentioned this to Todd and he suggested I post my user experience
    to the developer team.<br>
    <br>
    I've been running cam-mpas, and revision 983 brought up a small
    run-time hassle. Is there any way to automatically put a unique name
    on mpas output files instead of generic names like "output.nc",
    "ocean.nc" without editing namelist.input every time? For example,
    they could be time stamped by model time (YYYY-MM-DD-HH as in CESM)&nbsp;
    or number of time steps) or the real-world time at which the job is
    running.<br>
    <br>
    It's not a big deal during testing, but in production runs it starts
    to be a hassle. I have set my run script to capture the date from
    the latest CAM restart file and sed that into namelist.input so that
    the output files have a unique and meaningful name. It works fine
    but errors can still happen. In production runs, with one misnamed
    file, or writing over an output file, things get messy fast. <br>
    <br>
    thanks<br>
    cheers<br>
    sara<br>
    <br>
    <div>
      <div>
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000"> -------- Original
            Message --------
            <table class="moz-email-headers-table" border="0"
              cellpadding="0" cellspacing="0">
              <tbody>
                <tr>
                  <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Subject:
                  </th>
                  <td>[mpas-developers] /home/subversion/mpas/model
                    revision 983</td>
                </tr>
                <tr>
                  <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Date:
                  </th>
                  <td>Wed, 7 Sep 2011 11:00:48 -0600 (MDT)</td>
                </tr>
                <tr>
                  <th align="RIGHT" valign="BASELINE" nowrap="nowrap">From:
                  </th>
                  <td><a moz-do-not-send="true"
                      class="moz-txt-link-abbreviated"
                      href="mailto:mpas-developers@ucar.edu">mpas-developers@ucar.edu</a></td>
                </tr>
                <tr>
                  <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Reply-To:

                  </th>
                  <td><a moz-do-not-send="true"
                      class="moz-txt-link-abbreviated"
                      href="mailto:mpas-developers@ucar.edu">mpas-developers@ucar.edu</a></td>
                </tr>
                <tr>
                  <th align="RIGHT" valign="BASELINE" nowrap="nowrap">To:
                  </th>
                  <td><a moz-do-not-send="true"
                      class="moz-txt-link-abbreviated"
                      href="mailto:mpas-developers@ucar.edu">mpas-developers@ucar.edu</a></td>
                </tr>
              </tbody>
            </table>
            <br>
            <br>
            <p><b><a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:ringler@lanl.gov">ringler@lanl.gov</a></b>
              2011-09-07 11:00:48 -0600 (Wed, 07 Sep 2011)</p>
            <p>add default naming for I/O files<br>
            </p>
            <hr noshade="noshade">
            <pre><font color="gray">Modified: branches/ocean_projects/timesplitting_mrp/namelist.input.ocean
===================================================================
--- branches/ocean_projects/timesplitting_mrp/namelist.input.ocean        2011-09-07 15:53:33 UTC (rev 982)
+++ branches/ocean_projects/timesplitting_mrp/namelist.input.ocean        2011-09-07 17:00:48 UTC (rev 983)
@@ -8,6 +8,9 @@
    config_stats_interval = 100 
 /
 &amp;io
+   config_input_name = 'ocean.nc'
+   config_output_name = 'output.nc'
+   config_restart_name = 'restart.nc'
 /
 &amp;restart
    config_restart_interval = 10000000 

</font>
</pre>
          </div>
          <span>&lt;Attached Message Part.txt&gt;</span></blockquote>
      </div>
      <br>
    </div>
  </body>
</html>