-
Notifications
You must be signed in to change notification settings - Fork 169
Fixes/modifications to ccpp-physics for transition to capgen #584
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
Merged
Merged
Changes from 14 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
feb3973
Changes to fortran and metadata tables to pass capgen consistency check.
b61a3b9
Merge branch 'master' into capgen_fixes
ee38a14
Fixes for intent mismatch, out of order arguments and subroutines
c52a094
More fixes to intent mismatches, no matching Fortran routine found,
b267bc8
Merge branch 'master' into capgen_fixes
65c96f0
Merge branch 'master' into capgen_fixes
85fa557
Rearrange metadata table entries and add intent to keep capgen happy.
ad9e16d
Merge branch 'master' into capgen_fixes
8e7e1b7
Fix order of variables and differing intents.
72b01ad
Fix CCPPError: No matching Fortran routine found for sfc_sice_run
dc0f118
Add missing intent statements
d6cf638
Merge branch 'master' into capgen_fixes
7cbb6ae
Change intent from out to inout to match fortran.
3ff716e
Merge branch 'master' into capgen_fixes
7a1373f
Merge branch 'master' into capgen_fixes
1223d7a
Fix intent statements as requested by Dom.
c6f9c79
Merge branch 'master' into capgen_fixes
bfa9a65
Fix more out of order variables and mismatched intents.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -96,7 +96,7 @@ | |
| dimensions = (horizontal_loop_extent,vertical_dimension) | ||
| type = real | ||
| kind = kind_phys | ||
| intent = inout | ||
| intent = out | ||
|
Collaborator
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. See above |
||
| optional = F | ||
| [save_qv] | ||
| standard_name = water_vapor_specific_humidity_save | ||
|
|
@@ -114,7 +114,7 @@ | |
| dimensions = (horizontal_loop_extent,vertical_dimension,number_of_tracers) | ||
| type = real | ||
| kind = kind_phys | ||
| intent = inout | ||
| intent = out | ||
| optional = F | ||
| [errmsg] | ||
| standard_name = ccpp_error_message | ||
|
|
@@ -330,7 +330,7 @@ | |
| dimensions = (horizontal_loop_extent) | ||
| type = real | ||
| kind = kind_phys | ||
| intent = in | ||
| intent = inout | ||
| optional = F | ||
| [rain1] | ||
| standard_name = lwe_thickness_of_explicit_precipitation_amount | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,7 +25,7 @@ subroutine GFS_SCNV_generic_pre_run (im, levs, ldiag3d, qdiag3d, gu0, gv0, gt0, | |
| logical, intent(in) :: ldiag3d, qdiag3d, flag_for_scnv_generic_tend | ||
| real(kind=kind_phys), dimension(im,levs), intent(in) :: gu0, gv0, gt0, gq0_water_vapor | ||
|
|
||
| real(kind=kind_phys), dimension(im,levs), intent(inout) :: save_u, save_v, save_t, save_qv | ||
| real(kind=kind_phys), dimension(im,levs), intent(out) :: save_u, save_v, save_t, save_qv | ||
|
Collaborator
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, intent(inout), see above. Also fix in physics/GFS_SCNV_generic.meta |
||
| character(len=*), intent(out) :: errmsg | ||
| integer, intent(out) :: errflg | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
These must be intent(inout) because they are only modified under certain conditions, otherwise let unchanged. Fix also in metadata.