Create a GETM NetCDFNetCDF hotstart file (Source File: create_restart_ncdf.F90)

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 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 Bolding
LOCAL VARIABLES:
    character(len=80)         :: history,tts
    character(len=80)         :: title
    character(len=80)         :: str_error



kklingbe 2017-10-02