Hi everyone, I’m hoping to get some advice on setting up a diag_table
for ESM1.5 via the make_diag_table script. I’ve translated the existing diag_table into a diag_table_source.yaml file here which mostly works but I’ve run into a few questions.
-
Good settings for
max_files
,max_num_axis_sets
, andmax_axes
. The new diag_table requests 273 output files, and trying to run produced errors from these parameters being exceeded. I added in the following settings toinput.nml
to avoid the crashes with some added wiggle room:&diag_manager_nml ... max_num_axis_sets = 400 max_axes = 600 max_files = 400 /
Are there any downsides with setting these values this much higher? Maybe a dumb question but I’m wondering what
max_num_axis_sets
vsmax_axes
mean?
-
Missing outputs after translation. The existing diag_table includes these two variables:
"ocean_model","rhobarz","rhobarz" ,"ocean_month","all",.true.,"none",2 "ocean_model","temp_runoffmix","temp_runoffmix" ,"ocean_month","all",.true.,"none",2
and these two variables are present in the output. The diag_table produced from the yaml file
includes the corresponding requests:"ocean-2d-rhobarz-1monthly-mean-ym%4yr%2mo", 1, "months", 1, "days", "time", 1, "years" "ocean_model", "rhobarz", "rhobarz", "ocean-2d-rhobarz-1monthly-mean-ym%4yr%2mo", "all", "average", "none", 2 "ocean-3d-temp_runoffmix-1monthly-mean-ym%4yr%2mo", 1, "months", 1, "days", "time", 1, "years" "ocean_model", "temp_runoffmix", "temp_runoffmix", "ocean-3d-temp_runoffmix-1monthly-mean-ym%4yr%2mo", "all", "average", "none", 2
When I run the model with the new diag table, these two variables are missing from the output. I’m wondering if there’s any obvious errors that I might have made here.
-
Missing outputs before translation. The following variables were requested in the original diag_table, but aren’t in the output when I run the original configuration
"ocean_model","rhobarz_global","rhobarz_global" ,"ocean_scalar","all",.true.,"none",2 "ocean_model","temp_adv_flux_x_int_z","temp_adv_flux_x_int_z" ,"ocean_month","all",.true.,"none",2 "ocean_model","temp_adv_flux_y_int_z","temp_adv_flux_y_int_z" ,"ocean_month","all",.true.,"none",2 "ocean_model","temp_xflux_neutral_int_z","temp_xflux_neutral_int_z" ,"ocean_month","all",.true.,"none",2 "ocean_model","temp_yflux_neutral_int_z","temp_yflux_neutral_int_z" ,"ocean_month","all",.true.,"none",2 "ocean_model","temp_xflux_gm_modes_int_z","temp_xflux_gm_modes_int_z" ,"ocean_month","all",.true.,"none",2 "ocean_model","temp_yflux_gm_modes_int_z","temp_yflux_gm_modes_int_z" ,"ocean_month","all",.true.,"none",2 "ocean_model","f_vis","f_vis" ,"ocean_month","all",.true.,"none",2 "ocean_model","con_temp","con_temp" ,"ocean_month","all",.true.,"none",2 "ocean_model","neutral_temp","neutral_temp" ,"ocean_month","all",.true.,"none",2 "ocean_model","neutral_salt","neutral_salt" ,"ocean_month","all",.true.,"none",2 "ocean_model","salt_adv_flux_x_int_z","salt_adv_flux_x_int_z" ,"ocean_month","all",.true.,"none",2 "ocean_model","salt_adv_flux_y_int_z","salt_adv_flux_y_int_z" ,"ocean_month","all",.true.,"none",2 "ocean_model","salt_xflux_gm_modes_int_z","salt_xflux_gm_modes_int_z" ,"ocean_month","all",.true.,"none",2 "ocean_model","salt_yflux_gm_modes_int_z","salt_yflux_gm_modes_int_z" ,"ocean_month","all",.true.,"none",2 "ocean_model","salt_xflux_overflow_int_z","salt_xflux_overflow_int_z", "ocean_month","all",.true.,"none",2 "ocean_model","salt_yflux_overflow_int_z","salt_yflux_overflow_int_z", "ocean_month","all",.true.,"none",2 "ocean_model","steep_depth","steep_depth" ,"ocean_month","all",.true.,"none",2 "ocean_model","slope_blayer_base","slope_blayer_base" ,"ocean_month","all",.true.,"none",2 "ocean_model","depth_blayer_base","depth_blayer_base" ,"ocean_month","all",.true.,"none",2 "ocean_model","surf_trans_thick","surf_trans_thick" ,"ocean_month","all",.true.,"none",2 "ocean_model","surf_turb_thick","surf_turb_thick" ,"ocean_month","all",.true.,"none",2 "ocean_model","surf_blayer_depth","surf_blayer_depth" ,"ocean_month","all",.true.,"none",2 "ocean_model","export_prod","export_prod", "ocean_bgc","all",.true.,"none",2 "ocean_model","export_inorg","export_inorg", "ocean_bgc","all",.true.,"none",2 "ocean_model","export_prod","epn100_raw", "ocean_bgc_mth","all",.true.,"none",2 "ocean_model","export_inorg","eparag100_raw", "ocean_bgc_mth","all",.true.,"none",2 "ocean_model","cfc_11","cfc11_raw" ,"ocean_bgc_ann","all",.true.,"none",2 "ocean_model","cfc_12","cfc12_raw" ,"ocean_bgc_ann","all",.true.,"none",2
I haven’t included these in the new diag_table yet, but I’m wondering whether there’s any known reason that the model wouldn’t be saving these variables.
-
Patching variable names. The existing diag_table replaces the
output_name
of a few variables, e.g:"ocean_model", "surface_no3", "no3os_raw", "ocean-2d-surface_no3-1monthly-mean-ym%4yr%2mo", "all", "average", "none", 2
I’ve added the same name changes to the translated
yaml
file, but with the one variable per file setup, it means that the nc filename and variable name don’t match. E.g:> ncdump -h ocean-2d-surface_no3-1monthly-mean-ym_0101_01.nc ... > float no3os_raw(time, yt_ocean, xt_ocean) ;
Does anyone know whether this could cause issues down the line for the intake/MED?
Thank you!