FMS
2025.04
Flexible Modeling System
|
Misc. utility routines for use in FMS2 IO. More...
Data Types | |
interface | allocate_array |
type | char_linked_list |
A linked list of strings. More... | |
interface | get_array_section |
interface | get_data_type_string |
interface | get_mosaic_tile_file |
interface | parse_mask_table |
interface | put_array_section |
Functions/Subroutines | |
subroutine | allocate_array_char_1d (buf, sizes, initialize) |
Allocate character arrays using an input array of sizes. More... | |
subroutine | allocate_array_char_2d (buf, sizes, initialize) |
Allocate character arrays using an input array of sizes. More... | |
subroutine | allocate_array_char_3d (buf, sizes, initialize) |
Allocate character arrays using an input array of sizes. More... | |
subroutine | allocate_array_char_4d (buf, sizes, initialize) |
Allocate character arrays using an input array of sizes. More... | |
subroutine | allocate_array_char_5d (buf, sizes, initialize) |
Allocate character arrays using an input array of sizes. More... | |
subroutine | allocate_array_char_6d (buf, sizes, initialize) |
Allocate character arrays using an input array of sizes. More... | |
subroutine | allocate_array_i4_kind_1d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_i4_kind_2d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_i4_kind_3d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_i4_kind_4d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_i4_kind_5d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_i8_kind_1d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_i8_kind_2d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_i8_kind_3d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_i8_kind_4d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_i8_kind_5d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_r4_kind_1d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_r4_kind_2d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_r4_kind_3d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_r4_kind_4d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_r4_kind_5d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_r8_kind_1d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_r8_kind_2d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_r8_kind_3d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_r8_kind_4d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine | allocate_array_r8_kind_5d (buf, sizes) |
Allocate arrays using an input array of sizes. More... | |
subroutine, public | append_to_list (list, string) |
Add node to character linked list. More... | |
subroutine, public | ascii_read (ascii_filename, ascii_var, num_lines, max_length) |
Read the ascii text from filename ascii_filename into string array ascii_var More... | |
subroutine, public | destroy_list (list) |
Deallocate all nodes on a character linked list. More... | |
subroutine, public | domain_tile_filepath_mangle (dest, source, domain_tile_id) |
Add the domain tile id to an input filepath. More... | |
subroutine, public | error (mesg) |
Print a message to stderr, then stop the program. More... | |
logical function, public | file_exists (path) |
Determine if a file exists. More... | |
subroutine | get_array_section_i4_kind_1d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_i4_kind_2d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_i4_kind_3d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_i4_kind_4d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_i4_kind_5d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_i8_kind_1d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_i8_kind_2d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_i8_kind_3d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_i8_kind_4d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_i8_kind_5d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_r4_kind_1d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_r4_kind_2d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_r4_kind_3d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_r4_kind_4d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_r4_kind_5d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_r8_kind_1d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_r8_kind_2d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_r8_kind_3d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_r8_kind_4d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_array_section_r8_kind_5d (section, array, s, c) |
Get a section of larger array. More... | |
subroutine | get_data_type_string_0d (sdata, type_string) |
Return a string describing the input data's type. | |
subroutine | get_data_type_string_1d (sdata, type_string) |
Return a string describing the input data's type. | |
subroutine | get_data_type_string_2d (sdata, type_string) |
Return a string describing the input data's type. | |
subroutine | get_data_type_string_3d (sdata, type_string) |
Return a string describing the input data's type. | |
subroutine | get_data_type_string_4d (sdata, type_string) |
Return a string describing the input data's type. | |
subroutine | get_data_type_string_5d (sdata, type_string) |
Return a string describing the input data's type. | |
subroutine, public | get_filename_appendix (string_out) |
Writes filename appendix to "string_out". More... | |
subroutine, public | get_instance_filename (name_in, name_out) |
Adds the filename_appendix to name_in and sets it as name_out. More... | |
subroutine | get_mosaic_tile_file_sg (file_in, file_out, is_no_domain, domain, tile_count) |
Determine tile_file for structured grid based on filename and current tile on mpp_domain (this is mostly used for ongrid data_overrides) More... | |
subroutine | get_mosaic_tile_file_ug (file_in, file_out, domain) |
Determine tile_file for unstructured grid based on filename and current tile on mpp_domain (this is mostly used for ongrid data_overrides) More... | |
logical function | has_domain_tile_string (string) |
Determine if the "domain tile string" (.tilex.) exists in the input filename. More... | |
logical function | has_io_domain_tile_string (string) |
Determine if the "I/O domain tile string" (.nc.xxxx) exists in the input filename. More... | |
logical function | has_restart_string (string) |
Determine if the "restart string" (.res.) exists in the input filename. More... | |
subroutine, public | io_domain_tile_filepath_mangle (dest, source, io_domain_tile_id) |
Add the I/O domain tile id to an input filepath. More... | |
logical function, public | is_in_list (list, string, ignore_case) |
Determine if a string exists in a character linked list. More... | |
subroutine, public | nullify_filename_appendix () |
Clears the filename_appendix module variable. | |
subroutine, public | open_check (flag, fname) |
subroutine, public | openmp_thread_trap () |
Catch OpenMP parallel machines. | |
subroutine | parse_mask_table_2d (mask_table, maskmap, modelname) |
Populate 2D maskmap from mask_table given a model. More... | |
subroutine | parse_mask_table_3d (mask_table, maskmap, modelname) |
Populate 3D maskmap from mask_table given a model. More... | |
subroutine | put_array_section_i4_kind_1d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_i4_kind_2d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_i4_kind_3d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_i4_kind_4d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_i4_kind_5d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_i8_kind_1d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_i8_kind_2d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_i8_kind_3d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_i8_kind_4d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_i8_kind_5d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_r4_kind_1d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_r4_kind_2d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_r4_kind_3d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_r4_kind_4d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_r4_kind_5d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_r8_kind_1d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_r8_kind_2d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_r8_kind_3d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_r8_kind_4d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine | put_array_section_r8_kind_5d (section, array, s, c) |
Put a section of an array into a larger array. More... | |
subroutine, public | restart_filepath_mangle (dest, source) |
Add ".res" to an input file path. | |
subroutine, public | set_filename_appendix (string_in) |
Save "string_in" as a module variable that will added to the filename of the restart files. More... | |
logical function, public | string_compare (string1, string2, ignore_case) |
Compare strings. More... | |
Misc. utility routines for use in FMS2 IO.
interface fms_io_utils_mod::allocate_array |
Definition at line 88 of file fms_io_utils.F90.
type fms_io_utils_mod::char_linked_list |
A linked list of strings.
Definition at line 70 of file fms_io_utils.F90.
Private Attributes | |
type(char_linked_list), pointer | head => null() |
character(len=128) | string |
interface fms_io_utils_mod::get_array_section |
Definition at line 144 of file fms_io_utils.F90.
interface fms_io_utils_mod::get_data_type_string |
Definition at line 169 of file fms_io_utils.F90.
Private Member Functions | |
get_data_type_string_0d | |
get_data_type_string_1d | |
get_data_type_string_2d | |
get_data_type_string_3d | |
get_data_type_string_4d | |
get_data_type_string_5d | |
interface fms_io_utils_mod::get_mosaic_tile_file |
Definition at line 82 of file fms_io_utils.F90.
Private Member Functions | |
subroutine | get_mosaic_tile_file_sg (file_in, file_out, is_no_domain, domain, tile_count) |
Determine tile_file for structured grid based on filename and current tile on mpp_domain (this is mostly used for ongrid data_overrides) More... | |
subroutine | get_mosaic_tile_file_ug (file_in, file_out, domain) |
Determine tile_file for unstructured grid based on filename and current tile on mpp_domain (this is mostly used for ongrid data_overrides) More... | |
|
private |
Determine tile_file for structured grid based on filename and current tile on mpp_domain (this is mostly used for ongrid data_overrides)
[in] | file_in | name of 'base' file |
[out] | file_out | name of tile_file |
[in] | is_no_domain | are we providing a domain |
[in] | domain | domain provided |
[in] | tile_count | tile count |
Definition at line 672 of file fms_io_utils.F90.
|
private |
Determine tile_file for unstructured grid based on filename and current tile on mpp_domain (this is mostly used for ongrid data_overrides)
[in] | file_in | name of base file |
[out] | file_out | name of tile file |
[in] | domain | domain provided |
Definition at line 733 of file fms_io_utils.F90.
interface fms_io_utils_mod::parse_mask_table |
Definition at line 76 of file fms_io_utils.F90.
Private Member Functions | |
subroutine | parse_mask_table_2d (mask_table, maskmap, modelname) |
Populate 2D maskmap from mask_table given a model. More... | |
subroutine | parse_mask_table_3d (mask_table, maskmap, modelname) |
Populate 3D maskmap from mask_table given a model. More... | |
|
private |
Populate 2D maskmap from mask_table given a model.
[in] | mask_table | Mask table to be read in |
[out] | maskmap | 2D Mask output |
[in] | modelname | Model to which this applies |
Definition at line 473 of file fms_io_utils.F90.
|
private |
Populate 3D maskmap from mask_table given a model.
[in] | mask_table | Mask table to be read in |
[out] | maskmap | 2D Mask output |
[in] | modelname | Model to which this applies |
Definition at line 569 of file fms_io_utils.F90.
interface fms_io_utils_mod::put_array_section |
Definition at line 119 of file fms_io_utils.F90.
subroutine allocate_array_char_1d | ( | character(len=*), dimension(:), intent(inout), allocatable | buf, |
integer, dimension(1), intent(in) | sizes, | ||
logical, intent(in), optional | initialize | ||
) |
Allocate character arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
[in] | initialize | Optional argument when true will initialize with a blank string. |
Definition at line 25 of file array_utils_char.inc.
subroutine allocate_array_char_2d | ( | character(len=*), dimension(:,:), intent(inout), allocatable | buf, |
integer, dimension(2), intent(in) | sizes, | ||
logical, intent(in), optional | initialize | ||
) |
Allocate character arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
[in] | initialize | Optional argument when true will initialize with a blank string. |
Definition at line 54 of file array_utils_char.inc.
subroutine allocate_array_char_3d | ( | character(len=*), dimension(:,:,:), intent(inout), allocatable | buf, |
integer, dimension(3), intent(in) | sizes, | ||
logical, intent(in), optional | initialize | ||
) |
Allocate character arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
[in] | initialize | Optional argument when true will initialize with a blank string. |
Definition at line 85 of file array_utils_char.inc.
subroutine allocate_array_char_4d | ( | character(len=*), dimension(:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(4), intent(in) | sizes, | ||
logical, intent(in), optional | initialize | ||
) |
Allocate character arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
[in] | initialize | Optional argument when true will initialize with a blank string. |
Definition at line 118 of file array_utils_char.inc.
subroutine allocate_array_char_5d | ( | character(len=*), dimension(:,:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(5), intent(in) | sizes, | ||
logical, intent(in), optional | initialize | ||
) |
Allocate character arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
[in] | initialize | Optional argument when true will initialize with a blank string. |
Definition at line 152 of file array_utils_char.inc.
subroutine allocate_array_char_6d | ( | character(len=*), dimension(:,:,:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(6), intent(in) | sizes, | ||
logical, intent(in), optional | initialize | ||
) |
Allocate character arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
[in] | initialize | Optional argument when true will initialize with a blank string. |
Definition at line 188 of file array_utils_char.inc.
subroutine allocate_array_i4_kind_1d | ( | integer(kind=i4_kind), dimension(:), intent(inout), allocatable | buf, |
integer, dimension(1), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 25 of file array_utils.inc.
subroutine allocate_array_i4_kind_2d | ( | integer(kind=i4_kind), dimension(:,:), intent(inout), allocatable | buf, |
integer, dimension(2), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 62 of file array_utils.inc.
subroutine allocate_array_i4_kind_3d | ( | integer(kind=i4_kind), dimension(:,:,:), intent(inout), allocatable | buf, |
integer, dimension(3), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 99 of file array_utils.inc.
subroutine allocate_array_i4_kind_4d | ( | integer(kind=i4_kind), dimension(:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(4), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 136 of file array_utils.inc.
subroutine allocate_array_i4_kind_5d | ( | integer(kind=i4_kind), dimension(:,:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(5), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 173 of file array_utils.inc.
subroutine allocate_array_i8_kind_1d | ( | integer(kind=i8_kind), dimension(:), intent(inout), allocatable | buf, |
integer, dimension(1), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 210 of file array_utils.inc.
subroutine allocate_array_i8_kind_2d | ( | integer(kind=i8_kind), dimension(:,:), intent(inout), allocatable | buf, |
integer, dimension(2), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 247 of file array_utils.inc.
subroutine allocate_array_i8_kind_3d | ( | integer(kind=i8_kind), dimension(:,:,:), intent(inout), allocatable | buf, |
integer, dimension(3), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 284 of file array_utils.inc.
subroutine allocate_array_i8_kind_4d | ( | integer(kind=i8_kind), dimension(:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(4), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 321 of file array_utils.inc.
subroutine allocate_array_i8_kind_5d | ( | integer(kind=i8_kind), dimension(:,:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(5), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 358 of file array_utils.inc.
subroutine allocate_array_r4_kind_1d | ( | real(kind=r4_kind), dimension(:), intent(inout), allocatable | buf, |
integer, dimension(1), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 395 of file array_utils.inc.
subroutine allocate_array_r4_kind_2d | ( | real(kind=r4_kind), dimension(:,:), intent(inout), allocatable | buf, |
integer, dimension(2), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 432 of file array_utils.inc.
subroutine allocate_array_r4_kind_3d | ( | real(kind=r4_kind), dimension(:,:,:), intent(inout), allocatable | buf, |
integer, dimension(3), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 469 of file array_utils.inc.
subroutine allocate_array_r4_kind_4d | ( | real(kind=r4_kind), dimension(:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(4), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 506 of file array_utils.inc.
subroutine allocate_array_r4_kind_5d | ( | real(kind=r4_kind), dimension(:,:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(5), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 543 of file array_utils.inc.
subroutine allocate_array_r8_kind_1d | ( | real(kind=r8_kind), dimension(:), intent(inout), allocatable | buf, |
integer, dimension(1), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 580 of file array_utils.inc.
subroutine allocate_array_r8_kind_2d | ( | real(kind=r8_kind), dimension(:,:), intent(inout), allocatable | buf, |
integer, dimension(2), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 617 of file array_utils.inc.
subroutine allocate_array_r8_kind_3d | ( | real(kind=r8_kind), dimension(:,:,:), intent(inout), allocatable | buf, |
integer, dimension(3), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 654 of file array_utils.inc.
subroutine allocate_array_r8_kind_4d | ( | real(kind=r8_kind), dimension(:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(4), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 691 of file array_utils.inc.
subroutine allocate_array_r8_kind_5d | ( | real(kind=r8_kind), dimension(:,:,:,:,:), intent(inout), allocatable | buf, |
integer, dimension(5), intent(in) | sizes | ||
) |
Allocate arrays using an input array of sizes.
[in,out] | buf | Array that will be allocated. |
[in] | sizes | Array of dimension sizes. |
Definition at line 728 of file array_utils.inc.
subroutine, public fms_io_utils_mod::append_to_list | ( | type(char_linked_list), intent(inout), pointer | list, |
character(len=*), intent(in) | string | ||
) |
Add node to character linked list.
[in,out] | list | Linked list. |
[in] | string | Input string. |
Definition at line 268 of file fms_io_utils.F90.
subroutine, public fms_io_utils_mod::ascii_read | ( | character(len=*), intent(in) | ascii_filename, |
character(len=:), dimension(:), intent(out), allocatable | ascii_var, | ||
integer, intent(out), optional | num_lines, | ||
integer, intent(out), optional | max_length | ||
) |
Read the ascii text from filename ascii_filename
into string array ascii_var
[in] | ascii_filename | The file name to be read |
[out] | ascii_var | The string array |
[out] | num_lines | Optional argument to return number of lines in file |
[out] | max_length | Optional argument to return max_length of line in file |
Definition at line 456 of file fms_io_utils.F90.
subroutine, public fms_io_utils_mod::destroy_list | ( | type(char_linked_list), intent(inout), pointer | list | ) |
Deallocate all nodes on a character linked list.
[in,out] | list | Linked list. |
Definition at line 291 of file fms_io_utils.F90.
subroutine, public fms_io_utils_mod::domain_tile_filepath_mangle | ( | character(len=*), intent(inout) | dest, |
character(len=*), intent(in) | source, | ||
integer, intent(in) | domain_tile_id | ||
) |
Add the domain tile id to an input filepath.
[in,out] | dest | Output filepath. |
[in] | source | Input filepath. |
[in] | domain_tile_id | Domain tile id. |
Definition at line 343 of file fms_io_utils.F90.
subroutine, public fms_io_utils_mod::error | ( | character(len=*), intent(in) | mesg | ) |
Print a message to stderr, then stop the program.
[in] | mesg | Message that will be printed to stderr. |
Definition at line 184 of file fms_io_utils.F90.
logical function, public fms_io_utils_mod::file_exists | ( | character(len=*), intent(in) | path | ) |
Determine if a file exists.
[in] | path | Path to file. |
Definition at line 195 of file fms_io_utils.F90.
subroutine get_array_section_i4_kind_1d | ( | integer(kind=i4_kind), dimension(:), intent(inout) | section, |
integer(kind=i4_kind), dimension(:), intent(in) | array, | ||
integer, dimension(1), intent(in) | s, | ||
integer, dimension(1), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 50 of file array_utils.inc.
subroutine get_array_section_i4_kind_2d | ( | integer(kind=i4_kind), dimension(:,:), intent(inout) | section, |
integer(kind=i4_kind), dimension(:,:), intent(in) | array, | ||
integer, dimension(2), intent(in) | s, | ||
integer, dimension(2), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 87 of file array_utils.inc.
subroutine get_array_section_i4_kind_3d | ( | integer(kind=i4_kind), dimension(:,:,:), intent(inout) | section, |
integer(kind=i4_kind), dimension(:,:,:), intent(in) | array, | ||
integer, dimension(3), intent(in) | s, | ||
integer, dimension(3), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 124 of file array_utils.inc.
subroutine get_array_section_i4_kind_4d | ( | integer(kind=i4_kind), dimension(:,:,:,:), intent(inout) | section, |
integer(kind=i4_kind), dimension(:,:,:,:), intent(in) | array, | ||
integer, dimension(4), intent(in) | s, | ||
integer, dimension(4), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 161 of file array_utils.inc.
subroutine get_array_section_i4_kind_5d | ( | integer(kind=i4_kind), dimension(:,:,:,:,:), intent(inout) | section, |
integer(kind=i4_kind), dimension(:,:,:,:,:), intent(in) | array, | ||
integer, dimension(5), intent(in) | s, | ||
integer, dimension(5), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 198 of file array_utils.inc.
subroutine get_array_section_i8_kind_1d | ( | integer(kind=i8_kind), dimension(:), intent(inout) | section, |
integer(kind=i8_kind), dimension(:), intent(in) | array, | ||
integer, dimension(1), intent(in) | s, | ||
integer, dimension(1), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 235 of file array_utils.inc.
subroutine get_array_section_i8_kind_2d | ( | integer(kind=i8_kind), dimension(:,:), intent(inout) | section, |
integer(kind=i8_kind), dimension(:,:), intent(in) | array, | ||
integer, dimension(2), intent(in) | s, | ||
integer, dimension(2), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 272 of file array_utils.inc.
subroutine get_array_section_i8_kind_3d | ( | integer(kind=i8_kind), dimension(:,:,:), intent(inout) | section, |
integer(kind=i8_kind), dimension(:,:,:), intent(in) | array, | ||
integer, dimension(3), intent(in) | s, | ||
integer, dimension(3), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 309 of file array_utils.inc.
subroutine get_array_section_i8_kind_4d | ( | integer(kind=i8_kind), dimension(:,:,:,:), intent(inout) | section, |
integer(kind=i8_kind), dimension(:,:,:,:), intent(in) | array, | ||
integer, dimension(4), intent(in) | s, | ||
integer, dimension(4), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 346 of file array_utils.inc.
subroutine get_array_section_i8_kind_5d | ( | integer(kind=i8_kind), dimension(:,:,:,:,:), intent(inout) | section, |
integer(kind=i8_kind), dimension(:,:,:,:,:), intent(in) | array, | ||
integer, dimension(5), intent(in) | s, | ||
integer, dimension(5), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 383 of file array_utils.inc.
subroutine get_array_section_r4_kind_1d | ( | real(kind=r4_kind), dimension(:), intent(inout) | section, |
real(kind=r4_kind), dimension(:), intent(in) | array, | ||
integer, dimension(1), intent(in) | s, | ||
integer, dimension(1), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 420 of file array_utils.inc.
subroutine get_array_section_r4_kind_2d | ( | real(kind=r4_kind), dimension(:,:), intent(inout) | section, |
real(kind=r4_kind), dimension(:,:), intent(in) | array, | ||
integer, dimension(2), intent(in) | s, | ||
integer, dimension(2), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 457 of file array_utils.inc.
subroutine get_array_section_r4_kind_3d | ( | real(kind=r4_kind), dimension(:,:,:), intent(inout) | section, |
real(kind=r4_kind), dimension(:,:,:), intent(in) | array, | ||
integer, dimension(3), intent(in) | s, | ||
integer, dimension(3), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 494 of file array_utils.inc.
subroutine get_array_section_r4_kind_4d | ( | real(kind=r4_kind), dimension(:,:,:,:), intent(inout) | section, |
real(kind=r4_kind), dimension(:,:,:,:), intent(in) | array, | ||
integer, dimension(4), intent(in) | s, | ||
integer, dimension(4), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 531 of file array_utils.inc.
subroutine get_array_section_r4_kind_5d | ( | real(kind=r4_kind), dimension(:,:,:,:,:), intent(inout) | section, |
real(kind=r4_kind), dimension(:,:,:,:,:), intent(in) | array, | ||
integer, dimension(5), intent(in) | s, | ||
integer, dimension(5), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 568 of file array_utils.inc.
subroutine get_array_section_r8_kind_1d | ( | real(kind=r8_kind), dimension(:), intent(inout) | section, |
real(kind=r8_kind), dimension(:), intent(in) | array, | ||
integer, dimension(1), intent(in) | s, | ||
integer, dimension(1), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 605 of file array_utils.inc.
subroutine get_array_section_r8_kind_2d | ( | real(kind=r8_kind), dimension(:,:), intent(inout) | section, |
real(kind=r8_kind), dimension(:,:), intent(in) | array, | ||
integer, dimension(2), intent(in) | s, | ||
integer, dimension(2), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 642 of file array_utils.inc.
subroutine get_array_section_r8_kind_3d | ( | real(kind=r8_kind), dimension(:,:,:), intent(inout) | section, |
real(kind=r8_kind), dimension(:,:,:), intent(in) | array, | ||
integer, dimension(3), intent(in) | s, | ||
integer, dimension(3), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 679 of file array_utils.inc.
subroutine get_array_section_r8_kind_4d | ( | real(kind=r8_kind), dimension(:,:,:,:), intent(inout) | section, |
real(kind=r8_kind), dimension(:,:,:,:), intent(in) | array, | ||
integer, dimension(4), intent(in) | s, | ||
integer, dimension(4), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 716 of file array_utils.inc.
subroutine get_array_section_r8_kind_5d | ( | real(kind=r8_kind), dimension(:,:,:,:,:), intent(inout) | section, |
real(kind=r8_kind), dimension(:,:,:,:,:), intent(in) | array, | ||
integer, dimension(5), intent(in) | s, | ||
integer, dimension(5), intent(in) | c | ||
) |
Get a section of larger array.
[in,out] | section | Section to be extracted. |
[in] | array | Array to extract the section from. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 753 of file array_utils.inc.
subroutine, public fms_io_utils_mod::get_filename_appendix | ( | character(len=*), intent(out) | string_out | ) |
Writes filename appendix to "string_out".
[out] | string_out | String to write the filename_appendix to |
Definition at line 773 of file fms_io_utils.F90.
subroutine, public fms_io_utils_mod::get_instance_filename | ( | character(len=*), intent(in) | name_in, |
character(len=*), intent(inout) | name_out | ||
) |
Adds the filename_appendix to name_in and sets it as name_out.
[in] | name_in | Buffer to add the filename_appendix to |
[in,out] | name_out | name_in with the filename_appendix |
Definition at line 803 of file fms_io_utils.F90.
|
private |
Determine tile_file for structured grid based on filename and current tile on mpp_domain (this is mostly used for ongrid data_overrides)
[in] | file_in | name of 'base' file |
[out] | file_out | name of tile_file |
[in] | is_no_domain | are we providing a domain |
[in] | domain | domain provided |
[in] | tile_count | tile count |
Definition at line 672 of file fms_io_utils.F90.
|
private |
Determine tile_file for unstructured grid based on filename and current tile on mpp_domain (this is mostly used for ongrid data_overrides)
[in] | file_in | name of base file |
[out] | file_out | name of tile file |
[in] | domain | domain provided |
Definition at line 733 of file fms_io_utils.F90.
|
private |
Determine if the "domain tile string" (.tilex.) exists in the input filename.
[in] | string | Input string. |
Definition at line 309 of file fms_io_utils.F90.
|
private |
Determine if the "I/O domain tile string" (.nc.xxxx) exists in the input filename.
[in] | string | Input string. |
Definition at line 365 of file fms_io_utils.F90.
|
private |
Determine if the "restart string" (.res.) exists in the input filename.
[in] | string | Input string. |
Definition at line 407 of file fms_io_utils.F90.
subroutine, public fms_io_utils_mod::io_domain_tile_filepath_mangle | ( | character(len=*), intent(inout) | dest, |
character(len=*), intent(in) | source, | ||
integer, intent(in) | io_domain_tile_id | ||
) |
Add the I/O domain tile id to an input filepath.
[in,out] | dest | Output filepath. |
[in] | source | Input filepath. |
[in] | io_domain_tile_id | I/O domain tile id. |
Definition at line 391 of file fms_io_utils.F90.
logical function, public fms_io_utils_mod::is_in_list | ( | type(char_linked_list), intent(in), pointer | list, |
character(len=*), intent(in) | string, | ||
logical, intent(in), optional | ignore_case | ||
) |
Determine if a string exists in a character linked list.
[in] | list | Linked list. |
[in] | string | Input string. |
[in] | ignore_case | Flag to ignore case. |
Definition at line 244 of file fms_io_utils.F90.
subroutine, public fms_io_utils_mod::open_check | ( | logical, intent(in) | flag, |
character(len=*), intent(in), optional | fname | ||
) |
[in] | fname | The file name |
Definition at line 440 of file fms_io_utils.F90.
|
private |
Populate 2D maskmap from mask_table given a model.
[in] | mask_table | Mask table to be read in |
[out] | maskmap | 2D Mask output |
[in] | modelname | Model to which this applies |
Definition at line 473 of file fms_io_utils.F90.
|
private |
Populate 3D maskmap from mask_table given a model.
[in] | mask_table | Mask table to be read in |
[out] | maskmap | 2D Mask output |
[in] | modelname | Model to which this applies |
Definition at line 569 of file fms_io_utils.F90.
subroutine put_array_section_i4_kind_1d | ( | integer(kind=i4_kind), dimension(:), intent(in) | section, |
integer(kind=i4_kind), dimension(:), intent(inout) | array, | ||
integer, dimension(1), intent(in) | s, | ||
integer, dimension(1), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 38 of file array_utils.inc.
subroutine put_array_section_i4_kind_2d | ( | integer(kind=i4_kind), dimension(:,:), intent(in) | section, |
integer(kind=i4_kind), dimension(:,:), intent(inout) | array, | ||
integer, dimension(2), intent(in) | s, | ||
integer, dimension(2), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 75 of file array_utils.inc.
subroutine put_array_section_i4_kind_3d | ( | integer(kind=i4_kind), dimension(:,:,:), intent(in) | section, |
integer(kind=i4_kind), dimension(:,:,:), intent(inout) | array, | ||
integer, dimension(3), intent(in) | s, | ||
integer, dimension(3), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 112 of file array_utils.inc.
subroutine put_array_section_i4_kind_4d | ( | integer(kind=i4_kind), dimension(:,:,:,:), intent(in) | section, |
integer(kind=i4_kind), dimension(:,:,:,:), intent(inout) | array, | ||
integer, dimension(4), intent(in) | s, | ||
integer, dimension(4), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 149 of file array_utils.inc.
subroutine put_array_section_i4_kind_5d | ( | integer(kind=i4_kind), dimension(:,:,:,:,:), intent(in) | section, |
integer(kind=i4_kind), dimension(:,:,:,:,:), intent(inout) | array, | ||
integer, dimension(5), intent(in) | s, | ||
integer, dimension(5), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 186 of file array_utils.inc.
subroutine put_array_section_i8_kind_1d | ( | integer(kind=i8_kind), dimension(:), intent(in) | section, |
integer(kind=i8_kind), dimension(:), intent(inout) | array, | ||
integer, dimension(1), intent(in) | s, | ||
integer, dimension(1), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 223 of file array_utils.inc.
subroutine put_array_section_i8_kind_2d | ( | integer(kind=i8_kind), dimension(:,:), intent(in) | section, |
integer(kind=i8_kind), dimension(:,:), intent(inout) | array, | ||
integer, dimension(2), intent(in) | s, | ||
integer, dimension(2), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 260 of file array_utils.inc.
subroutine put_array_section_i8_kind_3d | ( | integer(kind=i8_kind), dimension(:,:,:), intent(in) | section, |
integer(kind=i8_kind), dimension(:,:,:), intent(inout) | array, | ||
integer, dimension(3), intent(in) | s, | ||
integer, dimension(3), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 297 of file array_utils.inc.
subroutine put_array_section_i8_kind_4d | ( | integer(kind=i8_kind), dimension(:,:,:,:), intent(in) | section, |
integer(kind=i8_kind), dimension(:,:,:,:), intent(inout) | array, | ||
integer, dimension(4), intent(in) | s, | ||
integer, dimension(4), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 334 of file array_utils.inc.
subroutine put_array_section_i8_kind_5d | ( | integer(kind=i8_kind), dimension(:,:,:,:,:), intent(in) | section, |
integer(kind=i8_kind), dimension(:,:,:,:,:), intent(inout) | array, | ||
integer, dimension(5), intent(in) | s, | ||
integer, dimension(5), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 371 of file array_utils.inc.
subroutine put_array_section_r4_kind_1d | ( | real(kind=r4_kind), dimension(:), intent(in) | section, |
real(kind=r4_kind), dimension(:), intent(inout) | array, | ||
integer, dimension(1), intent(in) | s, | ||
integer, dimension(1), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 408 of file array_utils.inc.
subroutine put_array_section_r4_kind_2d | ( | real(kind=r4_kind), dimension(:,:), intent(in) | section, |
real(kind=r4_kind), dimension(:,:), intent(inout) | array, | ||
integer, dimension(2), intent(in) | s, | ||
integer, dimension(2), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 445 of file array_utils.inc.
subroutine put_array_section_r4_kind_3d | ( | real(kind=r4_kind), dimension(:,:,:), intent(in) | section, |
real(kind=r4_kind), dimension(:,:,:), intent(inout) | array, | ||
integer, dimension(3), intent(in) | s, | ||
integer, dimension(3), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 482 of file array_utils.inc.
subroutine put_array_section_r4_kind_4d | ( | real(kind=r4_kind), dimension(:,:,:,:), intent(in) | section, |
real(kind=r4_kind), dimension(:,:,:,:), intent(inout) | array, | ||
integer, dimension(4), intent(in) | s, | ||
integer, dimension(4), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 519 of file array_utils.inc.
subroutine put_array_section_r4_kind_5d | ( | real(kind=r4_kind), dimension(:,:,:,:,:), intent(in) | section, |
real(kind=r4_kind), dimension(:,:,:,:,:), intent(inout) | array, | ||
integer, dimension(5), intent(in) | s, | ||
integer, dimension(5), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 556 of file array_utils.inc.
subroutine put_array_section_r8_kind_1d | ( | real(kind=r8_kind), dimension(:), intent(in) | section, |
real(kind=r8_kind), dimension(:), intent(inout) | array, | ||
integer, dimension(1), intent(in) | s, | ||
integer, dimension(1), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 593 of file array_utils.inc.
subroutine put_array_section_r8_kind_2d | ( | real(kind=r8_kind), dimension(:,:), intent(in) | section, |
real(kind=r8_kind), dimension(:,:), intent(inout) | array, | ||
integer, dimension(2), intent(in) | s, | ||
integer, dimension(2), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 630 of file array_utils.inc.
subroutine put_array_section_r8_kind_3d | ( | real(kind=r8_kind), dimension(:,:,:), intent(in) | section, |
real(kind=r8_kind), dimension(:,:,:), intent(inout) | array, | ||
integer, dimension(3), intent(in) | s, | ||
integer, dimension(3), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 667 of file array_utils.inc.
subroutine put_array_section_r8_kind_4d | ( | real(kind=r8_kind), dimension(:,:,:,:), intent(in) | section, |
real(kind=r8_kind), dimension(:,:,:,:), intent(inout) | array, | ||
integer, dimension(4), intent(in) | s, | ||
integer, dimension(4), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 704 of file array_utils.inc.
subroutine put_array_section_r8_kind_5d | ( | real(kind=r8_kind), dimension(:,:,:,:,:), intent(in) | section, |
real(kind=r8_kind), dimension(:,:,:,:,:), intent(inout) | array, | ||
integer, dimension(5), intent(in) | s, | ||
integer, dimension(5), intent(in) | c | ||
) |
Put a section of an array into a larger array.
[in] | section | Section to be inserted. |
[in,out] | array | Array to insert the section in. |
[in] | s | Array of starting indices. |
[in] | c | Array of sizes. |
Definition at line 741 of file array_utils.inc.
subroutine, public fms_io_utils_mod::set_filename_appendix | ( | character(len=*), intent(in) | string_in | ) |
Save "string_in" as a module variable that will added to the filename of the restart files.
[in] | string_in | String that will be saved as a module variable |
Definition at line 789 of file fms_io_utils.F90.
logical function, public fms_io_utils_mod::string_compare | ( | character(len=*), intent(in) | string1, |
character(len=*), intent(in) | string2, | ||
logical, intent(in), optional | ignore_case | ||
) |
Compare strings.
Definition at line 220 of file fms_io_utils.F90.