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
163 stars 154 forks source link

[QUESTION] Could not get species information #1295

Closed ymfu2021 closed 1 year ago

ymfu2021 commented 2 years ago

Ask a question about GEOS-Chem:

I have been using GEOS-Chem updated by Shah(2021), adding new species through KPP. I could't run the GC model successfully. It showed the error "Please add the information to the CASE statement in module Headers/species_database_mod.F90! ", which I already added related codes about my new species in that module as well as in file "input.geos". I don't know why GC could not get species info.

Thanks in advance.

lizziel commented 2 years ago

Hi @ymfu2021, could you provide your updated code and your run log files? You can add .txt to the filename extensions and then drag and drop them into the GitHub comment box. Seeing these files will help us figure what the problem is.

ymfu2021 commented 2 years ago

I have uploaded species_database_mod.F90 and my log file. My modification was about at line 4747, adding 'HGBRIO', 'HGBRI' as well as in 'SELECT CASE 'below. These two files may be useful. Again, thanks for your help.

geos.log species_database_mod.txt

yantosca commented 2 years ago

Thanks for the files @ymfu2021. It looks like your species_database.yml file is missing an entry for HgBrIO. I think if you add that and run again it should work.

ymfu2021 commented 2 years ago

Hi @yantosca. Where should the entry be in this file ? or in other files? I didn't see any entry for other species. Maybe I miss them. Would you please give me some hints

yantosca commented 2 years ago

Sorry for the late reply. The species_database.yml file is in your run directory. It is just a text file in YAML markup format. You can edit it with any text editor.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. If there are no updates within 7 days it will be closed. You can add the "never stale" tag to prevent the Stale bot from closing this issue.

stale[bot] commented 1 year ago

Closing due to inactivity