Skip to content

Commit

Permalink
Remove elevclass_o altogether because it is NOT used
Browse files Browse the repository at this point in the history
  • Loading branch information
slevis-lmwg committed Oct 1, 2024
1 parent d3d4e2e commit b15640f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/mksurfdata_esmf/src/mkglcmecMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ subroutine mkglcmecInit( pioid_o )
! local variables:
type(var_desc_t) :: pio_varid
type(io_desc_t) :: pio_iodesc
real(r8), allocatable :: elevclass_o(:) ! elevation classes
integer :: rcode
character(len=*), parameter :: subname = 'mkglcmecInit'
!-----------------------------------------------------------------------
Expand Down Expand Up @@ -100,9 +99,6 @@ 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"
rcode = pio_inq_varid(pioid_o, 'GLC_MEC', pio_varid)
rcode = pio_put_var(pioid_o, pio_varid, elevclass)
Expand Down

0 comments on commit b15640f

Please sign in to comment.