MONC
Modules | Functions/Subroutines | Variables
datautils.F90 File Reference

Go to the source code of this file.

Modules

module  data_utils_mod
 Contains functionality for managing and extracting data from the raw data dumps that the IO server receives from a MONC process during model dumping.
 

Functions/Subroutines

integer function, public data_utils_mod::unpack_scalar_integer_from_bytedata (data, start_point)
 Unpacks a scalar integer from some byte data, this is a very simple unpack routine wrapping the transfer and updating the current point. More...
 
logical function, public data_utils_mod::unpack_scalar_logical_from_bytedata (data, start_point)
 Unpacks a scalar logical from some byte data, this is a very simple unpack routine wrapping the transfer and updating the current point. More...
 
character(len=string_length) function, public data_utils_mod::unpack_scalar_string_from_bytedata (data, start_point)
 Unpacks a string from some byte data with default length, this is a very simple unpack routine wrapping the transfer and updating the current point. More...
 
real function, public data_utils_mod::unpack_scalar_real_from_bytedata (data, start_point)
 Unpacks a scalar real from some byte data, this is a very simple unpack routine wrapping the transfer and updating the current point. More...
 
real(kind=double_precision) function, public data_utils_mod::unpack_scalar_dp_real_from_bytedata (data, start_point)
 Unpacks a double precision scalar real from some byte data, this is a very simple unpack routine wrapping the transfer and updating the current point. More...
 
character(len=string_length) function, public data_utils_mod::get_action_attribute_string (action_attributes, field_name)
 Retrieves the name of a field from the attributes specified in the configuration. More...
 
integer function, public data_utils_mod::get_action_attribute_integer (action_attributes, field_name)
 Retrieves the name of a field from the attributes specified in the configuration. More...
 
logical function, public data_utils_mod::get_action_attribute_logical (action_attributes, field_name)
 Retrieves a logical value from the attribute which corresponds to a specific key. More...
 
logical function, public data_utils_mod::is_field_present (io_configuration, source, data_id, key)
 
integer function, public data_utils_mod::get_field_size (field_starts, field_ends, key, data_type)
 Retrieves the size of a field from the data definition. More...
 
type(map_type) function, public data_utils_mod::get_map (field_starts, field_ends, data_dump, key)
 Retrieves a map data structure with key->value pairs, each of which are strings. More...
 
type(map_type) function, public data_utils_mod::get_map_from_monc (io_configuration, source, data_id, data_dump, key)
 Retrieves a map data structure with key->value pairs, each of which are strings. More...
 
character(len=string_length) function, public data_utils_mod::get_string (field_starts, field_ends, data_dump, key)
 Retrieves a string from the data dump. More...
 
character(len=string_length) function, public data_utils_mod::get_string_from_monc (io_configuration, source, data_id, data_dump, key)
 Retrieves a string from the data dump. More...
 
logical function, public data_utils_mod::get_scalar_logical (field_starts, field_ends, data_dump, key)
 Retrieves a single logical element (scalar) from the data dump. More...
 
logical function, public data_utils_mod::get_scalar_logical_from_monc (io_configuration, source, data_id, data_dump, key)
 Retrieves a single logical element (scalar) from the data dump. More...
 
integer function, public data_utils_mod::get_scalar_integer (field_starts, field_ends, data_dump, key)
 Retrieves a single integer element (scalar) from the data dump. More...
 
integer function, public data_utils_mod::get_scalar_integer_from_monc (io_configuration, source, data_id, data_dump, key)
 Retrieves a single integer element (scalar) from the data dump. More...
 
real(kind=double_precision) function, public data_utils_mod::get_scalar_real (field_starts, field_ends, data_dump, key)
 Retreives a scalar real with a corresponding key from the raw data dump. More...
 
real(kind=double_precision) function, public data_utils_mod::get_scalar_real_from_monc (io_configuration, source, data_id, data_dump, key)
 Retreives a scalar real with a corresponding key from the raw data dump. More...
 
real(kind=double_precision) function, dimension(:), allocatable, public data_utils_mod::get_array_double (field_starts, field_ends, data_dump, key)
 Retreives an array of doubles with a corresponding key from the raw data dump. The size depends on the configuration that the MONC process supplied to the IO server when it registered which informs of the size of a field. More...
 
real(kind=double_precision) function, dimension(:), allocatable, public data_utils_mod::get_array_double_from_monc (io_configuration, source, data_id, data_dump, key)
 Retreives an array of doubles with a corresponding key from the raw data dump. The size depends on the configuration that the MONC process supplied to the IO server when it registered which informs of the size of a field. More...
 
integer function, dimension(:), allocatable, public data_utils_mod::get_array_integer (field_starts, field_ends, data_dump, key)
 Retreives an array of integers with a corresponding key from the raw data dump. The size depends on the configuration that the MONC process supplied to the IO server when it registered which informs of the size of a field. More...
 
integer function, dimension(:), allocatable, public data_utils_mod::get_array_integer_from_monc (io_configuration, source, data_id, data_dump, key)
 Retreives an array of integers with a corresponding key from the raw data dump. The size depends on the configuration that the MONC process supplied to the IO server when it registered which informs of the size of a field. More...
 
subroutine, public data_utils_mod::get_2darray_double_from_monc (io_configuration, source, data_id, data_dump, key, target_data, size1, size2)
 Retreives a 2D array of doubles with a corresponding key from the raw data dump. The size depends on the configuration that the MONC process supplied to the IO server when it registered which informs of the size of a field. More...
 
subroutine, public data_utils_mod::get_2darray_double (field_starts, field_ends, data_dump, key, target_data, size1, size2)
 Retreives a 2D array of doubles with a corresponding key from the raw data dump. The size depends on the configuration that the MONC process supplied to the IO server when it registered which informs of the size of a field. More...
 
subroutine, public data_utils_mod::get_3darray_double (field_starts, field_ends, data_dump, key, target_data, size1, size2, size3)
 Retreives a 3D array of doubles with a corresponding key from the raw data dump. The size depends on the configuration that the MONC process supplied to the IO server when it registered which informs of the size of a field. More...
 
subroutine, public data_utils_mod::get_3darray_double_from_monc (io_configuration, source, data_id, data_dump, key, target_data, size1, size2, size3)
 Retreives a 3D array of doubles with a corresponding key from the raw data dump. The size depends on the configuration that the MONC process supplied to the IO server when it registered which informs of the size of a field. More...
 
subroutine, public data_utils_mod::get_4darray_double (field_starts, field_ends, data_dump, key, target_data, size1, size2, size3, size4)
 Retreives a 4D array of doubles with a corresponding key from the raw data dump. The size depends on the configuration that the MONC process supplied to the IO server when it registered which informs of the size of a field. More...
 
subroutine, public data_utils_mod::get_4darray_double_from_monc (io_configuration, source, data_id, data_dump, key, target_data, size1, size2, size3, size4)
 Retreives a 4D array of doubles with a corresponding key from the raw data dump. The size depends on the configuration that the MONC process supplied to the IO server when it registered which informs of the size of a field. More...
 

Variables

integer, parameter data_utils_mod::array_step_threshold =204800