Derived types for report generation.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public, | parameter | :: | REPORT_FORMAT_LEN | = | PLOT_TERMINAL_NAME_LEN |
Plot format string length. |
integer, | public, | parameter | :: | REPORT_META_LEN | = | 4096 |
Plot meta description string length. |
integer, | public, | parameter | :: | REPORT_TITLE_LEN | = | 256 |
Plot title string length. |
Single plot of observations.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=REPORT_FORMAT_LEN), | public | :: | format | = | PLOT_TERMINAL_NAMES(PLOT_TERMINAL_SVG) |
Plot format. |
|
character(len=SENSOR_ID_LEN), | public | :: | sensor | = | ' ' |
Sensor id. |
|
character(len=TARGET_ID_LEN), | public | :: | target | = | ' ' |
Target id. |
|
character(len=RESPONSE_NAME_LEN), | public | :: | response | = | ' ' |
Response name. |
|
character(len=RESPONSE_UNIT_LEN), | public | :: | unit | = | ' ' |
Response unit. |
|
character(len=REPORT_TITLE_LEN), | public | :: | title | = | ' ' |
Plot title. |
|
character(len=REPORT_TITLE_LEN), | public | :: | subtitle | = | ' ' |
Plot sub-title. |
|
character(len=REPORT_META_LEN), | public | :: | meta | = | ' ' |
Plot description. |
|
character(len=8), | public | :: | color | = | ' ' |
Foreground colour. |
|
integer, | public | :: | width | = | 1000 |
Plot width in pixels. |
|
integer, | public | :: | height | = | 400 |
Plot height in pixels. |
Section plots of report.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | disabled | = | .false. |
Generate plots. |
|
character(len=FILE_PATH_LEN), | public | :: | database | = | ' ' |
Path to observation database (required). |
|
character(len=REPORT_META_LEN), | public | :: | meta | = | ' ' |
Description text. |
|
character(len=REPORT_TITLE_LEN), | public | :: | title | = | 'Plots' |
Section title. |
|
type(report_observ_type), | public, | allocatable | :: | observs(:) |
Plots to generate. |
Section logs of report.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | disabled | = | .false. |
Generate plots. |
|
integer, | public | :: | min_level | = | LL_WARNING |
Minimum log level. |
|
integer, | public | :: | max_level | = | LL_CRITICAL |
Maximum log level. |
|
character(len=FILE_PATH_LEN), | public | :: | database | = | ' ' |
Path to observation database (required). |
|
character(len=REPORT_META_LEN), | public | :: | meta | = | ' ' |
Description text. |
|
character(len=REPORT_TITLE_LEN), | public | :: | title | = | 'Logs' |
Section title. |
Report type with plot and log settings.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=NODE_ID_LEN), | public | :: | node | = | ' ' |
Node id. |
|
character(len=TIME_LEN), | public | :: | from | = | ' ' |
Timestamp (ISO 8601). |
|
character(len=TIME_LEN), | public | :: | to | = | ' ' |
Timestamp (ISO 8601). |
|
character(len=REPORT_META_LEN), | public | :: | meta | = | ' ' |
Report description text. |
|
character(len=FILE_PATH_LEN), | public | :: | output | = | ' ' |
Path of output file. |
|
character(len=REPORT_TITLE_LEN), | public | :: | title | = | 'Report' |
Report title. |
|
character(len=REPORT_TITLE_LEN), | public | :: | subtitle | = | ' ' |
Report sub-title. |
|
character(len=FILE_PATH_LEN), | public | :: | style | = | ' ' |
Path to CSS file that will be included into the report. |
|
type(report_plot_type), | public | :: | plot |
Plots section. |
|||
type(report_log_type), | public | :: | log |
Logs sections. |
Returns .true.
if given report type is valid, else .false.
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(report_type), | intent(inout) | :: | report |
Report type. |