Fortran 95 Namelist import/export of DMPACK derived types.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public, | parameter | :: | NML_BEAT_LEN | = | 376 |
Max. size of |
integer, | public, | parameter | :: | NML_LOG_LEN | = | 960 |
Max. size of |
integer, | public, | parameter | :: | NML_NODE_LEN | = | 384 |
Max. size of |
integer, | public, | parameter | :: | NML_OBSERV_LEN | = | 46*1024 |
Max. size of |
integer, | public, | parameter | :: | NML_SENSOR_LEN | = | 512 |
Max. size of |
integer, | public, | parameter | :: | NML_TARGET_LEN | = | 416 |
Max. size of |
Converts type to static or allocatable namelist string.
Writes beat namelist to string. The passed character string must have
a minimum length of NML_BEAT_LEN
. Returns E_WRITE
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(beat_type), | intent(inout) | :: | beat |
Beat type. |
||
character(len=*), | intent(inout) | :: | str |
Output string. |
Writes log namelist to string. The passed character string must
have a minimum length of NML_LOG_LEN
. Returns E_WRITE
on
error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(log_type), | intent(inout) | :: | log |
Log type. |
||
character(len=*), | intent(inout) | :: | str |
Output string. |
Writes node namelist to string. The passed character string must
have a minimum length of NML_NODE_LEN
. Returns E_WRITE
on
error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(node_type), | intent(inout) | :: | node |
Node type. |
||
character(len=*), | intent(inout) | :: | str |
Output string. |
Writes observation namelist to string. The passed character string
must have a minimum length of NML_OBSERV_LEN
. Returns E_WRITE
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(observ_type), | intent(inout) | :: | observ |
Observation type. |
||
character(len=*), | intent(inout) | :: | str |
Output string. |
Writes sensor namelist to string. The passed character string
must have a minimum length of NML_SENSOR_LEN
. Returns E_WRITE
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sensor_type), | intent(inout) | :: | sensor |
Sensor type. |
||
character(len=*), | intent(inout) | :: | str |
Output string. |
Writes target namelist to string. The passed character string
must have a minimum length of NML_TARGET_LEN
. Returns E_WRITE
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(target_type), | intent(inout) | :: | target |
Target type. |
||
character(len=*), | intent(inout) | :: | str |
Output string. |
Writes beat namelist to allocatable string of given length. Returns
E_ALLOC
if allocation of str
failed, or E_WRITE
if the
serialisation failed.
Type | Intent | Optional | 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. |
Writes log namelist to allocatable string of given length. Returns
E_ALLOC
if allocation of str
failed, or E_WRITE
if the
serialisation failed.
Type | Intent | Optional | 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. |
Writes node namelist to allocatable string of given length. Returns
E_ALLOC
if allocation of str
failed, or E_WRITE
if the
serialisation failed.
Type | Intent | Optional | 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. |
Writes observation namelist to allocatable string of given length.
Returns E_ALLOC
if allocation of str
failed, or E_WRITE
if the
serialisation failed.
Type | Intent | Optional | 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. |
Writes sensor namelist to allocatable string of given length. Returns
E_ALLOC
if allocation of str
failed, or E_WRITE
if the
serialisation failed.
Type | Intent | Optional | 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. |
Writes target namelist to allocatable string of given length. Returns
E_ALLOC
if allocation of str
failed, or E_WRITE
if the
serialisation failed.
Type | Intent | Optional | 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. |
Converts namelist string to type.
Reads beat from namelist string. Returns E_READ
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str |
Beat namelist data. |
||
type(beat_type), | intent(out) | :: | beat |
Beat type. |
Reads log from namelist string. Returns E_READ
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str |
Log namelist data. |
||
type(log_type), | intent(out) | :: | log |
Log type. |
Reads node from namelist string. Returns E_READ
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str |
Node namelist data. |
||
type(node_type), | intent(out) | :: | node |
Node type. |
Reads observation from namelist string. Returns E_READ
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str |
Observation namelist data. |
||
type(observ_type), | intent(out) | :: | observ |
Observation type. |
Reads sensor from namelist string. Returns E_READ
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str |
Sensor namelist data. |
||
type(sensor_type), | intent(out) | :: | sensor |
Sensor type. |
Reads target from namelist string. Returns E_READ
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str |
Node namelist data. |
||
type(target_type), | intent(out) | :: | target |
Target type. |
Reads namelist from file or standard input.
Reads log from file or standard input. Returns E_READ
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(log_type), | intent(inout) | :: | log |
Log type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Reads observation from file or standard input. Returns E_READ
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(observ_type), | intent(inout) | :: | observ |
Observation type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes namelist to file or standard output.
Writes log namelist to file or standard output. Returns
E_WRITE
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(log_type), | intent(inout) | :: | log |
Log type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes observation namelist to file or standard output. Returns
E_WRITE
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(observ_type), | intent(inout) | :: | observ |
Observation type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |