Skip to content

Refactor and enhance CMIP7 namelist process#287

Open
gold2718 wants to merge 1 commit into
NorESMhub:noresm_developfrom
gold2718:cmip_namelists
Open

Refactor and enhance CMIP7 namelist process#287
gold2718 wants to merge 1 commit into
NorESMhub:noresm_developfrom
gold2718:cmip_namelists

Conversation

@gold2718

@gold2718 gold2718 commented Jun 24, 2026

Copy link
Copy Markdown

Summary: Refactor and enhance CMIP7 namelist process

Contributors: gold2718

Reviewers: @oyvindseland, @DirkOlivie, @Ovewh, @MichaelSchulzMETNO

Purpose of changes: #286

Github PR URL: #287

Changes made to build system: None

Changes made to the namelist: None except for new usermods options

Changes to the defaults for the boundary datasets: None

Substantial timing or memory changes: None

Detailed description of changes

  • Implement configuration file for usermods sets
  • Add support for output with COSP and/or Aerocom fields
  • Add support for separate CAM field request (added to CMIP7 request)
  • Rewrote README.md file
  • Add regression test for full output (modify base NHIST test)

Testing:

  • aux_cam_noresm on Olivia: All pass except for namelist and output changes for modified test
  • aux_cam_noresm on Betzy:

fixes: #286

- Implement configuration file for usermods sets
- Add support for output with COSP and/or Aerocom fields
- Add support for separate CAM field request (added to CMIP7 request)
- Rewrote README.md file
- Add regression test for full output (modify base NHIST test)
Comment thread tools/cmip_namelists/cmip_diagnostic_namelists.py
missing7 = check_for_missing_fieldnames(all_fieldnames, cmip7_request,
"CMIP7")
cam_request = parse_spreadsheet(camfile)
missingc = check_for_missing_fieldnames(all_fieldnames, cmip7_request,

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I also found that this morning since RESTOM and CO2 were not reported as missing.

print(f" {field}")
# end for
arglist = command_line(sys.argv[1:])
cmipfile, camfile, usermods, configfile, overwrite, error, maxline = arglist

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cmipfile, camfile, usermods, configfile, overwrite, error, maxline = arglist
cmipfile, camfile, usermods, configfile, overwrite, error, maxline,ignore_fieldlist = arglist

Comment thread tools/cmip_namelists/cmip_diagnostic_namelists.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants