diag_table_mod is a set of subroutines use to parse out the data from a diag_table. This module will also setup the arrays required to store the information by counting the number of input fields, output files, and files.
"file_name", output_freq, "output_freq_units", file_format, "time_axis_units", "time_axis_name"
[, new_file_freq, "new_file_freq_units"[, "start_time"[, file_duration, "file_duration_units"]]]
"module_name", "field_name", "output_name", "file_name", "time_sampling", "reduction_method", "regional_section", packingwith the following descriptions.
"diag manager test" 1999 1 1 0 0 0 #output files 10_days, 10, "days", 1, "hours", "Time" "file1_hr%hr3", 5, "days", 1, "hours", "Time", 15, "days" "file2_yr_dy%yr1%dy3", 5, "days", 1, "hours", "Time", 10, "days", "1 1 7 0 0 0" "file3_yr_dy%yr1%dy3", 5, "days", 1, "hours", "Time", 20, "days", "1 1 7 0 0 0", 5, "years" #output variables "ice_mod", "ice", "ice", "10_days", "all", .false., "none", 2 # temp_local file and fields. temp_local, 1, "days", 1, "hours", "Time" "ocean_mod", "temp", "temp", "temp_local", "all", .FALSE., "5 259.5 -59.5 59.5 1 1", 2
mpp_io_mod
mpp_mod
fms_mod
time_manager_mod
constants_mod
diag_data_mod
diag_util_mod
SUBROUTINE parse_diag_table (diag_subset, istat, err_msg)
diag_subset |
Diagnostic sampling subset.
[INTEGER, OPTIONAL] |
iunit |
Status of parsing the diag_table. A non-zero status indicates a problem parsing the table.
[INTEGER, OPTIONAL] |
err_msg |
Error message corresponding to the istat return value.
[CHARACTER(len=*), OPTIONAL] |