Code to accompany manuscript on carbon type analysis. Submitted to Atmospheric Chemistry and Physics as
Takahama, S. and Ruggeri, G.: Technical Note: Relating functional group measurements to carbon types for improved model–measurement comparisons of organic aerosol composition, Atmos. Chem. Phys., 17, 4433–4450, doi:10.5194/acp-17-4433-2017, 2017.
This software is distributed under the GNU Public License (GPLv3).
- build_ssp.sh
- build_attributes.sh
- production_chain.sh
These scripts can be run individually through the sh shell:
$ sh scriptname.sh
- The directory containing this file (README.md) is the working directory.
options(stringsAsFactors=FALSE)
should be the default behavior in R and is specified at the beginning of each script.- config_IO.R facilitates I/O across files
- config_fig.R facilitates figure configuration across files
Files not generated by scripts:
- inputs/apinene_formatted.csv (from MCM-KPP-GP simulation)
- inputs/apinene_aer_formatted.csv (from MCM-KPP-GP simulation)
- inputs/example_1.json (manually generated)
- inputs/meas_FGs.json (manually generated)
- inputs/Sax2005_Table2_APIN.csv (manually generated)
- inputs/mcm_apinene_mass.txt (generated from MCM web)
Directories:
- lib/: code library for reused functions
- data-raw/: original data
- data/: populated with build_ssp.sh
- outputs/: output of analysis_*, export_*, production_*, figures_*
Scripts:
- build_*: data prep (for constructing master tables). read/write to directory data/
- analysis_*: analysis. write to directory outputs/
- select_*: selection of example
- config_*: configurations
- figures_*: production figures
- rev_*: additional analyses which considers combined set of molecules from APIN and TMB mechanisms