Reads DWD weather report records from file unit. The reports are available as open data from:
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.Type | Intent | Optional | 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. |