csis-architecture

Report Generation

The result of a climate adaptation study is a report that could be (semi-)automatically generated. Report Generation should enable the user to easily access and download draft and final reports packages at the end of the project assessment process. Such report packages should include automatically generated documentation (with embedded supporting tables, graphs and maps of the area under study) along with all the datasets (Data Package, see 4.2) used in the study. In this way, the packages generated can be further used in other stages of the planning project.

The (semi-)automatic Report Generation depends on well-defined inputs that can be validated, aggregated and visualised. Therefore, technical standards for the respective input formats must be adopted by CLARITY Data Packages and communicated to external stakeholders that want to use the CLARITY Report Generation functionality for their Expert Climate Services.

Requested functionality

Baseline requirements elicitation and the assessment of presently available Test Cases have yielded the following functional requirements for this Building Block:

Baseline functionality

Functionality requested by CSIS Test Cases

Functionality requested by DC Test Cases

Exploitation Requirements assessment

The assessment of the Exploitation Requirements [11] identified the following concrete technical and functional implications on this Building Block:

Technology support

Figure 30 gives an overview on the technological possibilities and the related open-source frontend software components that have been selected for the Technology Support Plan.

Figure 30: Report Generation Technology Support

The Report Generation tool is meant to provide a PDF report based on the elements and results of the study done for a certain area under a set of selected conditions. This tool must have access to all the available information for the project and depending on the technology used for the Scenario Management Building Block (6.2) it may be needed to develop a middleware library to retrieve the information from the Integration RDMBS (7.3) or the Data Repository (7.4).

In terms of creating the report itself, a JavaScript library that allows for customization of charts and graphs is eCharts. It has a map component and the capability of allowing the user to interact with the charts generated. Being a JS library it can be easily integrated on different platforms and web applications. Both SVG and Canvas, are supported in eCharts.

https://github.com/ecomfe/echarts

Using both the graphs and charts generated and customized with eCharts and the text existing in the system there are several JavaScript-based libraries that can be employed for the generation of the final report, among these are: jsPDF, pdf.js or react-js among others. The proper choice will be determined by the ease of integration with the User Interface Integration platform.