Skip to content

Hook up other SUBDD-State_Diag for 3D StateMet tracers#100

Merged
joewallwork merged 6 commits into
29_subdd-statediag-3dfrom
29_subdd-statediag-3d-extra
Mar 18, 2025
Merged

Hook up other SUBDD-State_Diag for 3D StateMet tracers#100
joewallwork merged 6 commits into
29_subdd-statediag-3dfrom
29_subdd-statediag-3d-extra

Conversation

@joewallwork

@joewallwork joewallwork commented Mar 14, 2025

Copy link
Copy Markdown
Collaborator

Towards #29.
Merges into #99.

This PR adds 3D diagnostics that weren't already included.

It also ensures that the correct units are used according to GEOS-Chem/Headers/state_met_mod.F90 and applies consistent formatting.

@joewallwork joewallwork added the deliverable1 Associated with deliverable 1 label Mar 14, 2025
@joewallwork joewallwork self-assigned this Mar 14, 2025
@joewallwork joewallwork force-pushed the 29_subdd-statediag-3d-extra branch from 1c3459f to 6a08a88 Compare March 17, 2025 16:11
@joewallwork joewallwork force-pushed the 29_subdd-statediag-3d-extra branch from 6a08a88 to 81beba4 Compare March 17, 2025 16:13
Comment thread model/CHEM_DRV.F90
Comment on lines +441 to +454
! Dry air mass [kg]
! TODO: State_Met%AD (II,JJ,K) = ???

! Dry air density [kg m-3]
! TODO: State_Met%AIRDEN (II,JJ,K) = ???

! Volume of grid box [m3]
! TODO: State_Met%AIRVOL (II,JJ,K) = ???

! Water vapor mixing ratio (w/r/t dry air)
! TODO: State_Met%AVGW (II,JJ,K) = ???

! Grid box height [m]
! TODO: State_Met%BXHEIGHT (II,JJ,K) = ???

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I still need to figure out where to get the data for these.

Comment thread model/CHEM_DRV.F90
Comment on lines +465 to +469
! Delta-pressure across grid box(wet air) [hPa]
! TODO: State_Met%DELP (II,JJ,K) = ???

! Delta-pressure across grid box (dry air) [hPa]
! TODO: State_Met%DELPDRY (II,JJ,K) = ???

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

These too.

Comment thread model/CHEM_DRV.F90
Comment on lines +544 to +545
! Potential temperature [K]
! TODO: State_Met%THETA (II,JJ,K) = ???

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

And this one.

@joewallwork joewallwork marked this pull request as ready for review March 17, 2025 16:31
Comment thread model/CHEM_DRV.F90
Comment on lines +2290 to +2299
call inc_subdd(subdd,k,sddarr3d)
exit ntm_loop
end if
end do ntm_loop
enddo ! k
enddo ! igroup

do igrp=1,ngroups
subdd => subdd_groups(grpids(igrp))
do k=1,subdd%ndiags

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I wasn't sure that we had the looping logic right here. I've separated it out for now but we should follow up in #99 once this is merged in.

@joewallwork joewallwork merged commit 3c0a03b into 29_subdd-statediag-3d Mar 18, 2025
@joewallwork joewallwork deleted the 29_subdd-statediag-3d-extra branch March 18, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deliverable1 Associated with deliverable 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants