Skip to content

Commit

Permalink
Fix GNU error with character array constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 authored Mar 17, 2022
1 parent 07f6357 commit 1b30b53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GEOSogcm_GridComp/GEOS_OgcmGridComp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -783,9 +783,9 @@ subroutine SetServices ( GC, RC )
if (ocean_extData) then
if (DO_DATASEAONLY==1) then ! fake-ocean (i.e., data ocean)
if (ocean_sssData) then
call MAPL_TerminateImport ( GC, ["DATA_SST","DATA_SSS", "DATA_ICE","DATA_KPAR"], [ocean,ocean,seaice,orad], RC=STATUS )
call MAPL_TerminateImport ( GC, ["DATA_SST ","DATA_SSS ", "DATA_ICE ","DATA_KPAR"], [ocean,ocean,seaice,orad], RC=STATUS )
else ! no (None) data_sss
call MAPL_TerminateImport ( GC, ["DATA_SST", "DATA_ICE","DATA_KPAR"], [ocean, seaice,orad], RC=STATUS )
call MAPL_TerminateImport ( GC, ["DATA_SST ", "DATA_ICE ","DATA_KPAR"], [ocean, seaice,orad], RC=STATUS )
endif
else ! we get real ocean and sea ice in case of coupled model, and only data KPAR is used.
call MAPL_TerminateImport ( GC, ["DATA_KPAR"], [orad], RC=STATUS ) ! need to terminate others as well: cosz, discharge, frocean, pice, taux, tauy
Expand Down

0 comments on commit 1b30b53

Please sign in to comment.