Skip to content

Reduced output from CAM-Oslo in noresm3 #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: noresm_develop
Choose a base branch
from

Conversation

Johannesfjeldsaa
Copy link
Collaborator

@Johannesfjeldsaa Johannesfjeldsaa commented Jul 14, 2025

Summary: Control all output from CAM-Oslo

Contributors: Johannes Fjeldså

Reviewers: Steve Goldhaber

Purpose of changes: Contain output from CAM-Oslo that is always outputted to be namelist options. In additition implement summation fields to allow for aerosol budget calculations and less posprocessing of often-reviewed aerosol output.

Github PR URL: #60

Changes made to build system: 'None'

Changes made to the namelist: 'None'

Changes to the defaults for the boundary datasets: 'None'

Substantial timing or memory changes: 'None'

Usage of new history flags to contain output that is always outputted from OsloAero. In addition multiple new fields is calculated at runtime. Similar work as done for noresm2.3, see #51. Build's on smaller changes done to the namelist system of CAM, see PR NorESMhub/CAM#232.

To test changes:

git clone [email protected]:NorESMhub/NorESM.git
cd NorESM
git checkout noresm3_0_beta01
./bin/git-fleximod update

cd components/cam
git remote add johannesfjeldsaa [email protected]:Johannesfjeldsaa/CAM.git
git fetch johannesfjeldsaa
git checkout johannesfjeldsaa/cam_output_control_noresm3_beta01

cd src/chemistry/oslo_aero
git remote add johannesfjeldsaa [email protected]:Johannesfjeldsaa/OSLO_AERO.git
git fetch johannesfjeldsaa
git checkout johannesfjeldsaa/reduced_output_noresm3_from_scratch

and then create whatever test case wanted.

I have done control calculations between the in-model and out-of model fields which can be seen on nird:
/nird/datalake/NS9560K/noresm3/cases/n1850.ne16pg3_tn14.beta01.budget_calculation.20250714/documentation_of_work/lookatoutput.ipynb
Also a budget has been done which is found in:
/nird/datalake/NS9560K/noresm3/cases/n1850.ne16pg3_tn14.beta01.budget_calculation.20250714/documentation_of_work/aerosol_budget_noresm3.out
NOTE however that the budgets are perhaps a bit to unclosed. This is probably because I was unable to calculate the change in global load from restart files (since needed variable live on different grids. If one where to regrid the restart files this could be done). As a result the change in load is calculated based on h0a.0122-12 - h0a.0122-01 which are monthly averages and probably not the most representative numbers.

Issues addressed by this PR: NorESMhub/CAM#195

@gold2718 gold2718 self-assigned this Jul 16, 2025
@gold2718 gold2718 added the enhancement New feature or request label Jul 16, 2025
@gold2718 gold2718 moved this from Todo to In Progress in NorESM Development Jul 16, 2025
@gold2718 gold2718 added this to the noresm3_0_beta02 milestone Jul 16, 2025
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: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants