Skip to content

Commit 1ebf336

Browse files
committed
Removed call to calc_varaince.py
- Removed call to calc_variance.py from MOM6_refineDiag.csh - 'zos' and 'zos_squared' ('zossq') are now in the diag_table.
1 parent 9d4536a commit 1ebf336

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

tools/analysis/MOM6_refineDiag.csh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,21 +95,22 @@ set ocean_static_file = $yr1.ocean_static.nc
9595
if ( -e $yr1.ocean_static_no_mask_table.nc ) set ocean_static_file = $yr1.ocean_static_no_mask_table.nc
9696

9797
set basin_codes_file = $yr1.basin_codes.nc
98-
set strait_dir = "./"
9998

10099
echo '====annual mean Eddy Kinetic Energy======'
101100
mkdir -p $out_dir/refineDiag_ocean_annual/EddyKineticEnergy
102101
$script_dir/EddyKineticEnergy.py -g $ocean_static_file -o $out_dir/refineDiag_ocean_annual/EddyKineticEnergy/EKE_mean_${yr1}.png -l ${yr1} $yr1.ocean_daily.nc
103102

104103

105104
echo '==== Offline Diagnostics ===='
106-
$script_dir/refineDiag_ocean_month.py -b $basin_codes_file -r refineDiagDir $yr1.ocean_month.nc
107-
$script_dir/refineDiag_ocean_month_z.py -b $basin_codes_file -r refineDiagDir -s ./ $yr1.ocean_month_z.nc
108-
$script_dir/refineDiag_ocean_month_rho2.py -b $basin_codes_file -r refineDiagDir $yr1.ocean_month_rho2.nc
109-
$script_dir/calc_variance.py zos $yr1.ocean_daily.nc $refineDiagDir/$yr1.ocean_month_refined.nc
105+
$script_dir/refineDiag_ocean_month.py -b $basin_codes_file -r $refineDiagDir $yr1.ocean_month.nc
106+
$script_dir/refineDiag_ocean_month_z.py -b $basin_codes_file -r $refineDiagDir -s ./ $yr1.ocean_month_z.nc
107+
$script_dir/refineDiag_ocean_month_rho2.py -b $basin_codes_file -r $refineDiagDir $yr1.ocean_month_rho2.nc
108+
#$script_dir/calc_variance.py zos $yr1.ocean_daily.nc $refineDiagDir/$yr1.ocean_month_refined.nc
110109

111-
#-- Note: the calc_variance script should be called LAST, since it appends to the ocean_month_refined.nc file
112-
# that is created first by the other scripts.
110+
#-- Note: The calc_variance script pre-dated refineDiag efforts just prior to the start of the GFDL-CM4 DECK runs.
111+
# Based on the diag_table, it looks like the calc_variance script is no longer needed and is now commented out.
112+
# If it is reactivated, it should be called LAST, since it appends to the ocean_month_refined.nc file that is
113+
# created first by the other scripts.
113114

114115
echo " ---------- end yearly analysis ---------- "
115116

0 commit comments

Comments
 (0)