dm_dwd_weather_report_read Function

public function dm_dwd_weather_report_read(reports, unit, header) result(rc)

Uses

  • proc~~dm_dwd_weather_report_read~~UsesGraph proc~dm_dwd_weather_report_read dm_dwd_weather_report_read module~dm_string dm_string proc~dm_dwd_weather_report_read->module~dm_string module~dm_error dm_error module~dm_string->module~dm_error module~dm_kind dm_kind module~dm_string->module~dm_kind 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

Reads DWD weather report records from file unit. The reports are available as open data from:

  • https://opendata.dwd.de/weather/weather_reports/poi/

The function returns the following error codes:

  • E_ALLOC if memory allocation failed.
  • E_EMPTY if no records have been read.
  • E_FORMAT if line format is invalid.
  • E_READ if file reading failed.

Arguments

Type IntentOptional Attributes Name
type(dwd_weather_report_type), intent(out), allocatable :: reports(:)

Weather report records.

integer, intent(in) :: unit

File unit.

logical, intent(in), optional :: header

Write header.

Return Value integer


Calls

proc~~dm_dwd_weather_report_read~~CallsGraph proc~dm_dwd_weather_report_read dm_dwd_weather_report_read interface~dm_present dm_present proc~dm_dwd_weather_report_read->interface~dm_present proc~dm_string_split dm_string_split proc~dm_dwd_weather_report_read->proc~dm_string_split proc~dm_time_is_valid dm_time_is_valid proc~dm_dwd_weather_report_read->proc~dm_time_is_valid proc~dm_time_is_valid->interface~dm_present proc~dm_ascii_is_digit dm_ascii_is_digit proc~dm_time_is_valid->proc~dm_ascii_is_digit