Save model results to file


INTERFACE:

   subroutine do_ncdf_out(nlev,secs)
DESCRIPTION:

Write the GOTM core variables to the NetCDF file.


USES:

   use airsea,       only: tx,ty,I_0,heat,precip,evap,sst,sss
   use airsea,       only: int_precip,int_evap,int_fwf
   use airsea,       only: int_swr,int_heat,int_total
   use meanflow,     only: depth0,u_taub,u_taus,rho_0,gravity
   use meanflow,     only: h,u,v,z,S,T,buoy,SS,NN
   use turbulence,   only: P,B,Pb
   use turbulence,   only: num,nuh,nus
   use turbulence,   only: gamu,gamv,gamh,gams
   use turbulence,   only: tke,kb,eps,epsb,L,uu,vv,ww
   use kpp,          only: zsbl,zbbl
   use observations, only: zeta,uprof,vprof,tprof,sprof,epsprof,o2_prof
   use eqstate,      only: eqstate1
  ifdef EXTRA_OUTPUT
   use meanflow,     only: mean1,mean2,mean3,mean4,mean5
   use turbulence,   only: turb1,turb2,turb3,turb4,turb5
  endif
   IMPLICIT NONE
INPUT PARAMETERS:
   integer,  intent(in)                :: nlev
   REALTYPE, intent(in)                :: secs
REVISION HISTORY:
   Original author(s): Karsten Bolding & Hans Burchard



Karsten Bolding 2012-12-28