Skip to content

Commit

Permalink
Updates to conservatively regrid vectorized winds
Browse files Browse the repository at this point in the history
This returns GCHPctm to using vectorized winds as has been traditionally
done in all past versions of GCHP. We briefly switched to regridding
lat/lon winds due to a misconception that MAPL 2.0 could not do
conservative regridding of vectors. Updates are now in MAPL to let the
regridding proceed.

Signed-off-by: Lizzie Lundgren <[email protected]>
  • Loading branch information
lizziel committed Jun 11, 2020
1 parent c46a168 commit d5d7275
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ subroutine SetServices ( GC, RC )
! _VERIFY(STATUS)

call MAPL_AddImportSpec ( gc, &
SHORT_NAME = 'ULL', &
SHORT_NAME = 'UA', &
LONG_NAME = 'eastward_wind_on_A-Grid', &
UNITS = 'm s-1', &
STAGGERING = MAPL_AGrid, &
Expand All @@ -191,7 +191,7 @@ subroutine SetServices ( GC, RC )
_VERIFY(STATUS)

call MAPL_AddImportSpec ( gc, &
SHORT_NAME = 'VLL', &
SHORT_NAME = 'VA', &
LONG_NAME = 'northward_wind_on_A-Grid', &
UNITS = 'm s-1', &
STAGGERING = MAPL_AGrid, &
Expand Down Expand Up @@ -567,9 +567,9 @@ subroutine Run ( GC, IMPORT, EXPORT, CLOCK, RC )
_VERIFY(STATUS)
call MAPL_GetPointer ( IMPORT, PS1, 'PS2', RC=STATUS )
_VERIFY(STATUS)
call MAPL_GetPointer ( IMPORT, UA, 'ULL', RC=STATUS )
call MAPL_GetPointer ( IMPORT, UA, 'UA', RC=STATUS )
_VERIFY(STATUS)
call MAPL_GetPointer ( IMPORT, VA, 'VLL', RC=STATUS )
call MAPL_GetPointer ( IMPORT, VA, 'VA', RC=STATUS )
_VERIFY(STATUS)
call MAPL_GetPointer ( IMPORT, SPHU0, 'SPHU1', RC=STATUS )
_VERIFY(STATUS)
Expand Down
2 changes: 1 addition & 1 deletion src/GCHP_GridComp/HEMCO_GridComp/HEMCO
2 changes: 1 addition & 1 deletion src/MAPL

0 comments on commit d5d7275

Please sign in to comment.