FMS 2025.01.02-dev
Flexible Modeling System
|
type to hold the info a diag_field More...
Public Member Functions | |
procedure | add_axis_name (this, axis_name) |
procedure | get_n_diurnal (this) |
Inquiry for diag_yaml_files_var_objn_diurnal. | |
procedure | get_pow_value (this) |
Inquiry for diag_yaml_files_var_objpow_value. | |
procedure | get_var_attributes (this) |
Inquiry for diag_yaml_files_var_objvar_attributes. | |
procedure | get_var_fname (this) |
All getter functions (functions named get_x(), for member field named x) return copies of the member variables unless explicitly noted. | |
procedure | get_var_kind (this) |
Inquiry for diag_yaml_files_var_objvar_kind. | |
procedure | get_var_longname (this) |
Inquiry for diag_yaml_files_var_objvar_longname. | |
procedure | get_var_module (this) |
Inquiry for diag_yaml_files_var_objvar_module. | |
procedure | get_var_outname (this) |
Inquiry for diag_yaml_files_var_objvar_outname. | |
procedure | get_var_reduction (this) |
Inquiry for diag_yaml_files_var_objvar_reduction. | |
procedure | get_var_units (this) |
Inquiry for diag_yaml_files_var_objvar_units. | |
procedure | get_var_varname (this) |
Inquiry for diag_yaml_files_var_objvar_varname. | |
procedure | get_var_zbounds (this) |
Inquiry for diag_yaml_files_var_objvar_zbounds. | |
procedure | has_n_diurnal (this) |
Checks if diag_file_objn_diurnal is set. | |
procedure | has_pow_value (this) |
Checks if diag_file_objpow_value is set. | |
procedure | has_var_attributes (this) |
Checks if diag_file_objvar_attributes is allocated. | |
procedure | has_var_fname (this) |
Checks if diag_file_objvar_fname is allocated. | |
procedure | has_var_kind (this) |
Checks if diag_file_objvar_kind is allocated. | |
procedure | has_var_longname (this) |
Checks if diag_file_objvar_longname is allocated. | |
procedure | has_var_module (this) |
Checks if diag_file_objvar_module is allocated. | |
procedure | has_var_outname (this) |
Checks if diag_file_objvar_outname is allocated. | |
procedure | has_var_reduction (this) |
Checks if diag_file_objvar_reduction is allocated. | |
procedure | has_var_units (this) |
Checks if diag_file_objvar_units is allocated. | |
procedure | has_var_varname (this) |
Checks if diag_file_objvar_varname is allocated. | |
procedure | has_var_zbounds (this) |
Checks if diag_file_objvar_zbounds is allocated. | |
procedure | is_file_subregional (this) |
procedure | is_var_attributes (this) |
Inquiry for whether var_attributes is allocated. | |
Public Attributes | |
character(len=:), allocatable | var_axes_names |
list of axes names | |
Private Attributes | |
integer, private | n_diurnal |
Number of diurnal samples 0 if var_reduction is not "diurnalXX". | |
integer, private | pow_value |
The power value 0 if pow_value is not "powXX". | |
character(len=max_str_len), dimension(:, :), allocatable, private | var_attributes |
Attributes to overwrite or add from diag_yaml. | |
logical, private | var_file_is_subregional |
true if the file this entry belongs to is subregional | |
character(len=:), allocatable, private | var_fname |
The field/diagnostic name. | |
integer, allocatable, private | var_kind |
The type/kind of the variable. | |
character(len=:), allocatable, private | var_longname |
Overwrites the long name of the variable. | |
character(len=:), allocatable, private | var_module |
The module that th variable is in. | |
character(len=:), allocatable, private | var_outname |
Name of the variable as written to the file. | |
integer, allocatable, private | var_reduction |
Reduction to be done on var time_average, time_rms, time_max, time_min, time_sum, time_diurnal, time_power. | |
character(len=:), allocatable, private | var_units |
Overwrites the units. | |
character(len=:), allocatable, private | var_varname |
The name of the variable. | |
real(kind=r4_kind), dimension(2), private | var_zbounds |
The z axis limits [vert_min, vert_max]. | |
type to hold the info a diag_field
Definition at line 194 of file fms_diag_yaml.F90.
procedure add_axis_name | ( | class(diagyamlfilesvar_type), intent(inout) | this, |
character(len=:), intent(in), allocatable | axis_name | ||
) |
Definition at line 246 of file fms_diag_yaml.F90.
procedure get_n_diurnal | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objn_diurnal.
[in] | this | The object being inquiried |
Definition at line 230 of file fms_diag_yaml.F90.
procedure get_pow_value | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objpow_value.
[in] | this | The object being inquiried |
Definition at line 231 of file fms_diag_yaml.F90.
procedure get_var_attributes | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objvar_attributes.
[in] | this | The object being inquiried |
Definition at line 229 of file fms_diag_yaml.F90.
procedure get_var_fname | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
All getter functions (functions named get_x(), for member field named x) return copies of the member variables unless explicitly noted.
[in] | this | The object being inquiried |
Definition at line 220 of file fms_diag_yaml.F90.
procedure get_var_kind | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objvar_kind.
[in] | this | The object being inquiried |
Definition at line 224 of file fms_diag_yaml.F90.
procedure get_var_longname | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objvar_longname.
[in] | this | The object being inquiried |
Definition at line 226 of file fms_diag_yaml.F90.
procedure get_var_module | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objvar_module.
[in] | this | The object being inquiried |
Definition at line 223 of file fms_diag_yaml.F90.
procedure get_var_outname | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objvar_outname.
[in] | this | The object being inquiried |
Definition at line 225 of file fms_diag_yaml.F90.
procedure get_var_reduction | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objvar_reduction.
[in] | this | The object being inquiried |
Definition at line 222 of file fms_diag_yaml.F90.
procedure get_var_units | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objvar_units.
[in] | this | The object being inquiried |
Definition at line 227 of file fms_diag_yaml.F90.
procedure get_var_varname | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objvar_varname.
[in] | this | The object being inquiried |
Definition at line 221 of file fms_diag_yaml.F90.
procedure get_var_zbounds | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for diag_yaml_files_var_objvar_zbounds.
[in] | this | The object being inquiried |
Definition at line 228 of file fms_diag_yaml.F90.
procedure has_n_diurnal | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objn_diurnal is set.
[in] | this | diagYamlvar_type object to inquire |
Definition at line 244 of file fms_diag_yaml.F90.
procedure has_pow_value | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objpow_value is set.
[in] | this | diagYamlvar_type object to inquire |
Definition at line 245 of file fms_diag_yaml.F90.
procedure has_var_attributes | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objvar_attributes is allocated.
[in] | this | diagYamlvar_type object to initialize |
Definition at line 243 of file fms_diag_yaml.F90.
procedure has_var_fname | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objvar_fname is allocated.
[in] | this | diagYamlvar_type object to initialize |
Definition at line 234 of file fms_diag_yaml.F90.
procedure has_var_kind | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objvar_kind is allocated.
[in] | this | diagYamlvar_type object to initialize |
Definition at line 238 of file fms_diag_yaml.F90.
procedure has_var_longname | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objvar_longname is allocated.
[in] | this | diagYamlvar_type object to initialize |
Definition at line 240 of file fms_diag_yaml.F90.
procedure has_var_module | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objvar_module is allocated.
[in] | this | diagYamlvar_type object to initialize |
Definition at line 237 of file fms_diag_yaml.F90.
procedure has_var_outname | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objvar_outname is allocated.
[in] | this | diagYamlvar_type object to initialize |
Definition at line 239 of file fms_diag_yaml.F90.
procedure has_var_reduction | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objvar_reduction is allocated.
[in] | this | diagYamlvar_type object to initialize |
Definition at line 236 of file fms_diag_yaml.F90.
procedure has_var_units | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objvar_units is allocated.
[in] | this | diagYamlvar_type object to initialize |
Definition at line 241 of file fms_diag_yaml.F90.
procedure has_var_varname | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objvar_varname is allocated.
[in] | this | diagYamlvar_type object to initialize |
Definition at line 235 of file fms_diag_yaml.F90.
procedure has_var_zbounds | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Checks if diag_file_objvar_zbounds is allocated.
[in] | this | diagYamlvar_type object to initialize |
Definition at line 242 of file fms_diag_yaml.F90.
procedure is_file_subregional | ( | class(diagyamlfilesvar_type), intent(in) | this | ) |
Definition at line 247 of file fms_diag_yaml.F90.
procedure is_var_attributes | ( | class (diagyamlfilesvar_type), intent(in) | this | ) |
Inquiry for whether var_attributes is allocated.
[in] | this | The object being inquiried |
Definition at line 232 of file fms_diag_yaml.F90.
|
private |
Number of diurnal samples 0 if var_reduction is not "diurnalXX".
Definition at line 206 of file fms_diag_yaml.F90.
|
private |
The power value 0 if pow_value is not "powXX".
Definition at line 208 of file fms_diag_yaml.F90.
|
private |
Attributes to overwrite or add from diag_yaml.
Definition at line 214 of file fms_diag_yaml.F90.
character(len=:), allocatable var_axes_names |
list of axes names
Definition at line 216 of file fms_diag_yaml.F90.
|
private |
true if the file this entry belongs to is subregional
Need to use MAX_STR_LEN
because not all filenames/global attributes are the same length
Definition at line 210 of file fms_diag_yaml.F90.
|
private |
The field/diagnostic name.
Definition at line 195 of file fms_diag_yaml.F90.
|
private |
The type/kind of the variable.
Definition at line 201 of file fms_diag_yaml.F90.
|
private |
Overwrites the long name of the variable.
Definition at line 203 of file fms_diag_yaml.F90.
|
private |
The module that th variable is in.
Definition at line 200 of file fms_diag_yaml.F90.
|
private |
Name of the variable as written to the file.
Definition at line 202 of file fms_diag_yaml.F90.
|
private |
Reduction to be done on var time_average, time_rms, time_max, time_min, time_sum, time_diurnal, time_power.
Definition at line 197 of file fms_diag_yaml.F90.
|
private |
Overwrites the units.
Definition at line 204 of file fms_diag_yaml.F90.
|
private |
The name of the variable.
Definition at line 196 of file fms_diag_yaml.F90.
|
private |
The z axis limits [vert_min, vert_max].
Definition at line 205 of file fms_diag_yaml.F90.