dm_nml_from Interface

public interface dm_nml_from

Converts type to static or allocatable namelist string.

Called by

interface~~dm_nml_from~~CalledByGraph interface~dm_nml_from dm_nml_from proc~dm_z_compress_type dm_z_compress_type proc~dm_z_compress_type->interface~dm_nml_from proc~dm_rpc_post_type dm_rpc_post_type proc~dm_rpc_post_type->proc~dm_z_compress_type proc~dm_rpc_post_types dm_rpc_post_types proc~dm_rpc_post_types->proc~dm_z_compress_type proc~dm_z_compress_types dm_z_compress_types proc~dm_z_compress_types->proc~dm_z_compress_type interface~dm_rpc_post dm_rpc_post interface~dm_rpc_post->proc~dm_rpc_post_type interface~dm_rpc_post->proc~dm_rpc_post_types

Module Procedures

private function nml_from_beat(beat, str) result(rc)

Writes beat namelist to string. The passed character string must have a minimum length of NML_BEAT_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(beat_type), intent(inout) :: beat

Beat type.

character(len=*), intent(inout) :: str

Output string.

Return Value integer

private function nml_from_log(log, str) result(rc)

Writes log namelist to string. The passed character string must have a minimum length of NML_LOG_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(log_type), intent(inout) :: log

Log type.

character(len=*), intent(inout) :: str

Output string.

Return Value integer

private function nml_from_node(node, str) result(rc)

Writes node namelist to string. The passed character string must have a minimum length of NML_NODE_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(node_type), intent(inout) :: node

Node type.

character(len=*), intent(inout) :: str

Output string.

Return Value integer

private function nml_from_observ(observ, str) result(rc)

Writes observation namelist to string. The passed character string must have a minimum length of NML_OBSERV_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(observ_type), intent(inout) :: observ

Observation type.

character(len=*), intent(inout) :: str

Output string.

Return Value integer

private function nml_from_sensor(sensor, str) result(rc)

Writes sensor namelist to string. The passed character string must have a minimum length of NML_SENSOR_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(sensor_type), intent(inout) :: sensor

Sensor type.

character(len=*), intent(inout) :: str

Output string.

Return Value integer

private function nml_from_target(target, str) result(rc)

Writes target namelist to string. The passed character string must have a minimum length of NML_TARGET_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(target_type), intent(inout) :: target

Target type.

character(len=*), intent(inout) :: str

Output string.

Return Value integer

private function nml_from_beat_alloc(beat, str, n) result(rc)

Writes beat namelist to allocatable string of given length. Returns E_ALLOC if allocation of str failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(beat_type), intent(inout) :: beat

Beat type.

character(len=:), intent(out), allocatable :: str

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer

private function nml_from_log_alloc(log, str, n) result(rc)

Writes log namelist to allocatable string of given length. Returns E_ALLOC if allocation of str failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(log_type), intent(inout) :: log

Log type.

character(len=:), intent(out), allocatable :: str

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer

private function nml_from_node_alloc(node, str, n) result(rc)

Writes node namelist to allocatable string of given length. Returns E_ALLOC if allocation of str failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(node_type), intent(inout) :: node

Node type.

character(len=:), intent(out), allocatable :: str

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer

private function nml_from_observ_alloc(observ, str, n) result(rc)

Writes observation namelist to allocatable string of given length. Returns E_ALLOC if allocation of str failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(observ_type), intent(inout) :: observ

Observation type.

character(len=:), intent(out), allocatable :: str

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer

private function nml_from_sensor_alloc(sensor, str, n) result(rc)

Writes sensor namelist to allocatable string of given length. Returns E_ALLOC if allocation of str failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(sensor_type), intent(inout) :: sensor

Sensor type.

character(len=:), intent(out), allocatable :: str

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer

private function nml_from_target_alloc(target, str, n) result(rc)

Writes target namelist to allocatable string of given length. Returns E_ALLOC if allocation of str failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(target_type), intent(inout) :: target

Target type.

character(len=:), intent(out), allocatable :: str

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer