# Path: rvic/core/pycompat.py
# def iteritems(d):
# def itervalues(d):
# def iteritems(d):
# def itervalues(d):


import sys
import socket
import string
import time as time_mod
from .pycompat import OrderedDict, iteritems
from netCDF4 import default_fillvals
from getpass import getuser
                from rvic import version
                 2: ['gregorian', 'standard'],
                 3: ['proleptic_gregorian'],
                 4: ['all_leap', '366_day'],
                 5: ['360_day'],
                 6: ['julian']}

VALID_CHARS = '-_. %s%s' % (string.ascii_letters, string.digits)


# ----------------------- NETCDF VARIABLES --------------------------------- #
class NcGlobals(object):
    def __init__(self,
                 title=None,
                 casename=None,
                 casestr=None,
                 history='Created: {}'.format(time_mod.ctime(time_mod.time())),
                 institution='University of Washington',
                 source=sys.argv[0],
                 references='Based on the initial model of Lohmann, et al., '
                            '1996, Tellus, 48(A), 708-721',
                 comment='Output from the RVIC Streamflow Routing Model.',
                 Conventions='CF-1.6',
                 RvicPourPointsFile=None,
                 RvicFdrFile=None,
                 RvicUHFile=None,
                 RvicDomainFile=None,
                 version=None,
                 hostname=None,
                 username=None):


# Path: rvic/core/pycompat.py
# def iteritems(d):
# def itervalues(d):
# def iteritems(d):
# def itervalues(d):


# Path: rvic/core/share.py
import sys
import socket
import string
import time as time_mod
from .pycompat import OrderedDict, iteritems
from netCDF4 import default_fillvals
from getpass import getuser
                from rvic import version

                 2: ['gregorian', 'standard'],
                 3: ['proleptic_gregorian'],
                 4: ['all_leap', '366_day'],
                 5: ['360_day'],
                 6: ['julian']}

VALID_CHARS = '-_. %s%s' % (string.ascii_letters, string.digits)


# ----------------------- NETCDF VARIABLES --------------------------------- #
class NcGlobals(object):
    def __init__(self,
                 title=None,
                 casename=None,
                 casestr=None,
                 history='Created: {}'.format(time_mod.ctime(time_mod.time())),
                 institution='University of Washington',
                 source=sys.argv[0],
                 references='Based on the initial model of Lohmann, et al., '
                            '1996, Tellus, 48(A), 708-721',
                 comment='Output from the RVIC Streamflow Routing Model.',
                 Conventions='CF-1.6',
                 RvicPourPointsFile=None,
                 RvicFdrFile=None,
                 RvicUHFile=None,
                 RvicDomainFile=None,
                 version=None,
                 hostname=None,
                 username=None):


        self.atts = OrderedDict()