Repository navigation
3D chunking for chemistry full-domain mode #36
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
Changes from all commits
08dfc64
74b5407
1a31d86
783ba21
ebda85b
1304838
c00e474
c78ab29
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -81,6 +81,7 @@ SUBROUTINE ukca_setup(error_code, & | |||||||||||||||||||||||
| i_ukca_quasinewton_start, & | ||||||||||||||||||||||||
| i_ukca_quasinewton_end, & | ||||||||||||||||||||||||
| ukca_chem_seg_size, & | ||||||||||||||||||||||||
| ukca_chem_full_chunk_size, & | ||||||||||||||||||||||||
| nlev_above_trop_o3_env, & | ||||||||||||||||||||||||
| nlev_ch4_stratloss, & | ||||||||||||||||||||||||
| i_ukca_topboundary, & | ||||||||||||||||||||||||
|
|
@@ -414,6 +415,7 @@ SUBROUTINE ukca_setup(error_code, & | |||||||||||||||||||||||
| INTEGER, OPTIONAL, INTENT(IN) :: i_ukca_quasinewton_start | ||||||||||||||||||||||||
| INTEGER, OPTIONAL, INTENT(IN) :: i_ukca_quasinewton_end | ||||||||||||||||||||||||
| INTEGER, OPTIONAL, INTENT(IN) :: ukca_chem_seg_size | ||||||||||||||||||||||||
| INTEGER, OPTIONAL, INTENT(IN) :: ukca_chem_full_chunk_size(3) | ||||||||||||||||||||||||
| INTEGER, OPTIONAL, INTENT(IN) :: nlev_above_trop_o3_env | ||||||||||||||||||||||||
| INTEGER, OPTIONAL, INTENT(IN) :: nlev_ch4_stratloss | ||||||||||||||||||||||||
| INTEGER, OPTIONAL, INTENT(IN) :: i_ukca_topboundary | ||||||||||||||||||||||||
|
|
@@ -838,6 +840,14 @@ SUBROUTINE ukca_setup(error_code, & | |||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| END IF | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ! Full-domain-based run configuration | ||||||||||||||||||||||||
| IF (ukca_config%l_ukca_asad_full) THEN | ||||||||||||||||||||||||
| ukca_config%ukca_chem_full_chunk_size(:) = [-1, -1, -1] | ||||||||||||||||||||||||
| IF (PRESENT(ukca_chem_full_chunk_size)) THEN | ||||||||||||||||||||||||
| ukca_config%ukca_chem_full_chunk_size(:) = ukca_chem_full_chunk_size(:) | ||||||||||||||||||||||||
| END IF | ||||||||||||||||||||||||
| END IF | ||||||||||||||||||||||||
|
Comment on lines
+844
to
+849
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If an END IF and THEN statement could be added here to keep styling consistent that would be great.
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks Pierre Siddall (@Pierre-siddall), done in commit c78ab29.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
No problem mn416 and thanks for responding to the feedback quickly. |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ! Configuration specific to explicit B-E Offline Oxidants scheme | ||||||||||||||||||||||||
| IF (ukca_config%i_ukca_chem == i_ukca_chem_offline_be) THEN | ||||||||||||||||||||||||
| IF (PRESENT(max_z_for_offline_chem)) & | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest printing a warning here within each
IFto say that the value of the chunk has been reset to row_length / rows / model_levels, otherwise the code is changing something without the user being informed. The metadata for this namelist entry does say that this will be happening, but I'd also put a warning message here that it's been doneThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Luke Abraham (@theabro), done in commit 1304838.