def wind(file_name, metadata, path='.'): data = read_data(file_name, path) metadata['longitude'] = data.iloc[0, :]['lon'] metadata['longitude'] = data.iloc[0, :]['lat'] modf = adapt_driver(data, 'wind', driver_descriptors, metadata) return modf
def wave(file_name, variable_name, time_column_pos, metadata, path='.'): data = read_data(file_name, variable_name, time_column_pos, path) modf = adapt_driver(data, 'wave', driver_descriptors, metadata) return modf
def river_discharge(file_name, metadata, path='.'): data = read_data(file_name, path) modf = adapt_driver(data, 'river_discharge', driver_descriptors, metadata) return modf
def astronomical_tide(file_name, metadata, path='.'): data = read_data(file_name, path) modf = adapt_driver(data, 'astronomical_tide', driver_descriptors, metadata) return modf
def sea_level_pressure(file_name, metadata, path='.'): (data, units, metadata) = read_data(file_name, metadata, path) modf = adapt_driver(data, 'sea_level_pressure', driver_descriptors, metadata) return modf