Skip to content

Commit

Permalink
Set NLEVS before using
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon authored Feb 7, 2025
1 parent e758e0d commit be3aedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_suvolcanic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ program test_suvolcanic
SUVolcanicEmissionsState%Activate = .true.

! Meteorological State
MetState%NLEVS = 2
allocate(MetState%BXHEIGHT(MetState%NLEVS))
allocate(MetState%DELP(MetState%NLEVS))
MetState%NLEVS = 2

MetState%DELP(1:MetState%NLEVS)= 10000 ! Need to change to something more reasonable and check units.
MetState%BXHEIGHT(1:MetState%NLEVS) = 100 ! temporary, change to something more reasonable and check units
Expand Down

0 comments on commit be3aedc

Please sign in to comment.