geoschem / geos-chem

GEOS-Chem "Science Codebase" repository. Contains GEOS-Chem science routines, run directory generation scripts, and interface code. This repository is used as a submodule within the GCClassic and GCHP wrappers, as well as in other modeling contexts (external ESMs).
http://geos-chem.org
Other
168 stars 165 forks source link

How to correctly add tags to custom.equ in KPP and run GEOS-Chem with custom mechanism? #2550

Open LittleFeify opened 1 day ago

LittleFeify commented 1 day ago

Your name

feify

Your affiliation

SUST

Please provide a clear and concise description of your question or discussion topic.

Hello, I am using GEOS-Chem-14.4.3 to track the budget for species such as NO, NO2, etc. I made changes to the custom.equ file and add the PNO, LNO2.. in custom.kpp as shown in the image below. But there are some errors when reading new files. So I'm wondering what the custom.equ file format looks like? Can I add a family including all species I want to track in custom.kpp, then I need to add the PNO to custom.equ again? Is there some more detailed manual or case on how to add tags, please. Thanks a lot.

custom_equ

custom_kpp

yantosca commented 1 day ago

Thanks for writing @LittleFeify. Would you be able to post the log file that shows the specific error that you are getting?

We do have a guide on adding prod/loss families to a mechanism on ReadTheDocs:

yantosca commented 1 day ago

Also the custom.eqn file is the same as the fullchem.eqn file out-of-the-box. We provide the custom.eqn file so that users can modify it without touching the fullchem.eqn file. That way if there is a problem, one can always start over by copying the fullchem.eqn to the custom.eqn.