13.07.2015 Views

LIAM 2 User Guide

LIAM 2 User Guide

LIAM 2 User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>LIAM</strong> 2 <strong>User</strong> <strong>Guide</strong>, Release 0.7.0# if you don’t have any specific option for a file, use "{}"- \\.: {}- ...# OR, if all the files use the global options (the options defined# at the level of the entity):files:- \\.- \\.- ...# if you want to fill missing values for some fields (this only# works when "files" is used).interpolate:: previous_value# if you want to invert the value of some boolean fields# (True -> False and False -> True), add them to the "invert" list# below.invert: [list, of, boolean, fields, to, invert]:...Most elements of this description file are optional. The only required elements are “output” and “entities”. If anelement is not specified, it uses the following default value:• if path is omitted, it defaults to a file named after the entity in the same directory than the description file (ielocal_path\name_of_the_entity.csv).• if the fields section is omitted, all columns of the csv file will be imported and their type will be detectedautomatically.• if compression is omitted, the output will not be compressed.Note that if an “entity section” is entirely empty, you need to use the special code: “{}”.simplest exampleoutput: simplest.h5entities:household: {}person: {}This will try to load all the fields of the household and person entities in “household.csv” and “person.csv” in thesame directory than the description file.simple exampleoutput: simple.h5globals:periodic:path: input\globals.csventities:household:path: input\household.csvperson:path: input\person.csvThis will try to load all the fields of the household and person entities in “household.csv” and “person.csv” in the“input” sub-directory of the directory where the description file is.8.2. description file 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!