MetOffice / MetOffice/lfric_core

Too much logging from `config_type.f90.jinja`

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

Description

### Are there any linked Issues or Pull Requests?

_No response_

### Brief description

After #262 was merged, it became apparent that there is far too much logging coming out of `config_type.f90.jinja`.

### Further details of the issue.

The logging looks like this and is quite invasive:

```
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_bcorr_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_bcorr_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_bcorr_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_bcorr_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_bcorr_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_bcorr_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_bcorr_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_addinf_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_ainc_io namelist: missing profile name.
Ignoring iau_bcorr_io namelist: missing profile name.
```

There is far too much duplication of messages here and it clogs up the `job.out` file when running tests.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting config_type.f90.jinja and reproduce the generated logging during the test run described in the issue. Trace the repeated “missing profile name” messages and confirm the change reduces duplicated output without hiding relevant information; verify that job.out is no longer clogged with repeated messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.