Skip to content

Commit

Permalink
Properly initialize rah1 history array to spval (overriding the defau…
Browse files Browse the repository at this point in the history
…lt of NaN)
  • Loading branch information
johnpaulalex committed Jul 17, 2023
1 parent 7629dd8 commit 3cd4368
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/biogeophys/FrictionVelocityMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ subroutine InitHistory(this, bounds)
ptr_patch=this%fv_patch)
end if

this%rah1_patch(begp:endp) = spval
call hist_addfld1d (fname='RAH1', units='s/m', &
avgflag='A', long_name='aerodynamical resistance ', &
ptr_patch=this%rah1_patch, default='inactive')
Expand Down

0 comments on commit 3cd4368

Please sign in to comment.