CABLE_CRU Module


Uses

  • module~~cable_cru~~UsesGraph module~cable_cru CABLE_CRU module~cable_io_vars_module cable_IO_vars_module module~cable_cru->module~cable_io_vars_module module~casa_ncdf_module casa_ncdf_module module~cable_cru->module~casa_ncdf_module netcdf netcdf module~cable_cru->netcdf module~cable_def_types_mod cable_def_types_mod module~cable_io_vars_module->module~cable_def_types_mod module~cable_climate_type_mod cable_climate_type_mod module~cable_def_types_mod->module~cable_climate_type_mod

Used by

  • module~~cable_cru~~UsedByGraph module~cable_cru CABLE_CRU module~cable_driver_common_mod cable_driver_common_mod module~cable_driver_common_mod->module~cable_cru module~cable_mpimaster cable_mpimaster module~cable_mpimaster->module~cable_cru module~cable_serial cable_serial module~cable_serial->module~cable_cru module~cable_serial->module~cable_driver_common_mod proc~mpidrv_master~2 mpidrv_master proc~mpidrv_master~2->module~cable_cru program~cable_offline_driver cable_offline_driver program~cable_offline_driver->module~cable_cru program~cable_offline_driver->module~cable_driver_common_mod program~cable_offline_driver->module~cable_mpimaster program~cable_offline_driver->module~cable_serial module~cable_mpimaster~2 cable_mpimaster module~cable_mpimaster~2->module~cable_driver_common_mod module~cable_mpiworker~2 cable_mpiworker module~cable_mpiworker~2->module~cable_driver_common_mod

Variables

Type Visibility Attributes Name Initial
type(CRU_TYPE), public :: CRU
integer, private, parameter :: rain = 1
integer, private, parameter :: lwdn = 2
integer, private, parameter :: swdn = 3
integer, private, parameter :: pres = 4
integer, private, parameter :: qair = 5
integer, private, parameter :: tmax = 6
integer, private, parameter :: tmin = 7
integer, private, parameter :: uwind = 8
integer, private, parameter :: vwind = 9
integer, private, parameter :: prevTmax = 10
integer, private, parameter :: nextTmin = 11
integer, private :: ErrStatus
real, private, parameter :: SecDay = 86400.
character(len=6), private, parameter, DIMENSION(9) :: PREF = (/"rain  ", "lwdown", "swdown", "press ", "qair  ", "tmax  ", "tmin  ", "uwind ", "vwind "/)

Derived Types

type, public ::  CRU_MET_TYPE

Components

Type Visibility Attributes Name Initial
real, public, DIMENSION(:), ALLOCATABLE :: METVALS

type, public ::  CRU_TYPE

Components

Type Visibility Attributes Name Initial
integer, public :: mland
integer, public :: NMET
integer, public :: xdimsize
integer, public :: ydimsize
integer, public :: tdimsize
integer, public :: CYEAR
integer, public :: MetStart
integer, public :: MetEnd
integer, public :: CTSTEP
integer, public :: DTsecs
integer, public :: ktau
integer, public, DIMENSION(9) :: F_ID
integer, public, DIMENSION(9) :: V_ID
real, public, DIMENSION(:), ALLOCATABLE :: AVG_LWDN
real, public, DIMENSION(:), ALLOCATABLE :: CO2VALS
logical, public :: DirectRead
logical, public :: LeapYears
logical, public, DIMENSION(:,:), ALLOCATABLE :: LandMask
character(len=30), public :: Run
character(len=15), public :: CO2
character(len=15), public :: Ndep
character(len=15), public :: Forcing
character(len=200), public :: BasePath
character(len=200), public :: MetPath
character(len=200), public :: LandMaskFile
character(len=30), public, DIMENSION(9) :: VAR_NAME
character(len=200), public, DIMENSION(9) :: MetFile
type(CRU_MET_TYPE), public, DIMENSION(11) :: MET
real, public, DIMENSION(:), ALLOCATABLE :: NdepVALS
integer, public :: NdepF_ID
integer, public :: NdepV_ID
integer, public :: Ndep_CTSTEP

Subroutines

public subroutine CRU_INIT(CRU)

Arguments

Type IntentOptional Attributes Name
type(CRU_TYPE) :: CRU

public subroutine CRU_GET_FILENAME(CRU, cyear, par, FN)

Arguments

Type IntentOptional Attributes Name
type(CRU_TYPE), intent(inout) :: CRU
integer, intent(in) :: cyear
integer, intent(in) :: par
character(len=200), intent(out) :: FN

public subroutine GET_CRU_CO2(CRU, CO2air)

Arguments

Type IntentOptional Attributes Name
type(CRU_TYPE) :: CRU
real, intent(out) :: CO2air

public subroutine GET_CRU_Ndep(CRU)

Arguments

Type IntentOptional Attributes Name
type(CRU_TYPE), intent(inout) :: CRU

public subroutine OPEN_CRU_MET(CRU)

Arguments

Type IntentOptional Attributes Name
type(CRU_TYPE), intent(inout) :: CRU

public subroutine CRU_GET_DAILY_MET(CRU, LastDayOfYear, LastYearOfMet)

Arguments

Type IntentOptional Attributes Name
type(CRU_TYPE) :: CRU
logical, intent(in) :: LastDayOfYear
logical, intent(in) :: LastYearOfMet

public subroutine CRU_GET_SUBDIURNAL_MET(CRU, MET, CurYear, ktau, kend, LastYearOfMet)

Arguments

Type IntentOptional Attributes Name
type(CRU_TYPE) :: CRU
type(met_type) :: MET
integer, intent(in) :: CurYear
integer, intent(in) :: ktau
integer, intent(in) :: kend
logical, intent(in) :: LastYearOfMet