shr_cal_mod Module Reference

Functions/Subroutines

subroutine shr_cal_set (ctype)
subroutine shr_cal_get (ctype)
subroutine shr_cal_eday2date (eday, date)
subroutine shr_cal_eday2ymd (eday, year, month, day)
subroutine shr_cal_date2ymd (date, year, month, day)
subroutine shr_cal_date2eday (date, eday)
subroutine shr_cal_date2julian (date, sec, jday)
subroutine shr_cal_ymd2julian (year, month, day, sec, jday)
subroutine shr_cal_ymd2date (year, month, day, date)
subroutine shr_cal_ymd2eday (year, month, day, eday)
subroutine shr_cal_advDate (delta, units, dateIN, secIN, dateOUT, secOUT, calendar)
subroutine shr_cal_advDateInt (delta, units, dateIN, secIN, dateOUT, secOUT, calendar)
logical shr_cal_validDate (date)
logical shr_cal_validYMD (year, month, day)
logical shr_cal_validHMS (hr, min, sec)
integer shr_cal_numDaysInMonth (year, month)
integer shr_cal_elapsDaysStrtMonth (year, month)
subroutine shr_cal_setDebug (level)
subroutine shr_cal_getDebug (level)

Variables

character(SHR_KIND_CL), save calendar_type
integer(SHR_KIND_IN), parameter shr_cal_nvalidTypes = 3
character(*), paramete shr_cal_validTypes ) = (/, , /)
integer(SHR_KIND_IN), parameter dpy = 365
integer(SHR_KIND_IN),
dimension(12), parameter 
dsm = (/ 0,31,59, 90,120,151, 181,212,243, 273,304,334/)
integer(SHR_KIND_IN),
dimension(12), parameter 
dpm = (/31,28,31, 30, 31, 30, 31, 31, 30, 31, 30, 31/)
integer(SHR_KIND_IN) debug = 0

Function/Subroutine Documentation

subroutine shr_cal_mod::shr_cal_advDate ( real (SHR_KIND_R8),intent(in)  delta,
character(*),intent(in)  units,
integer(SHR_KIND_IN),intent(in)  dateIN,
real (SHR_KIND_R8),intent(in)  secIN,
integer(SHR_KIND_IN),intent(out)  dateOUT,
real (SHR_KIND_R8),intent(out)  secOUT,
character(*),intent(in),optional  calendar 
)

Definition at line 586 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_advDateInt ( integer(SHR_KIND_IN),intent(in)  delta,
character(*),intent(in)  units,
integer(SHR_KIND_IN),intent(in)  dateIN,
integer(SHR_KIND_IN),intent(in)  secIN,
integer(SHR_KIND_IN),intent(out)  dateOUT,
integer(SHR_KIND_IN),intent(out)  secOUT,
character(*),intent(in),optional  calendar 
)

Definition at line 685 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_date2eday ( integer(SHR_KIND_IN),intent(in)  date,
integer(SHR_KIND_IN),intent(out)  eday 
)

Definition at line 350 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_date2julian ( integer(SHR_KIND_IN),intent(in)  date,
integer(SHR_KIND_IN),intent(in)  sec,
real (SHR_KIND_R8),intent(out)  jday 
)

Definition at line 394 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_date2ymd ( integer(SHR_KIND_IN),intent(in)  date,
integer(SHR_KIND_IN),intent(out)  year,
integer(SHR_KIND_IN),intent(out)  month,
integer(SHR_KIND_IN),intent(out)  day 
)

Definition at line 303 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_eday2date ( integer(SHR_KIND_IN),intent(in)  eday,
integer(SHR_KIND_IN),intent(out)  date 
)

Definition at line 198 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_eday2ymd ( integer(SHR_KIND_IN),intent(in)  eday,
integer(SHR_KIND_IN),intent(out)  year,
integer(SHR_KIND_IN),intent(out)  month,
integer(SHR_KIND_IN),intent(out)  day 
)

Definition at line 243 of file shr_cal_mod.F90.

