INTERFACE:
subroutine create_restart_ncdf(fname,loop,runtype)DESCRIPTION:
Creates a new NetCDF formatted file for storing variables necessary to make a correct GETM hotstart. The created file contains dimensions (xax, yax, zax) as well as the (empty) variables. Variables are named corresponding to the names used in the Fortran files. Only the actual domain is stored (i.e. not the halo-zones). This allows easy use of 'ncmerge' to stitch a number of hotstart files together to cover the entire computational domain. See read_restart_ncdf() for use. USES:
use netcdf
use ncdf_restart
use getm_version
use getm_config
use domain, only: ioff,joff
use domain, only: imin,imax,jmin,jmax,kmax
use domain, only: vert_cord
#ifdef GETM_BIO
use bio, only: bio_calc
use bio_var, only: numc
#endif
#ifdef _FABM_
use getm_fabm, only: fabm_calc,model
#endif
IMPLICIT NONE
INPUT PARAMETERS:
character(len=*), intent(in) :: fname
integer, intent(in) :: loop
integer, intent(in) :: runtype
REVISION HISTORY:
Original author(s): Karsten BoldingLOCAL VARIABLES:
character(len=80) :: history,tts
character(len=80) :: str_error