Module output -- saving the results


INTERFACE:

   module output
DESCRIPTION:

This module acts as an interface between GOTM and modules/routines doing the actual output. In order to add a new output format it is only necessary to add hooks in this module and write the actual output routines. It is not necessary to change anything in GOTM itself.


USES:

   use time, ONLY: write_time_string,julianday,secondsofday,timestep
   use asciiout
 ifdef NETCDF_FMT
   use ncdfout, ONLY:  init_ncdf,do_ncdf_out,close_ncdf
 endif
 
   IMPLICIT NONE
PUBLIC DATA MEMBERS:
   logical                             :: write_results
   integer, public, parameter          :: ascii_unit=50
   integer, public, parameter          :: grads_unit=51
   character(len=19)                   :: ts
   integer                             :: out_fmt
   character(len=PATH_MAX)             :: out_dir
   character(len=PATH_MAX)             :: out_fn
   integer                             :: nsave
   logical                             :: diagnostics
   integer                             :: mld_method
   REALTYPE                            :: diff_k
   REALTYPE                            :: Ri_crit
   logical                             :: rad_corr
   logical                             :: init_diagnostics
REVISION HISTORY:
   Original author(s): Karsten Bolding, Hans Burchard



Subsections

Karsten Bolding 2012-12-28