Preprints
https://doi.org/10.5194/gmd-2021-311
https://doi.org/10.5194/gmd-2021-311

Submitted as: development and technical paper 22 Oct 2021

Submitted as: development and technical paper | 22 Oct 2021

Review status: this preprint is currently under review for the journal GMD.

CP-DSL: Supporting Configuration and Parametrization of Ocean Models with UVic (2.9) and MITgcm (67w)

Reiner Jung, Sven Gundlach, and Wilhelm Hasselbring Reiner Jung et al.
  • Software Engineering Group, Department of Computer Science, Kiel University, Kiel, Germany

Abstract. Ocean models are long-living software systems facing challenges with increasing complexity, architecture erosion, and managing legacy code. These challenges increase maintenance costs in development and use, which reduces the time and resources available for research. Software engineering addresses these challenges by separation of concerns and modularization. One particular approach is to separate concerns by tailor-made notations, i.e. Domain-Specific Languages (DSLs). Using DSLs, the model developer can focus on one concern at a time without the need to consider other concerns of a software system simultaneously. In ocean and climate models, DSL tooling, like PSyclone and Dusk/Dawn, is used for instance to separate scientific and technical code.

CP-DSL complements this approach with a focus on configuration and parametrization, which play an important role in ocean models, especially in parameter optimization and scenario-based simulations. CP-DSL is designed to be model agnostic and provides a unified interface to different ocean models. Furthermore, the DSL can be integrated into tools and processes used by domain experts. In this paper we report on the DSL design, implementation, and the evaluation with scientists and research software engineers. The implementation of CP-DSL is available as open source software and a replication package for configuration and parameterization of UVic and MITgcm is provided.

Reiner Jung et al.

Status: open (until 17 Dec 2021)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on gmd-2021-311', Andrew Porter, 10 Nov 2021 reply
  • RC2: 'Comment on gmd-2021-311', Stephan Kramer, 23 Nov 2021 reply

Reiner Jung et al.

Reiner Jung et al.

Viewed

Total article views: 301 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
245 52 4 301 2 1
  • HTML: 245
  • PDF: 52
  • XML: 4
  • Total: 301
  • BibTeX: 2
  • EndNote: 1
Views and downloads (calculated since 22 Oct 2021)
Cumulative views and downloads (calculated since 22 Oct 2021)

Viewed (geographical distribution)

Total article views: 289 (including HTML, PDF, and XML) Thereof 289 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 29 Nov 2021
Download
Short summary
We present CP-DSL, a domain-specific language with a focus on configuration and parametrization of ocean models, which was so far not supported by domain-specific-languages. CP-DSL is designed to be model agnostic and provides a unified interface to different ocean models. We report on the DSL design, implementation, and the evaluation with scientists and research software engineers. The implementation of CP-DSL is available as open source software and a replication package is provided.