Resources Loaders
Resources are how data from external files enter the program and are therefore an important concept in CaRMeN. The translation of input data in resources into a format that CaRMeN can interpret is performed by so called resource loaders. There are several kinds of loaders, and therefore also several kinds of resources available in CaRMeN. Resources are grouped into two categories. The first is that of the so called one-to-one resource loaders, which receive and interpret single files (e.g. .csv
files). The second category is that of the so called transforming resource loaders, which receive and interpret tabular data from one or more files (e.g. chemical-model
resources). In order to configure how such a resource imports data resource definitions in the carmen configuration under the resources:
field can be specified.
The parameters that are available to be set depend on the resource loader at hand. This section of the documentation describes these parameters for each currently available resource loader.
Currently, the following one-to-one resource loaders are available:
- JSON-Loader (
json
) - YAML-Loader (
yaml
,yml
) - Comma-Separated-Values-Loader (
csv
) - Fixed-Width-Columns-Loader (
fwc
) - Moldata-Loader (
moldata
) - CHEMKIN-Thermo-Loader (
ckt
) - CHEMKIN-Reactions-Loader (
cki
) - CHEMKIN-Reactions-Loader (
ckr
)
Currently, the following transforming resource loaders are available: