====== Load Lookup Table ====== ===== Description ===== This functor loads a lookup table from a file. The file name and its path must be specified. ===== Inputs ===== ^ Name ^ Type ^ Description ^ | Filename | [[Lookup Table Filename Type]] | Name of the file that contains the lookup table to be loaded. Dinamica automatically determines the file format from a selected file extension (only two column CSV - comma separated value format, is accepted). | ===== Optional Inputs ===== ^ Name ^ Type ^ Description ^ Default Value ^ | Suffix Digits | [[Non Negative Integer Value Type]] | Number of digits used to represent the file name suffix. | 0 | | step | [[Non Negative Integer Value Type]] | Current step or model iteration. Files with the same name and numbered suffixes will be loaded sequentially according to the model step. | None | | Workdir | [[Workdir Type]] | Workdir folder path. | None | ===== Outputs ===== ^ Name ^ Type ^ Description ^ | Table | [[Lookup Table Type]] | The Lookup table loaded by the functor. | ===== Group ===== [[Functor List#Input/Output | Input/Output]] ===== Notes ===== It is possible to load lookup tables from [[wp>zip_(file_format)|Zip]] archives. See [[useful_tips#loading_files_from_zip_files|this useful tip]] to know how to do it. ===== Internal Name ===== LoadLookupTable