Skip to content

Commit

Permalink
Allocate elevclass_o before use in mkglcmecMod.F90
Browse files Browse the repository at this point in the history
  • Loading branch information
slevis-lmwg committed Sep 30, 2024
1 parent f88d050 commit d3d4e2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/mksurfdata_esmf/src/mkglcmecMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ subroutine mkglcmecInit( pioid_o )
call shr_sys_abort()
end if

allocate(elevclass_o(size(elevclass)))
elevclass_o(:) = elevclass(:)

if (root_task) write(ndiag, '(a)') trim(subname)//" writing out GLC_MEC"
Expand Down

0 comments on commit d3d4e2e

Please sign in to comment.