Add the following to user_nl_cam
:
&chem_inparm ext_frc_specifier = '$species_name1 -> $path_to_vertically_gridded_emissions, $species_name2 -> $path_to_vertically_gridded_emissions' srf_emis_specifier = '$species_name1 -> $path_to_surface_emissions, $species_name2 -> $path_to_to_surface_emissions' srf_emis_type = 'SERIAL' /
Make sure to add all the emissions you need. The example of default emissions can be found in CaseDocs/atm_in after a default build. Re-building the model will update the emissions to the new definitions. If you want to repeat emissions from one year over variable dynamics use:
&chem_inparm ext_frc_type = 'CYCLICAL' ext_frc_cycle_yr = $YYYY srf_emis_type = 'CYCLICAL' srf_emis_cycle_yr = $YYYY / &chem_surfvals_nl flbc_type = 'CYCLICAL' flbc_cycle_yr = $YYYY /
Another example is in the CAM6 user guide.
Adding vertical emissions
If you want to add vertically distributed emissions (specified in ext_frc_specifier) you must include the species in the chem_mech.in file: in the "Ext Forcing" section near the end of the file.
Follow the instructions for using your own chem_mech.in file: Updating Gas-Phase Chemistry. In summary - copy the CaseDocs/chem_mech.in file from your case to another location, edit it, then use the "-usr_mech_infile" flag to specify your new mechanism file and rebuild.