def parse(basePythonCodePath, sourceFilePath, particleDataHdlrObj):

    config.add_configuration(os.path.join(basePythonCodePath, 'res', 'config', 'mi-logging.yml'))

    parser_config = {
        DataSetDriverConfigKeys.PARTICLE_MODULE:  'mi.dataset.parser.adcpa_m_glider',
        DataSetDriverConfigKeys.PARTICLE_CLASS: 'AdcpaMGliderRecoveredParticle',
    }

    driver = AdcpaDriver(sourceFilePath, particleDataHdlrObj, parser_config)

    return driver.process()
def parse(basePythonCodePath, sourceFilePath, particleDataHdlrObj):

    config.add_configuration(os.path.join(basePythonCodePath, "res", "config", "mi-logging.yml"))

    parser_config = {
        DataSetDriverConfigKeys.PARTICLE_MODULE: "mi.dataset.parser.adcpa_m_glider",
        DataSetDriverConfigKeys.PARTICLE_CLASS: "AdcpaMGliderInstrumentParticle",
    }

    driver = AdcpaDriver(sourceFilePath, particleDataHdlrObj, parser_config)

    return driver.process()
def parse(unused, source_file_path, particle_data_handler):
    parser_config = {
        DataSetDriverConfigKeys.PARTICLE_CLASSES_DICT: {
            'velocity': 'VelocityGlider',
            'engineering': 'GliderEngineering',
            'config': 'GliderConfig',
            'bottom_track': 'EarthBottom',
            'bottom_track_config': 'BottomConfig',
        }
    }

    driver = AdcpaDriver(source_file_path, particle_data_handler, parser_config)

    return driver.process()
Exemple #4
0
def parse(unused, source_file_path, particle_data_handler):
    parser_config = {
        DataSetDriverConfigKeys.PARTICLE_CLASSES_DICT: {
            'velocity': 'VelocityGlider',
            'engineering': 'GliderEngineering',
            'config': 'GliderConfig',
            'bottom_track': 'EarthBottom',
            'bottom_track_config': 'BottomConfig',
        }
    }

    driver = AdcpaDriver(source_file_path, particle_data_handler,
                         parser_config)

    return driver.process()
def parse(basePythonCodePath, sourceFilePath, particleDataHdlrObj):

    config.add_configuration(
        os.path.join(basePythonCodePath, 'res', 'config', 'mi-logging.yml'))

    parser_config = {
        DataSetDriverConfigKeys.PARTICLE_MODULE:
        'mi.dataset.parser.adcpa_m_glider',
        DataSetDriverConfigKeys.PARTICLE_CLASS:
        'AdcpaMGliderRecoveredParticle',
    }

    driver = AdcpaDriver(sourceFilePath, particleDataHdlrObj, parser_config)

    return driver.process()
def parse(basePythonCodePath, sourceFilePath, particleDataHdlrObj):

    config.add_configuration(os.path.join(basePythonCodePath, 'res', 'config', 'mi-logging.yml'))

    parser_config = {
        DataSetDriverConfigKeys.PARTICLE_CLASSES_DICT: {
            'velocity': 'VelocityGlider',
            'engineering': 'GliderEngineering',
            'config': 'GliderConfig',
            'bottom_track': 'EarthBottom',
            'bottom_track_config': 'BottomConfig',
        }
    }

    driver = AdcpaDriver(sourceFilePath, particleDataHdlrObj, parser_config)

    return driver.process()