# Path: topoflow/framework/time_interpolation.py
# class time_interp_data():
# class time_interpolator():
#     def __init__( self, v1=None, t1=None, long_var_name=None ):
#     def update( self, v2=None, t2=None ):
#     def __init__( self, comp_set, comp_names, vars_provided,
#                   method='Linear' ):
#     def initialize( self ):
#     def update2( self, comp_name ):
#     def update_all( self, time ):
#     def get_values( self, long_var_name, comp_name, time ):
#     def convert_time_units( self, in_time, in_units ):
#         DEBUG = False


import numpy as np
import os
import time
import xml.dom.minidom
import sys    #### for testing
from topoflow.framework import time_interpolation    # (time_interpolator class)
from cfunits import Units
# from topoflow.framework.tests import rti_files   ## (works fine)

## This doesn't work because test_framework.py already imported emeli.py.
# from topoflow.framework.tests import test_framework

  
#-----------------------------------------------------------------------
class comp_data():
    
    def __init__(self, comp_name=None, module_path=None,
                 module_name=None, class_name=None,
                 model_name=None, version=None,
                 language=None, author=None, 
                 help_url=None, cfg_template=None, 
                 time_step_type=None, time_units=None,
                 grid_type=None, description=None,
                 comp_type=None, uses_types=None):
     
        #-------------------------------------        
        # Store static data for a component.
        #-------------------------------------       
        self.comp_name      = comp_name
        self.module_path    = module_path
        self.module_name    = module_name
        self.class_name     = class_name    
        self.model_name     = model_name
        self.version        = version
        self.language       = language
        self.author         = author
        #---------------------------------------       

# Path: topoflow/framework/time_interpolation.py
# class time_interp_data():
# class time_interpolator():
#     def __init__( self, v1=None, t1=None, long_var_name=None ):
#     def update( self, v2=None, t2=None ):
#     def __init__( self, comp_set, comp_names, vars_provided,
#                   method='Linear' ):
#     def initialize( self ):
#     def update2( self, comp_name ):
#     def update_all( self, time ):
#     def get_values( self, long_var_name, comp_name, time ):
#     def convert_time_units( self, in_time, in_units ):
#         DEBUG = False


# Path: topoflow/framework/emeli_with_cfunits.py
import numpy as np
import os
import time
import xml.dom.minidom
import sys    #### for testing
from topoflow.framework import time_interpolation    # (time_interpolator class)
from cfunits import Units

# from topoflow.framework.tests import rti_files   ## (works fine)

## This doesn't work because test_framework.py already imported emeli.py.
# from topoflow.framework.tests import test_framework

  
#-----------------------------------------------------------------------
class comp_data():
    
    def __init__(self, comp_name=None, module_path=None,
                 module_name=None, class_name=None,
                 model_name=None, version=None,
                 language=None, author=None, 
                 help_url=None, cfg_template=None, 
                 time_step_type=None, time_units=None,
                 grid_type=None, description=None,
                 comp_type=None, uses_types=None):
     
        #-------------------------------------        
        # Store static data for a component.
        #-------------------------------------       
        self.comp_name      = comp_name
        self.module_path    = module_path
        self.module_name    = module_name
        self.class_name     = class_name    
        self.model_name     = model_name
        self.version        = version
        self.language       = language
        self.author         = author
        #---------------------------------------       

        self.help_url       = help_url