SCALE-RM
Modules | Functions/Subroutines | Variables
scale_calendar.F90 File Reference
#include "scalelib.h"
Include dependency graph for scale_calendar.F90:

Go to the source code of this file.

Modules

module  scale_calendar
 module CALENDAR
 

Functions/Subroutines

subroutine, public scale_calendar::calendar_setup
 Setup. More...
 
subroutine, public scale_calendar::calendar_getdayofyear (DayOfYear, iyear)
 Get day of year. More...
 
subroutine, public scale_calendar::calendar_date2daysec (absday, abssec, ymdhms, subsec, offset_year)
 Convert from gregorian date to absolute day/second. More...
 
subroutine, public scale_calendar::calendar_daysec2date (ymdhms, subsec, absday, abssec, offset_year)
 Convert from gregorian date to absolute day/second. More...
 
subroutine, public scale_calendar::calendar_ymd2absday (absday, gyear, gmonth, gday, oyear)
 Convert from gregorian date to absolute day, DAY 0 is AD1/1/1. More...
 
subroutine, public scale_calendar::calendar_hms2abssec (abssec, hour, minute, second, subsec)
 Hour, minute, second, subsecond -> absolute second. More...
 
subroutine, public scale_calendar::calendar_adjust_daysec (absday, abssec)
 Adjust day and second. More...
 
real(dp) function, public scale_calendar::calendar_combine_daysec (absday, abssec)
 Combine day and second. More...
 
subroutine, public scale_calendar::calendar_unit2sec (second, value, unit)
 Convert several units to second. More...
 
subroutine, public scale_calendar::calendar_sec2unit (value, second, unit)
 Convert several second to specified unit. More...
 
real(dp) function, public scale_calendar::calendar_cfunits2sec (cftime, cfunits, offset_year, startdaysec)
 Convert time in units of the CF convention to second. More...
 
subroutine, public scale_calendar::calendar_date2char (chardate, ymdhms, subsec)
 Convert from gregorian date to absolute day/second. More...
 
subroutine, public scale_calendar::calendar_get_name (name)
 

Variables

integer, parameter, public scale_calendar::i_year = 1
 [index] year More...
 
integer, parameter, public scale_calendar::i_month = 2
 [index] month More...
 
integer, parameter, public scale_calendar::i_day = 3
 [index] day More...
 
integer, parameter, public scale_calendar::i_hour = 4
 [index] hour More...
 
integer, parameter, public scale_calendar::i_min = 5
 [index] minute More...
 
integer, parameter, public scale_calendar::i_sec = 6
 [index] second More...
 
real(dp), public scale_calendar::calendar_doi = 365.0_DP
 days of year More...
 
real(dp), public scale_calendar::calendar_hour = 24.0_DP
 hours of day More...
 
real(dp), public scale_calendar::calendar_min = 60.0_DP
 minutes of hour More...
 
real(dp), public scale_calendar::calendar_sec = 60.0_DP
 seconds of minute More...