modstat_nc Module


Uses

  • module~~modstat_nc~~UsesGraph module~modstat_nc modstat_nc module~modmpi modmpi module~modstat_nc->module~modmpi netcdf netcdf module~modstat_nc->netcdf mpi mpi module~modmpi->mpi

Used by

  • module~~modstat_nc~~UsedByGraph module~modstat_nc modstat_nc proc~eb EB proc~eb->module~modstat_nc proc~exitfielddump exitfielddump proc~exitfielddump->module~modstat_nc proc~exitstatsdump exitstatsdump proc~exitstatsdump->module~modstat_nc proc~fielddump fielddump proc~fielddump->module~modstat_nc proc~ibmwallfun ibmwallfun proc~ibmwallfun->module~modstat_nc proc~initeb initEB proc~initeb->module~modstat_nc proc~initfielddump initfielddump proc~initfielddump->module~modstat_nc proc~initibm initibm proc~initibm->module~modstat_nc proc~initstatsdump initstatsdump proc~initstatsdump->module~modstat_nc proc~statsdump statsdump proc~statsdump->module~modstat_nc proc~tkestats tkestats proc~tkestats->module~modstat_nc program~dalesurban DALESURBAN program~dalesurban->module~modstat_nc

Variables

Type Visibility Attributes Name Initial
integer, public, save :: timeID = 0
integer, public, save :: ztID = 0
integer, public, save :: zmID = 0
integer, public, save :: xtID = 0
integer, public, save :: xmID = 0
integer, public, save :: ytID = 0
integer, public, save :: ymID = 0
integer, public, save :: ztsID = 0
integer, public, save :: fctID = 0
integer, public, save :: lyrID = 0
real(kind=4), public :: nc_fillvalue = -999.

Interfaces

public interface writestat_nc

  • public subroutine writestat_time_nc(ncid, nvar, ncname, vars, nrec, lraise)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: ncid
    integer, intent(in) :: nvar
    character(len=*), intent(in), dimension(:,:) :: ncname
    real, intent(in), dimension(nvar) :: vars
    integer, intent(inout) :: nrec
    logical, intent(in) :: lraise
  • public subroutine writestat_1D_nc(ncid, nvar, ncname, vars, nrec, dim1)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: ncid
    integer, intent(in) :: nvar
    character(len=*), intent(in), dimension(:,:) :: ncname
    real, intent(in), dimension(dim1,nvar) :: vars
    integer, intent(in) :: nrec
    integer, intent(in) :: dim1
  • public subroutine writestat_2D_nc(ncid, nvar, ncname, vars, nrec, dim1, dim2)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: ncid
    integer, intent(in) :: nvar
    character(len=*), intent(in), dimension(:,:) :: ncname
    real, intent(in), dimension(:,:,:) :: vars
    integer, intent(in) :: nrec
    integer, intent(in) :: dim1
    integer, intent(in) :: dim2
  • public subroutine writestat_3D_nc(ncid, nvar, ncname, vars, nrec, dim1, dim2, dim3)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: ncid
    integer, intent(in) :: nvar
    character(len=*), intent(in), dimension(:,:) :: ncname
    real, intent(in) :: vars(0:dim1-1,0:dim2-1,0:dim3-1,nvar)
    integer, intent(in) :: nrec
    integer, intent(in) :: dim1
    integer, intent(in) :: dim2
    integer, intent(in) :: dim3
  • public subroutine writestat_3D_short_nc(ncid, nvar, ncname, vars, nrec, dim1, dim2, dim3)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: ncid
    integer, intent(in) :: nvar
    character(len=*), intent(in), dimension(:,:) :: ncname
    integer(kind=selected_int_kind(4)), intent(in), dimension(dim1,dim2,dim3,nvar) :: vars
    integer, intent(in) :: nrec
    integer, intent(in) :: dim1
    integer, intent(in) :: dim2
    integer, intent(in) :: dim3

Subroutines

public subroutine initstat_nc()

Arguments

None

public subroutine open_nc(fname, ncid, nrec, n1, n2, n3, ns, nfcts, nlyrs)

Arguments

Type IntentOptional Attributes Name
character(len=40), intent(in) :: fname
integer, intent(out) :: ncid
integer, intent(out) :: nrec
integer, intent(in), optional :: n1
integer, intent(in), optional :: n2
integer, intent(in), optional :: n3
integer, intent(in), optional :: ns
integer, intent(in), optional :: nfcts
integer, intent(in), optional :: nlyrs

public subroutine define_nc(ncID, nVar, sx)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncID
integer, intent(in) :: nVar
character(len=*), intent(in) :: sx(nVar,4)

public subroutine redefine_nc(ncid)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncid

public subroutine exitstat_nc(ncid)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncid

public subroutine writestat_dims_nc(ncid)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncid

public subroutine writestat_time_nc(ncid, nvar, ncname, vars, nrec, lraise)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncid
integer, intent(in) :: nvar
character(len=*), intent(in), dimension(:,:) :: ncname
real, intent(in), dimension(nvar) :: vars
integer, intent(inout) :: nrec
logical, intent(in) :: lraise

public subroutine writestat_1D_nc(ncid, nvar, ncname, vars, nrec, dim1)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncid
integer, intent(in) :: nvar
character(len=*), intent(in), dimension(:,:) :: ncname
real, intent(in), dimension(dim1,nvar) :: vars
integer, intent(in) :: nrec
integer, intent(in) :: dim1

public subroutine writestat_2D_nc(ncid, nvar, ncname, vars, nrec, dim1, dim2)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncid
integer, intent(in) :: nvar
character(len=*), intent(in), dimension(:,:) :: ncname
real, intent(in), dimension(:,:,:) :: vars
integer, intent(in) :: nrec
integer, intent(in) :: dim1
integer, intent(in) :: dim2

public subroutine writestat_3D_nc(ncid, nvar, ncname, vars, nrec, dim1, dim2, dim3)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncid
integer, intent(in) :: nvar
character(len=*), intent(in), dimension(:,:) :: ncname
real, intent(in) :: vars(0:dim1-1,0:dim2-1,0:dim3-1,nvar)
integer, intent(in) :: nrec
integer, intent(in) :: dim1
integer, intent(in) :: dim2
integer, intent(in) :: dim3

public subroutine writestat_3D_short_nc(ncid, nvar, ncname, vars, nrec, dim1, dim2, dim3)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncid
integer, intent(in) :: nvar
character(len=*), intent(in), dimension(:,:) :: ncname
integer(kind=selected_int_kind(4)), intent(in), dimension(dim1,dim2,dim3,nvar) :: vars
integer, intent(in) :: nrec
integer, intent(in) :: dim1
integer, intent(in) :: dim2
integer, intent(in) :: dim3

public subroutine ncinfo(out, in1, in2, in3, in4)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(out), dimension(4) :: out
character(len=*), intent(in) :: in1
character(len=*), intent(in) :: in2
character(len=*), intent(in) :: in3
character(len=*), intent(in) :: in4

public subroutine nchandle_error(status)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: status