# Path: rvic/core/share.py
# TIMEUNITS = 'days since ' + REFERENCE_STRING  # do not change (MUST BE DAYS)!
# 
# SECSPERDAY = HOURSPERDAY * SECSPERHOUR
# 
# MINSPERDAY = HOURSPERDAY * MINSPERHOUR
# 
# HOURSPERDAY = 24.
# 
# TIMESTAMPFORM = '%Y-%m-%d-%H'
# 
# Path: rvic/core/log.py
# LOG_NAME = 'rvic'


import numpy as np
from netCDF4 import num2date, date2num
from datetime import datetime
from dateutil.relativedelta import relativedelta
from .share import TIMEUNITS, SECSPERDAY, MINSPERDAY, HOURSPERDAY, \
    TIMESTAMPFORM
from logging import getLogger
from .log import LOG_NAME
# -*- coding: utf-8 -*-
'''
time_utility.py

time units conventions:
    - Timesteps are in seconds (unit_hydrograph_dt)
    - Time ordinal is in days (time_ord)
'''

# -------------------------------------------------------------------- #
# create logger

# Path: rvic/core/share.py
# TIMEUNITS = 'days since ' + REFERENCE_STRING  # do not change (MUST BE DAYS)!
# 
# SECSPERDAY = HOURSPERDAY * SECSPERHOUR
# 
# MINSPERDAY = HOURSPERDAY * MINSPERHOUR
# 
# HOURSPERDAY = 24.
# 
# TIMESTAMPFORM = '%Y-%m-%d-%H'
# 
# Path: rvic/core/log.py
# LOG_NAME = 'rvic'


# Path: rvic/core/time_utility.py
import numpy as np
from netCDF4 import num2date, date2num
from datetime import datetime
from dateutil.relativedelta import relativedelta
from .share import TIMEUNITS, SECSPERDAY, MINSPERDAY, HOURSPERDAY, \
    TIMESTAMPFORM
from logging import getLogger
from .log import LOG_NAME

# -*- coding: utf-8 -*-
'''
time_utility.py

time units conventions:
    - Timesteps are in seconds (unit_hydrograph_dt)
    - Time ordinal is in days (time_ord)
'''

# -------------------------------------------------------------------- #
# create logger

log = getLogger(LOG_NAME)