| 
    FMS
    2025.04
    
   Flexible Modeling System 
   | 
 
File for diag_manager_mod. More...
#include <file_version.h>Go to the source code of this file.
Data Types | |
| interface | diag_field_add_attribute | 
| Add a attribute to the output field.  More... | |
| interface | register_diag_field | 
| Register a diagnostic field for a given module.  More... | |
| interface | send_data | 
| Send data over to output fields.  More... | |
| interface | send_tile_averaged_data | 
| Send tile-averaged data over to output fields.  More... | |
Functions/Subroutines | |
| subroutine | add_associated_files (file_num, cm_file_num, cm_ind) | 
| Add to the associated files attribute.  More... | |
| subroutine | average_tiles (diag_field_id, x, area, mask, out) | 
| Calculates tile average of a field.  More... | |
| subroutine | average_tiles1d (diag_field_id, x, area, mask, out) | 
| Calculates average for a field with the given area and land mask.  More... | |
| subroutine | closing_file (file, time) | 
| Replaces diag_manager_end; close just one file: files(file)  | |
| subroutine | copy_3d_to_4d (data_in, data_out, field_name) | 
| Copies a 3d buffer to a 4d buffer.  More... | |
| subroutine | diag_field_add_attribute_0d (diag_field_id, att_name, att_value) | 
| Add a scalr attribute to the diag field corresponding to a given id.  More... | |
| subroutine | diag_field_add_attribute_1d (diag_field_id, att_name, att_value) | 
| Add an 1D array attribute to the diag field corresponding to a given id.  More... | |
| subroutine, public | diag_field_add_cell_measures (diag_field_id, area, volume) | 
| Add the cell_measures attribute to a diag out field.  More... | |
| subroutine | diag_field_attribute_init (diag_field_id, name, type, cval, ival, rval) | 
| subroutine, public | diag_manager_end (time) | 
| Flushes diagnostic buffers where necessary. Close diagnostics files. A warning will be issued here if a field in diag_table is not registered.  | |
| subroutine, public | diag_manager_init (diag_model_subset, time_init, err_msg) | 
| Initialize Diagnostics Manager.  More... | |
| subroutine, public | diag_manager_set_time_end (Time_end_in) | 
| subroutine, public | diag_send_complete (time_step, err_msg) | 
| Saves diagnostic data for the given time value.  | |
| subroutine, public | diag_send_complete_instant (time) | 
| The subroutine 'diag_send_complete_instant' allows the user to save diagnostic data on variable intervals (user defined in code logic) to the same file. The argument (time_type) will be written to the time axis correspondingly.  More... | |
| logical function | diag_send_data (diag_field_id, field, time, is_in, js_in, ks_in, mask, rmask, ie_in, je_in, ke_in, weight, err_msg) | 
| subroutine, public | get_base_date (year, month, day, hour, minute, second) | 
| Return base date for diagnostics.  More... | |
| integer function, public | get_diag_field_id (module_name, field_name) | 
| Return the diagnostic field ID of a given variable.  More... | |
| logical function | get_related_field (field, rel_field, out_field_id, out_file_id) | 
| Finds the corresponding related output field and file for a given input field.  More... | |
| integer function | init_diurnal_axis (n_samples) | 
| Finds or initializes a diurnal time axis and returns its' ID.  More... | |
| subroutine | init_field_cell_measures (output_field, area, volume, err_msg) | 
| If needed, add cell_measures and associated_file attribute to out field/file.  More... | |
| logical function, public | need_data (diag_field_id, next_model_time) | 
| Determine whether data is needed for the current model time step.  More... | |
| integer function | register_diag_field_array (module_name, field_name, axes, init_time, long_name, units, missing_value, range, mask_variant, standard_name, verbose, do_not_log, err_msg, interp_method, tile_count, area, volume, realm, multiple_send_data) | 
| Registers an array field.  More... | |
| integer function | register_diag_field_array_old (module_name, field_name, axes, init_time, long_name, units, missing_value, range, mask_variant, standard_name, verbose, do_not_log, err_msg, interp_method, tile_count, area, volume, realm) | 
| Registers an array field.  More... | |
| integer function | register_diag_field_scalar (module_name, field_name, init_time, long_name, units, missing_value, range, standard_name, do_not_log, err_msg, area, volume, realm, multiple_send_data) | 
| Registers a scalar field.  More... | |
| integer function | register_diag_field_scalar_old (module_name, field_name, init_time, long_name, units, missing_value, range, standard_name, do_not_log, err_msg, area, volume, realm) | 
| Registers a scalar field.  More... | |
| integer function, public | register_static_field (module_name, field_name, axes, long_name, units, missing_value, range, mask_variant, standard_name, DYNAMIC, do_not_log, interp_method, tile_count, area, volume, realm) | 
| Return field index for subsequent call to send_data.  More... | |
| integer function | register_static_field_old (module_name, field_name, axes, long_name, units, missing_value, range, mask_variant, standard_name, DYNAMIC, do_not_log, interp_method, tile_count, area, volume, realm) | 
| Return field index for subsequent call to send_data.  More... | |
| logical function | send_data_0d (diag_field_id, field, time, err_msg) | 
| logical function | send_data_1d (diag_field_id, field, time, is_in, mask, rmask, ie_in, weight, err_msg) | 
| logical function | send_data_2d (diag_field_id, field, time, is_in, js_in, mask, rmask, ie_in, je_in, weight, err_msg) | 
| logical function | send_data_3d (diag_field_id, field, time, is_in, js_in, ks_in, mask, rmask, ie_in, je_in, ke_in, weight, err_msg) | 
| logical function | send_data_4d (diag_field_id, field, time, is_in, js_in, ks_in, mask, rmask, ie_in, je_in, ke_in, weight, err_msg) | 
| Updates the output buffer for a field based on the data for current time step.  More... | |
| logical function | send_tile_averaged_data1d (id, field, area, time, mask) | 
| logical function | send_tile_averaged_data2d (id, field, area, time, mask) | 
| logical function | send_tile_averaged_data3d (id, field, area, time, mask) | 
| integer function | writing_field (out_num, at_diag_end, error_string, time) | 
Variables | |
| type(time_type) | time_end | 
File for diag_manager_mod.
Definition in file diag_manager.F90.