Generic interfaces to write fields to netcdf filesUSES:
use shr_kind_mod , only : r8 => shr_kind_r8
#ifdef SPMD
use spmdMod , only : masterproc, mpicom, MPI_REAL8, MPI_INTEGER, &
MPI_LOGICAL
#else
use spmdMod , only : masterproc
#endif
use clmtype
use clm_varcon , only : spval
use shr_sys_mod , only : shr_sys_flush
use abortutils , only : endrun
#if ( defined SCAM )
use scamMod, only :initlonidx,initlatidx
#endif
PUBLIC TYPES:
implicit none include 'netcdf.inc' save public :: check_ret ! checks return status of netcdf calls public :: check_var ! determine if variable is on netcdf file public :: check_dim ! validity check on dimensionREVISION HISTORY: