dm_block Module

Module to serialise derived types into ASCII block format.


Uses

  • module~~dm_block~~UsesGraph module~dm_block dm_block module~dm_dp dm_dp module~dm_block->module~dm_dp module~dm_error dm_error module~dm_block->module~dm_error module~dm_kind dm_kind module~dm_block->module~dm_kind module~dm_dp->module~dm_error module~dm_dp->module~dm_kind module~dm_time dm_time module~dm_dp->module~dm_time module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env module~dm_time->module~dm_error module~dm_time->module~dm_kind module~dm_util dm_util module~dm_time->module~dm_util module~dm_util->module~dm_error module~dm_util->module~dm_kind

Used by

  • module~~dm_block~~UsedByGraph module~dm_block dm_block module~dmpack dmpack module~dmpack->module~dm_block

Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: BLOCK_LINE_LEN = 55

Interfaces

public interface dm_block_from

Generic derived type to block converter.

  • private pure elemental function block_from_data_point(data_point) result(str)

    Returns ASCII block representation of data point.

    Arguments

    Type IntentOptional Attributes Name
    type(dp_type), intent(in) :: data_point

    Data point type.

    Return Value character(len=block_line_len)

public interface dm_block_write

Generic derived type to block writer.

  • private function block_write_data_point(data_point, unit) result(rc)

    Writes data point in ASCII block format to file or standard output.

    Arguments

    Type IntentOptional Attributes Name
    type(dp_type), intent(in) :: data_point

    Data point type.

    integer, intent(in), optional :: unit

    File unit.

    Return Value integer

  • private function block_write_data_points(data_points, unit) result(rc)

    Writes observations to file or standard output.

    Arguments

    Type IntentOptional Attributes Name
    type(dp_type), intent(in) :: data_points(:)

    Data points array.

    integer, intent(in), optional :: unit

    File unit.

    Return Value integer