dm_nml_read Interface

public interface dm_nml_read

Reads namelist from file or standard input.


Module Procedures

private function nml_read_log(log, unit) result(rc)

Reads log from file or standard input.

The function returns the following error codes:

  • E_EOR if end of file has been reached.
  • E_READ if reading from file failed.

Arguments

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

Log type.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function nml_read_observ(observ, unit) result(rc)

Reads observation from file or standard input.

The function returns the following error codes:

  • E_EOR if end of file has been reached.
  • E_READ if reading from file failed.

Arguments

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

Observation type.

integer, intent(in), optional :: unit

File unit.

Return Value integer