Skip to content

Commit

Permalink
netCDF unit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fjansson committed Dec 7, 2023
1 parent 680bfc6 commit c2f5fdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modcape.f90
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ subroutine initcape
call ncinfo(ncname( 17,:),'rwp','xy crosssections rain water path','kg/m^2','tt0t')
call ncinfo(ncname( 18,:),'twp','total water path','kg/m^2','tt0t')
call ncinfo(ncname( 19,:),'cldtop','xy crosssections cloud top height','m','tt0t')
call ncinfo(ncname( 20,:),'surfprec','surface precipitation','-','tt0t')
call ncinfo(ncname( 20,:),'surfprec','surface precipitation','kg/m^2/s','tt0t')
call ncinfo(ncname( 21,:),'hmix','mixed layer height','m','tt0t')
call ncinfo(ncname( 22,:),'hinvsrf','height of surface inversion','m','tt0t')
call ncinfo(ncname( 23,:),'umix','u wind speed averaged over mixed layer','m/s','tt0t')
Expand Down
2 changes: 1 addition & 1 deletion src/modmsebudg.f90
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ subroutine initmsebudg
fname(20:22) = cexpnr
call ncinfo(tmsencname(1,:),'time','Time','s','time')
call ncinfo(ncmsename( 1,:),'fmse' ,'mass-weighted vertical integral of frozen moist static energy','J/m2','tt0t')
call ncinfo(ncmsename( 2,:),'hadvmse' ,'mass-weighted vertical integral of horizontal advective tendency of frozen moist static energy','J/m2/','tt0t')
call ncinfo(ncmsename( 2,:),'hadvmse' ,'mass-weighted vertical integral of horizontal advective tendency of frozen moist static energy','J/m2/s','tt0t')
call ncinfo(ncmsename( 3,:),'vadvmse' ,'mass-weighted vertical integral of vertical advective tendency of frozen moist static energy','J/m2/s','tt0t')
call ncinfo(ncmsename( 4,:),'tnfmse' ,'total tendency of mass-weighted vertical integral of frozen moist static energy','J/m2/s','tt0t')
! call ncinfo(ncmsename( 5,:),'tnfmsevar','total tendency of spatial variance of mass-weighted vertical integral of frozen moist static energy','J2/m4/s','tt0t')
Expand Down

0 comments on commit c2f5fdc

Please sign in to comment.