FV3 Bundle
diag_data_mod Module Reference

Data Types

type  coord_type
 
type  diag_atttype
 
type  diag_axis_type
 
type  diag_fieldtype
 
type  diag_global_att_type
 
type  diag_grid
 
type  file_type
 
type  input_field_type
 
type  output_field_type
 

Functions/Subroutines

subroutine diag_data_init ()
 

Variables

integer, parameter max_fields_per_file = 300
 Maximum number of fields per file. More...
 
integer, parameter diag_other = 0
 
integer, parameter diag_ocean = 1
 
integer, parameter diag_all = 2
 
integer, parameter very_large_file_freq = 100000
 
integer, parameter very_large_axis_length = 10000
 
integer, parameter every_time = 0
 
integer, parameter end_of_run = -1
 
integer, parameter diag_seconds = 1
 
integer, parameter diag_minutes = 2
 
integer, parameter diag_hours = 3
 
integer, parameter diag_days = 4
 
integer, parameter diag_months = 5
 
integer, parameter diag_years = 6
 
integer, parameter max_subaxes = 10
 
integer, parameter glo_reg_val = -999
 
integer, parameter glo_reg_val_alt = -1
 
real, parameter cmor_missing_value = 1.0e20
 CMOR standard missing value. More...
 
integer, parameter diag_field_not_found = -1
 
integer num_files = 0
 
integer num_input_fields = 0
 
integer num_output_fields = 0
 
integer null_axis_id
 
logical append_pelist_name = .FALSE.
 
logical mix_snapshot_average_fields =.FALSE.
 
integer max_files = 31
 Maximum number of output files allowed. Increase via diag_manager_nml. More...
 
integer max_output_fields = 300
 Maximum number of output fields. Increase via diag_manager_nml. More...
 
integer max_input_fields = 600
 Maximum number of input fields. Increase via diag_manager_nml. More...
 
integer max_out_per_in_field = 150
 Maximum number of output_fields per input_field. Increase via diag_manager_nml. More...
 
integer max_axes = 60
 Maximum number of independent axes. More...
 
logical do_diag_field_log = .FALSE.
 
logical write_bytes_in_file = .FALSE.
 
logical debug_diag_manager = .FALSE.
 
logical flush_nc_files = .FALSE.
 Control if diag_manager will force a flush of the netCDF file on each write. Note: changing this to .TRUE. can greatly reduce the performance of the model, as the model must wait until the flush to disk has completed. More...
 
integer max_num_axis_sets = 25
 
logical use_cmor = .FALSE.
 
logical issue_oor_warnings = .TRUE.
 
logical oor_warnings_fatal = .FALSE.
 
logical region_out_use_alt_value = .TRUE.
 
integer max_field_attributes = 4
 Maximum number of user definable attributes per field. Liptak: Changed from 2 to 4 20170718. More...
 
integer max_file_attributes = 2
 Maximum number of user definable global attributes per file. More...
 
integer max_axis_attributes = 4
 Maximum number of user definable attributes per axis. More...
 
logical prepend_date = .TRUE.
 Should the history file have the start date prepended to the file name. More...
 
logical write_manifest_file = .FALSE.
 Indicates if the manifest file should be written. If writing many regional files, then the termination time may increase causing job to time out. More...
 
real fill_value = NF_FILL_REAL
 
integer pack_size = 1
 
real empty = 0.0
 
real max_value
 
real min_value
 
