MetOffice / MetOffice/lfric_core

Take advantage of validation described in configuration metadata

Open
#396 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Fortran
Stars
26
Forks
73
Avg merge
1d 8h
Merged PRs (30d)
4

Description

The only validation of loaded configuration currently undertaken is to check against a list of required namelists. This list is static, so can't take into account namelists conditional on other settings, and is manually maintained, which means it isn't.

There is a wealth of validation rules in the configuration metadata which we might take advantage and automatically generate validation source.

It is not enough to rely on Rose to do the validation as we have no guarantee that the namelists we are loading were generated by Rose.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that loads configuration and currently checks the manually maintained required-namelist list, then inspect the configuration metadata containing validation rules. Define completion as automatically generated validation that handles conditional namelists and does not depend on Rose-generated input.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.