integer shr_cal_mod::shr_cal_elapsDaysStrtMonth ( integer(SHR_KIND_IN),intent(in)  year,
integer(SHR_KIND_IN),intent(in)  month 
)

Definition at line 958 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_get ( character(*),intent(out)  ctype  ) 

Definition at line 167 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_getDebug ( integer,intent(out)  level  ) 

Definition at line 1050 of file shr_cal_mod.F90.

integer shr_cal_mod::shr_cal_numDaysInMonth ( integer(SHR_KIND_IN),intent(in)  year,
integer(SHR_KIND_IN),intent(in)  month 
)

Definition at line 901 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_set ( character(*),intent(in)  ctype  ) 

Definition at line 124 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_setDebug ( integer,intent(in)  level  ) 

Definition at line 1011 of file shr_cal_mod.F90.

logical shr_cal_mod::shr_cal_validDate ( integer(SHR_KIND_IN),intent(in)  date  ) 

Definition at line 784 of file shr_cal_mod.F90.

logical shr_cal_mod::shr_cal_validHMS ( integer(SHR_KIND_IN),intent(in)  hr,
integer(SHR_KIND_IN),intent(in)  min,
integer(SHR_KIND_IN),intent(in)  sec 
)

Definition at line 862 of file shr_cal_mod.F90.

logical shr_cal_mod::shr_cal_validYMD ( integer(SHR_KIND_IN),intent(in)  year,
integer(SHR_KIND_IN),intent(in)  month,
integer(SHR_KIND_IN),intent(in)  day 
)

Definition at line 820 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_ymd2date ( integer(SHR_KIND_IN),intent(in)  year,
integer(SHR_KIND_IN),intent(in)  month,
integer(SHR_KIND_IN),intent(in)  day,
integer(SHR_KIND_IN),intent(out)  date 
)

Definition at line 483 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_ymd2eday ( integer(SHR_KIND_IN),intent(in)  year,
integer(SHR_KIND_IN),intent(in)  month,
integer(SHR_KIND_IN),intent(in)  day,
integer(SHR_KIND_IN),intent(out)  eday 
)

Definition at line 527 of file shr_cal_mod.F90.

subroutine shr_cal_mod::shr_cal_ymd2julian ( integer(SHR_KIND_IN),intent(in)  year,
integer(SHR_KIND_IN),intent(in)  month,
integer(SHR_KIND_IN),intent(in)  day,
integer(SHR_KIND_IN),intent(in)  sec,
real (SHR_KIND_R8),intent(out)  jday 
)

Definition at line 439 of file shr_cal_mod.F90.


Variable Documentation

character(SHR_KIND_CL),save shr_cal_mod::calendar_type

Definition at line 89 of file shr_cal_mod.F90.

integer(SHR_KIND_IN) shr_cal_mod::debug = 0

Definition at line 105 of file shr_cal_mod.F90.

integer(SHR_KIND_IN),dimension(12),parameter shr_cal_mod::dpm = (/31,28,31, 30, 31, 30, 31, 31, 30, 31, 30, 31/)

Definition at line 100 of file shr_cal_mod.F90.

integer(SHR_KIND_IN),parameter shr_cal_mod::dpy = 365

Definition at line 97 of file shr_cal_mod.F90.

integer(SHR_KIND_IN),dimension(12),parameter shr_cal_mod::dsm = (/ 0,31,59, 90,120,151, 181,212,243, 273,304,334/)

Definition at line 98 of file shr_cal_mod.F90.

integer(SHR_KIND_IN),parameter shr_cal_mod::shr_cal_nvalidTypes = 3

Definition at line 90 of file shr_cal_mod.F90.

character(*),paramete shr_cal_mod::shr_cal_validTypes) = (/, , /)

Definition at line 91 of file shr_cal_mod.F90.

 All Classes Namespaces Files Functions Variables Defines

Generated on Wed Jun 23 12:04:56 2010 for CESM_Driver by  doxygen 1.6.1