#! /usr/bin/env python
import sys
import subprocess


class BmiIlamb(object):
    _command = 'run_ilamb'
    _args = None
    _env = None

    def __init__(self):
        self._time = self.get_start_time()

    @property
    def args(self):
        return [self._command] + (self._args or [])

    def get_component_name(self):
        return 'ILAMB'

    def initialize(self, filename):
        self._args = [filename or 'ILAMB_PARA_SETUP']

    def update(self):
        subprocess.check_call(self.args, shell=False, env=self._env)
        self._time = self.get_end_time()

    def update_until(self, time):
        self.update(time)

    def finalize(self):
        pass

    def get_input_var_names(self):
        return ()

    def get_output_var_names(self):
        return ()

    def get_start_time(self):
        return 0.0

    def get_end_time(self):
        return 1.0

    def get_current_time(self):
        return self._time

#! /usr/bin/env python
import sys
import subprocess


class BmiIlamb(object):
    _command = 'run_ilamb.sh'
    _args = None
    _env = None

    def __init__(self):
        self._time = self.get_start_time()

    @property
    def args(self):
        return [self._command] + (self._args or [])

    def get_component_name(self):
        return 'ILAMB'

    def initialize(self, filename):
        self._args = [filename or 'ILAMB_PARA_SETUP']

    def update(self):
        subprocess.check_call(self.args, shell=False, env=self._env)
        self._time = self.get_end_time()

    def update_until(self, time):
        self.update(time)

    def finalize(self):
        pass

    def get_input_var_names(self):
        return ()

    def get_output_var_names(self):
        return ()

    def get_start_time(self):
        return 0.0

    def get_end_time(self):
        return 1.0

    def get_current_time(self):
        return self._time

Use the correct name for the run script
Use the correct name for the run script

It may be time to go home.
