General Data File Sub-Package

This sub-package is concerned with providing access to General Data Files (GDFs), which are ASCII files stored in the model directories with the .gdf file name suffix. The single KP in this sub-package, op_prg_gdf_read(), reads in the contents of a General Data File (.gdf) or Comma-Separated Value file (.csv) and provides access to it in the form of a list of strings (lists are supported by a special data structure provided by the List sub-package described in the next section). This KP is typically used to read in information such as routing tables, address translation tables, process model configuration assignments, or time-ordered scenarios. These tables can be encoded in any user-defined format, since the parsing of the file contents is performed after the file has been read into a list. However, files organized as tables, with rows of character-separated fields, can be parsed with relative ease using the KP op_prg_str_decomp() (described in String Sub-Package).