Data in the Source Repository
Some questions occurred about committing data to the MATSim project. To clarify what kind of data is allowed to commit and where to put it, here a short guideline:
-
Only commit source files in
src
and its subdirectories. Do not commit any data files undersrc
! -
If you need to use data during the development and you want to keep that data on a save place, please use internal storages of you institution (e.g. internal SVN/Git repositories, internal shared folders, etc.)
-
When you write JUnit test cases under
test/src
, you are allowed to add required data totest/input
ortest/scenario
. Then please follow the following constraints:-
Use—if possible—already existing scenario data sets in
test/scenario
. -
Add only small data sets (some KBytes to max. 2 MBytes) to
test/input
ortest/scenario
. Note that bigger files may be compressed with gzip since MATSim supports reading and writing gzipped files withorg.matsim.utils.io.IOUtils.getBufferedReader()
andIOUtils.getBufferedWriter()
respectively. -
Use artificial or falsified data in test cases and put them under
test/input
ortest/scenario
.
-