-
Notifications
You must be signed in to change notification settings - Fork 180
Multiple output grids #480
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
DusanJovic-NOAA
merged 26 commits into
NOAA-EMC:develop
from
DusanJovic-NOAA:multiple_output_grids
Feb 15, 2022
Merged
Changes from 24 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
be8c547
Update .gitmodules
DusanJovic-NOAA 40a91e4
Create multiple fcstGrid objects, one for each fv3 grid
DusanJovic-NOAA 39fb691
Use pelist(1) as rootPet when broadcasting from top-level-domain
DusanJovic-NOAA 2ced96d
Create multiple forecast grids
DusanJovic-NOAA 6c5c400
Merge remote-tracking branch 'origin/develop' into multiple_output_grids
DusanJovic-NOAA e7f5b0d
Update after merge
DusanJovic-NOAA ca34e3c
Add missing error handling.
theurich 1e565cd
No memory profiling by default (reduce log volume). Re-enable the Gri…
theurich a765bad
Merge remote-tracking branch 'origin/develop' into multiple_output_grids
DusanJovic-NOAA 5c48410
Add support for multiple output grids
DusanJovic-NOAA 8d5ae56
Make app_domain an array (one element per output grid). Code cleanup.
DusanJovic-NOAA ace5421
Remove some unused variables
DusanJovic-NOAA ad05ce4
Remove 'app_domain' config parameter
DusanJovic-NOAA bec4109
Create global fcstGrid by assigning lat/lon coordinates instead of re…
DusanJovic-NOAA af171b1
Implement unified specification of output grids within model_configur…
theurich efedd49
Merge remote-tracking branch 'origin/develop' into multiple_output_grids
DusanJovic-NOAA 90e1bbc
Change the name of the nest output files
DusanJovic-NOAA c1bcb05
Use ESMF_GridCreateNoPeriDim for regional output grids
DusanJovic-NOAA eeba660
Use same global attributes for global_latlon and regional_latlon
DusanJovic-NOAA 1660724
Merge remote-tracking branch 'origin/develop' into multiple_output_grids
DusanJovic-NOAA b0be505
Deallocate lon_start_wrtgrp/lon_end_wrtgrp arrays
DusanJovic-NOAA 4876863
Remove ESMF_VMBarrier from ModelFinalize
DusanJovic-NOAA 0ac4e69
Nullify local array (pelist) fcst_grid_comp before calling atmos_mode…
DusanJovic-NOAA dfe3cc5
Update atmos_cubed_sphere
DusanJovic-NOAA a5d9ebe
Store fcstGrid coordinates using radians
DusanJovic-NOAA fae0e09
Revert .gitmodules and update atmos_cubed_sphere
DusanJovic-NOAA 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
Submodule atmos_cubed_sphere
updated
3 files
| +20 −2 | driver/fvGFS/atmosphere.F90 | |
| +3 −0 | driver/fvGFS/fv_nggps_diag.F90 | |
| +9 −26 | model/fv_regional_bc.F90 |
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 |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ module inline_post | |
|
|
||
| contains | ||
|
|
||
| subroutine inline_post_run(wrt_int_state,mypei,mpicomp,lead_write, & | ||
| subroutine inline_post_run(wrt_int_state,grid_id,mypei,mpicomp,lead_write, & | ||
|
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. This change needed in the inline_post_stub.F90 as well |
||
| mynfhr,mynfmin,mynfsec) | ||
| ! | ||
| ! revision history: | ||
|
|
@@ -30,21 +30,22 @@ subroutine inline_post_run(wrt_int_state,mypei,mpicomp,lead_write, & | |
| !----------------------------------------------------------------------- | ||
| ! | ||
| type(wrt_internal_state),intent(in) :: wrt_int_state | ||
| integer,intent(in) :: grid_id | ||
| integer,intent(in) :: mypei | ||
| integer,intent(in) :: mpicomp | ||
| integer,intent(in) :: lead_write | ||
| integer,intent(in) :: mynfhr | ||
| integer,intent(in) :: mynfmin | ||
| integer,intent(in) :: mynfsec | ||
| ! | ||
| if(mypei == 0) print *,'inline_post_run, output_grid=',trim(output_grid) | ||
| if(trim(output_grid) == 'gaussian_grid' & | ||
| .or. trim(output_grid) == 'global_latlon') then | ||
| if(mypei == 0) print *,'inline_post_run, output_grid=',trim(output_grid(grid_id)) | ||
| if(trim(output_grid(grid_id)) == 'gaussian_grid' & | ||
| .or. trim(output_grid(grid_id)) == 'global_latlon') then | ||
| call post_run_gfs(wrt_int_state, mypei, mpicomp, lead_write, & | ||
| mynfhr, mynfmin,mynfsec) | ||
| else if( trim(output_grid) == 'regional_latlon' & | ||
| .or. trim(output_grid) == 'rotated_latlon' & | ||
| .or. trim(output_grid) == 'lambert_conformal') then | ||
| else if( trim(output_grid(grid_id)) == 'regional_latlon' & | ||
| .or. trim(output_grid(grid_id)) == 'rotated_latlon' & | ||
| .or. trim(output_grid(grid_id)) == 'lambert_conformal') then | ||
| if(mypei == 0) print *,'inline_post_run, call post_run_regional' | ||
| call post_run_regional(wrt_int_state, mypei, mpicomp, lead_write, & | ||
| mynfhr, mynfmin,mynfsec) | ||
|
|
@@ -55,21 +56,22 @@ end subroutine inline_post_run | |
| ! | ||
| !----------------------------------------------------------------------- | ||
| ! | ||
| subroutine inline_post_getattr(wrt_int_state) | ||
| subroutine inline_post_getattr(wrt_int_state,grid_id) | ||
|
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. This change needed in the inline_post_stub.F90 as well |
||
| ! | ||
| use esmf | ||
| ! | ||
| implicit none | ||
| ! | ||
| type(wrt_internal_state),intent(inout) :: wrt_int_state | ||
| integer, intent(in) :: grid_id | ||
| ! | ||
| if(trim(output_grid) == 'gaussian_grid' & | ||
| .or. trim(output_grid) == 'global_latlon') then | ||
| if(trim(output_grid(grid_id)) == 'gaussian_grid' & | ||
| .or. trim(output_grid(grid_id)) == 'global_latlon') then | ||
| call post_getattr_gfs(wrt_int_state) | ||
| else if( trim(output_grid) == 'regional_latlon' & | ||
| .or. trim(output_grid) == 'rotated_latlon' & | ||
| .or. trim(output_grid) == 'lambert_conformal') then | ||
| call post_getattr_regional(wrt_int_state) | ||
| else if( trim(output_grid(grid_id)) == 'regional_latlon' & | ||
| .or. trim(output_grid(grid_id)) == 'rotated_latlon' & | ||
| .or. trim(output_grid(grid_id)) == 'lambert_conformal') then | ||
| call post_getattr_regional(wrt_int_state,grid_id) | ||
| endif | ||
| ! | ||
| end subroutine inline_post_getattr | ||
|
|
||
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.
Uh oh!
There was an error while loading. Please reload this page.