type(time_typediag_init_time
 
type(time_typebase_time
 
integer base_year
 
integer base_month
 
integer base_day
 
integer base_hour
 
integer base_minute
 
integer base_second
 
character(len=256) global_descriptor
 
type(file_type), dimension(:), allocatable, save files
 
type(input_field_type), dimension(:), allocatable input_fields
 
type(output_field_type), dimension(:), allocatable output_fields
 
type(time_typetime_zero
 
logical first_send_data_call = .TRUE.
 
logical module_is_initialized = .FALSE.
 
integer diag_log_unit
 
character(len=10), dimension(6) time_unit_list = (/'seconds ', 'minutes ', 'hours ', 'days ', 'months ', 'years '/)
 
character(len=32) pelist_name
 
integer oor_warning = WARNING
 

Function/Subroutine Documentation

◆ diag_data_init()

subroutine diag_data_mod::diag_data_init ( )

Definition at line 816 of file diag_data.F90.

Here is the caller graph for this function:

Variable Documentation

◆ append_pelist_name

logical diag_data_mod::append_pelist_name = .FALSE.

Definition at line 709 of file diag_data.F90.

◆ base_day

integer diag_data_mod::base_day

Definition at line 773 of file diag_data.F90.

◆ base_hour

integer diag_data_mod::base_hour

Definition at line 773 of file diag_data.F90.

◆ base_minute

integer diag_data_mod::base_minute

Definition at line 773 of file diag_data.F90.

◆ base_month

integer diag_data_mod::base_month

Definition at line 773 of file diag_data.F90.

◆ base_second

integer diag_data_mod::base_second

Definition at line 773 of file diag_data.F90.

◆ base_time

type(time_type) diag_data_mod::base_time

Definition at line 772 of file diag_data.F90.

◆ base_year

integer diag_data_mod::base_year

Definition at line 773 of file diag_data.F90.

◆ cmor_missing_value

real, parameter diag_data_mod::cmor_missing_value = 1.0e20

CMOR standard missing value.

Definition at line 110 of file diag_data.F90.

◆ debug_diag_manager

logical diag_data_mod::debug_diag_manager = .FALSE.

Definition at line 718 of file diag_data.F90.

◆ diag_all

integer, parameter diag_data_mod::diag_all = 2

Definition at line 100 of file diag_data.F90.

◆ diag_days

integer, parameter diag_data_mod::diag_days = 4

Definition at line 106 of file diag_data.F90.

◆ diag_field_not_found

integer, parameter diag_data_mod::diag_field_not_found = -1

Definition at line 111 of file diag_data.F90.

◆ diag_hours

integer, parameter diag_data_mod::diag_hours = 3

Definition at line 105 of file diag_data.F90.

◆ diag_init_time

type(time_type) diag_data_mod::diag_init_time

Definition at line 771 of file diag_data.F90.

◆ diag_log_unit

integer diag_data_mod::diag_log_unit

Definition at line 797 of file diag_data.F90.

◆ diag_minutes

integer, parameter diag_data_mod::diag_minutes = 2

Definition at line 105 of file diag_data.F90.

◆ diag_months

integer, parameter diag_data_mod::diag_months = 5

Definition at line 106 of file diag_data.F90.

◆ diag_ocean

integer, parameter diag_data_mod::diag_ocean = 1

Definition at line 99 of file diag_data.F90.

◆ diag_other

integer, parameter diag_data_mod::diag_other = 0

Definition at line 98 of file diag_data.F90.

◆ diag_seconds

integer, parameter diag_data_mod::diag_seconds = 1

Definition at line 105 of file diag_data.F90.

◆ diag_years

integer, parameter diag_data_mod::diag_years = 6

Definition at line 106 of file diag_data.F90.

◆ do_diag_field_log

logical diag_data_mod::do_diag_field_log = .FALSE.

Definition at line 716 of file diag_data.F90.

◆ empty

real diag_data_mod::empty = 0.0

Definition at line 755 of file diag_data.F90.

◆ end_of_run

integer, parameter diag_data_mod::end_of_run = -1

Definition at line 104 of file diag_data.F90.

◆ every_time

integer, parameter diag_data_mod::every_time = 0

Definition at line 103 of file diag_data.F90.

◆ files

type(file_type), dimension(:), allocatable, save diag_data_mod::files

Definition at line 780 of file diag_data.F90.

◆ fill_value

real diag_data_mod::fill_value = NF_FILL_REAL

Definition at line 744 of file diag_data.F90.

◆ first_send_data_call

logical diag_data_mod::first_send_data_call = .TRUE.

Definition at line 795 of file diag_data.F90.

◆ flush_nc_files

logical diag_data_mod::flush_nc_files = .FALSE.

Control if diag_manager will force a flush of the netCDF file on each write. Note: changing this to .TRUE. can greatly reduce the performance of the model, as the model must wait until the flush to disk has completed.

Definition at line 719 of file diag_data.F90.

◆ glo_reg_val

integer, parameter diag_data_mod::glo_reg_val = -999

Definition at line 108 of file diag_data.F90.

◆ glo_reg_val_alt

integer, parameter diag_data_mod::glo_reg_val_alt = -1

Definition at line 109 of file diag_data.F90.

◆ global_descriptor

character(len = 256) diag_data_mod::global_descriptor

Definition at line 774 of file diag_data.F90.

◆ input_fields

type(input_field_type), dimension(:), allocatable diag_data_mod::input_fields

Definition at line 781 of file diag_data.F90.

◆ issue_oor_warnings

logical diag_data_mod::issue_oor_warnings = .TRUE.

Definition at line 727 of file diag_data.F90.

◆ max_axes

integer diag_data_mod::max_axes = 60

Maximum number of independent axes.

Definition at line 715 of file diag_data.F90.

◆ max_axis_attributes

integer diag_data_mod::max_axis_attributes = 4

Maximum number of user definable attributes per axis.

Definition at line 733 of file diag_data.F90.

◆ max_field_attributes

integer diag_data_mod::max_field_attributes = 4

Maximum number of user definable attributes per field. Liptak: Changed from 2 to 4 20170718.

Definition at line 731 of file diag_data.F90.

◆ max_fields_per_file

integer, parameter diag_data_mod::max_fields_per_file = 300

Maximum number of fields per file.

Definition at line 97 of file diag_data.F90.

◆ max_file_attributes

integer diag_data_mod::max_file_attributes = 2

Maximum number of user definable global attributes per file.

Definition at line 732 of file diag_data.F90.

◆ max_files

integer diag_data_mod::max_files = 31

Maximum number of output files allowed. Increase via diag_manager_nml.

Definition at line 711 of file diag_data.F90.

◆ max_input_fields

integer diag_data_mod::max_input_fields = 600

Maximum number of input fields. Increase via diag_manager_nml.

Definition at line 713 of file diag_data.F90.

◆ max_num_axis_sets

integer diag_data_mod::max_num_axis_sets = 25

Definition at line 725 of file diag_data.F90.

◆ max_out_per_in_field

integer diag_data_mod::max_out_per_in_field = 150

Maximum number of output_fields per input_field. Increase via diag_manager_nml.

Definition at line 714 of file diag_data.F90.

◆ max_output_fields

integer diag_data_mod::max_output_fields = 300

Maximum number of output fields. Increase via diag_manager_nml.

Definition at line 712 of file diag_data.F90.

◆ max_subaxes

integer, parameter diag_data_mod::max_subaxes = 10

Definition at line 107 of file diag_data.F90.

◆ max_value

real diag_data_mod::max_value

Definition at line 756 of file diag_data.F90.

◆ min_value

real diag_data_mod::min_value

Definition at line 756 of file diag_data.F90.

◆ mix_snapshot_average_fields

logical diag_data_mod::mix_snapshot_average_fields =.FALSE.

Definition at line 710 of file diag_data.F90.

◆ module_is_initialized

logical diag_data_mod::module_is_initialized = .FALSE.

Definition at line 796 of file diag_data.F90.

◆ null_axis_id

integer diag_data_mod::null_axis_id

Definition at line 650 of file diag_data.F90.

◆ num_files

integer diag_data_mod::num_files = 0

Definition at line 647 of file diag_data.F90.

◆ num_input_fields

integer diag_data_mod::num_input_fields = 0

Definition at line 648 of file diag_data.F90.

◆ num_output_fields

integer diag_data_mod::num_output_fields = 0

Definition at line 649 of file diag_data.F90.

◆ oor_warning

integer diag_data_mod::oor_warning = WARNING

Definition at line 801 of file diag_data.F90.

◆ oor_warnings_fatal

logical diag_data_mod::oor_warnings_fatal = .FALSE.

Definition at line 728 of file diag_data.F90.

◆ output_fields

type(output_field_type), dimension(:), allocatable diag_data_mod::output_fields

Definition at line 782 of file diag_data.F90.

◆ pack_size

integer diag_data_mod::pack_size = 1

Definition at line 749 of file diag_data.F90.

◆ pelist_name

character(len=32) diag_data_mod::pelist_name

Definition at line 800 of file diag_data.F90.

◆ prepend_date

logical diag_data_mod::prepend_date = .TRUE.

Should the history file have the start date prepended to the file name.

Definition at line 734 of file diag_data.F90.

◆ region_out_use_alt_value

logical diag_data_mod::region_out_use_alt_value = .TRUE.

Definition at line 729 of file diag_data.F90.

◆ time_unit_list

character(len=10), dimension(6) diag_data_mod::time_unit_list = (/'seconds ', 'minutes ', 'hours ', 'days ', 'months ', 'years '/)

Definition at line 798 of file diag_data.F90.

◆ time_zero

type(time_type) diag_data_mod::time_zero

Definition at line 794 of file diag_data.F90.

◆ use_cmor

logical diag_data_mod::use_cmor = .FALSE.

Definition at line 726 of file diag_data.F90.

◆ very_large_axis_length

integer, parameter diag_data_mod::very_large_axis_length = 10000

Definition at line 102 of file diag_data.F90.

◆ very_large_file_freq

integer, parameter diag_data_mod::very_large_file_freq = 100000

Definition at line 101 of file diag_data.F90.

◆ write_bytes_in_file

logical diag_data_mod::write_bytes_in_file = .FALSE.

Definition at line 717 of file diag_data.F90.

◆ write_manifest_file

logical diag_data_mod::write_manifest_file = .FALSE.

Indicates if the manifest file should be written. If writing many regional files, then the termination time may increase causing job to time out.

Definition at line 735 of file diag_data.F90.