iode.TableCell.variablesο
- property TableCell.variables: List[str]ο
Get the list of variables associated with the LEC expression of a cell of type βLECβ.
- Returns:
- list(str)
Examples
>>> from iode import SAMPLE_DATA_DIR >>> from iode import variables, tables >>> variables.load(f"{SAMPLE_DATA_DIR}/fun.var") Loading .../fun.var 394 objects loaded >>> tables.load(f"{SAMPLE_DATA_DIR}/fun.tbl") Loading .../fun.tbl 46 objects loaded >>> table = tables["ANAKNFF"] >>> table[5] ('"Output gap "', 'knff1*ln (QAFF_/(Q_F+Q_I))') >>> table[5][1].variables ['QAFF_', 'Q_F', 'Q_I']