Reproducible computational experiments using SCons |
The main SConstruct commands defined in our reproducible research environment are collected in Table 1.
Fetch(data_file,dir[,ftp_server_info]) |
A rule to download data_file from a specific directory dir of an FTP server ftp_server_info. |
Flow(target[s],source[s],command[s][,stdin][,stdout]) |
A rule to generate target[s] from source[s] using command[s] |
Plot(intermediate_plot[,source],plot_command) or |
Plot(intermediate_plot,intermediate_plots,combination) |
A rule to generate intermediate_plot in the working directory. |
Result(plot[,source],plot_command) or |
Result(plot,intermediate_plots,combination) |
A rule to generate a final plot in the special Fig folder of the working directory. |
End() |
A rule to collect default targets. |
These commands are defined in $RSFROOT/lib/rsfproj.py where RSFROOT is the environmental variable to the Madagascar installation directory. The source of this file is in python/rsfproj.py.
Reproducible computational experiments using SCons |