<p><b>mpetersen@lanl.gov</b> 2012-05-24 14:59:26 -0600 (Thu, 24 May 2012)</p><p>A few fixes to the averaging_script file.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/tools/plot_mpas_cross_sections/averaging_script
===================================================================
--- branches/tools/plot_mpas_cross_sections/averaging_script        2012-05-24 20:06:44 UTC (rev 1937)
+++ branches/tools/plot_mpas_cross_sections/averaging_script        2012-05-24 20:59:26 UTC (rev 1938)
@@ -38,9 +38,9 @@
 ########################################################################
 
 # variables
-set varList = (acc_uReconstructZonal acc_uReconstructMeridional)
+set varList = ( acc_uReconstructZonal acc_uReconstructMeridional )
 # To compute transport through sections, include acc_u as follows:
-#set varList = (acc_uReconstructZonal acc_uReconstructMeridional acc_u)
+#set varList = ( acc_uReconstructZonal acc_uReconstructMeridional acc_u )
 
 # This is the list of output files that averages should be computed from.
 set outputFileList = o*00.nc
@@ -70,10 +70,11 @@
 ########################################################################
 
 # Find the last output file
+unalias ls
 set lastFileName = `ls $outputFileList | tail -n 1`
 
 # Step 1. Create small grid file.  This only needs to be done with one output file.'
-echo 'Create file with grid variables only:'
+echo 'Create file with grid variables from file:'$lastFileName
 set newFile = total_avg_${lastFileName}
 if ( -f $newFile ) then
    echo &quot;    File $newFile exists.  Skipping grid file generation.&quot;
@@ -118,6 +119,6 @@
 end
 
 echo &quot;averaging_script complete!&quot;
+echo &quot;Now copy file &quot;$finalFile&quot; to your local machine for visualization.&quot;
 
 
-

</font>
</pre>