olm.USGS.PhreeqcPandas.phreeqcRunSetPCO2¶
- olm.USGS.PhreeqcPandas.phreeqcRunSetPCO2(logPCO2, phreeqcInputFile, PHREEQC_PATH, DATABASE_FILE, newInputFile=None)[source]¶
Reads a PHREEQC input file, modifies it to a set PCO2 and runs the modified file.
- Parameters:
- phreecInputFilestr
The name of the input file to modify.
- logPCO2float
Log10 of the PCO2 value to set the sample to.
- PHREEQC_PATHstring
The path to the PHREEQC executable.
- DATABASE_FILEstring
The database file to be used by PHREEQC.
- newInputFilestring
The name of the set-PCO2 file to create and run. If not specified, the final 5 characters will be stripped off of phreeqcInputFile and ‘set-PCO2.phrq’ will be added.
- Returns
- ——-
- simulationDictDict
A dictionary that contains the output of readPhreeqcOutput() run on the set PCO2 simulation.