Skip to content

Commit

Permalink
Fix for issue #878, incorrect cloud fraction import to TurbGridComp
Browse files Browse the repository at this point in the history
  • Loading branch information
narnold1 committed Jan 12, 2024
1 parent dead05d commit b2466b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ subroutine SetServices ( GC, RC )
VERIFY_(STATUS)

call MAPL_AddConnectivity ( GC, &
SHORT_NAME = (/'QV ','QLTOT ','QITOT ','QCTOT ', &
SHORT_NAME = (/'QV ','QLTOT ','QITOT ','FCLD ', &
'WTHV2 ','WQT_DC' /), &
DST_ID = TURBL, &
SRC_ID = MOIST, &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ subroutine SetServices ( GC, RC )
VERIFY_(STATUS)

call MAPL_AddImportSpec(GC, &
SHORT_NAME = 'QCTOT', &
SHORT_NAME = 'FCLD', &
LONG_NAME = 'cloud_fraction', &
UNITS = '1', &
DIMS = MAPL_DimsHorzVert, &
Expand Down Expand Up @@ -2778,7 +2778,7 @@ subroutine REFRESH(IM,JM,LM,RC)

real, dimension(:,:,:), pointer :: TH, U, V, OMEGA, Q, T, RI, DU, RADLW, RADLWC, LWCRT
real, dimension(:,: ), pointer :: AREA, VARFLT
real, dimension(:,:,:), pointer :: KH, KM, QLTOT, QITOT, QCTOT
real, dimension(:,:,:), pointer :: KH, KM, QLTOT, QITOT, FCLD
real, dimension(:,:,:), pointer :: ALH
real, dimension(: ), pointer :: PREF

Expand Down Expand Up @@ -2975,7 +2975,7 @@ subroutine REFRESH(IM,JM,LM,RC)
call MAPL_GetPointer(IMPORT,RADLWC, 'RADLWC', RC=STATUS); VERIFY_(STATUS)
call MAPL_GetPointer(IMPORT, QLTOT, 'QLTOT', RC=STATUS); VERIFY_(STATUS)
call MAPL_GetPointer(IMPORT, QITOT, 'QITOT', RC=STATUS); VERIFY_(STATUS)
call MAPL_GetPointer(IMPORT, QCTOT, 'QCTOT', RC=STATUS); VERIFY_(STATUS)
call MAPL_GetPointer(IMPORT, FCLD, 'FCLD', RC=STATUS); VERIFY_(STATUS)
call MAPL_GetPointer(IMPORT, BSTAR, 'BSTAR', RC=STATUS); VERIFY_(STATUS)
call MAPL_GetPointer(IMPORT, USTAR, 'USTAR', RC=STATUS); VERIFY_(STATUS)
call MAPL_GetPointer(IMPORT,FRLAND, 'FRLAND', RC=STATUS); VERIFY_(STATUS)
Expand Down Expand Up @@ -3361,7 +3361,7 @@ subroutine REFRESH(IM,JM,LM,RC)

QL = QLTOT
QI = QITOT
QA = QCTOT
QA = FCLD
Z = 0.5*(ZL0(:,:,0:LM-1)+ZL0(:,:,1:LM)) ! layer height above surface
PLO = 0.5*(PLE(:,:,0:LM-1)+PLE(:,:,1:LM))

Expand Down

0 comments on commit b2466b4

Please sign in to comment.