Skip to content

Commit af94ed8

Browse files
authored
Merge pull request #957 from dmocko/fix/noahmp401-allocation
Deallocate Noah-MP-4.0.1 variables in coldstart for multiple nests
2 parents 68dcfbc + c3469bf commit af94ed8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lis/surfacemodels/land/noahmp.4.0.1/NoahMP401_coldstart.F90

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,11 @@ subroutine NoahMP401_coldstart(mtype)
453453

454454
endif ! coldstart
455455

456+
deallocate(zsnso)
457+
deallocate(tsnow)
458+
deallocate(snice)
459+
deallocate(snliq)
460+
deallocate(zsoil)
456461
deallocate(tsnoxy)
457462
deallocate(zsnsoxy)
458463
deallocate(snicexy)

0 commit comments

Comments
 (0)