-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HEMCO MEGANv2.1 Mono Diagnostics Equal to Zero #139
Comments
Thanks for writing @drnimbusrain. We recently fixed some issues for the manual diagnostics in HEMCO. Can you tell us what commit or tag you are on? Thanks. |
See #121. That fix went into HEMCO 3.2.2 and GEOS-Chem 13.3.3. |
Thank you for your reply. I was simply using the dev branch at: https://github.com/geoschem/HEMCO/tree/dev I thought the changes would be in there. Should I be using the latest release (HEMCOv3.2.2) or recent tag, say https://github.com/geoschem/HEMCO/releases/tag/3.4.0-rc.2 ? Also, I noticed there is now a new branch ("megan extension") updated a few days ago: https://github.com/geoschem/HEMCO/tree/bugfix/megan_extension Any clarification on the best HEMCO branch, tag, or release going forward is much appreciated. Thank you! |
Also, I just pulled down tags for HEMCOv3.2.2 and 3.4.0-rc.2 and using the same configurations as posted above, I still get all zeros for MTPA, MTPO, LIMO, and SESQ with the same zero array warning as previous with the HEMCO dev branch. I also tested out the bugfix/megan_extension branch and get the same result, zero for MTPA, MTPO, LIMO, and SESQ. Maybe I am making a mistake in my configuration for the monoterpenes. Am I missing something here? |
Hi @drnimbusrain, have you tried adding these lines into your I noticed that in the #=============================
# MEGAN Extension
#=============================
InvMEGAN_ALD2 ALD2 108 -1 -1 2 kg/m2/s ALD2_biogenic_emission_flux_from_MEGAN_extension
# C2H4 is not an active species in GEOS-Chem; disable for now
#InvMEGAN_C2H4 C2H4 108 -1 -1 2 kg/m2/s C2H4_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_EOH EOH 108 -1 -1 2 kg/m2/s EOH_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_ISOP ISOP 108 -1 -1 2 kg/m2/s ISOP_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_LIMO LIMO 108 -1 -1 2 kg/m2/s LIMO_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_MTPA MTPA 108 -1 -1 2 kg/m2/s MTPA_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_MTPO MTPO 108 -1 -1 2 kg/m2/s MTPO_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_PRPE PRPE 108 -1 -1 2 kg/m2/s PRPE_biogenic_emission_flux_from_MEGAN_extension
# SESQ is not an active species in GEOS-Chem; disable for now
#InvMEGAN_SESQ SESQ 108 -1 -1 2 kg/m2/s SESQ_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_SOAP SOAP 108 -1 -1 2 kg/m2/s SOAP_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_SOAS SOAS 108 -1 -1 2 kg/m2/s SOAS_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_ACET ACET 108 -1 -1 2 kg/m2/s ACET_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_ACET_MONO -1 108 -1 -1 2 kg/m2/s Acetone_from_monoterpenes_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_ACET_MBOX -1 108 -1 -1 2 kg/m2/s Acetone_from_methyl_butenol_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_ACET_DIRECT -1 108 -1 -1 2 kg/m2/s Direct_acetone_biogenic_emission_flux_from_MEGAN_extension
InvMEGAN_MOH MOH 108 -1 -1 2 kg/m2/s Methanol_emission_flux_from_MEGAN_extension
InvMEGAN_APIN -1 108 -1 -1 2 kg/m2/s Alpha_pinene_emission_flux_from_MEGAN_extension
InvMEGAN_BPIN -1 108 -1 -1 2 kg/m2/s Beta_pinene_acid_emission_flux_from_MEGAN_extension
InvMEGAN_SABI -1 108 -1 -1 2 kg/m2/s Sabinene_emission_flux_from_MEGAN_extension
InvMEGAN_MYRC -1 108 -1 -1 2 kg/m2/s Mycrene_emission_flux_from_MEGAN_extension
InvMEGAN_CARE -1 108 -1 -1 2 kg/m2/s 3_Carene_emission_flux_from_MEGAN_extension
InvMEGAN_OCIM -1 108 -1 -1 2 kg/m2/s Ocimene_emission_flux_from_MEGAN_extension
InvMEGAN_OMON -1 108 -1 -1 2 kg/m2/s Other_monoterpene_emission_flux_from_MEGAN_extension
InvMEGAN_MONX -1 108 -1 -1 2 kg/m2/s Total_monoterpene_emission_flux_from_MEGAN_extension
InvMEGAN_FARN -1 108 -1 -1 2 kg/m2/s alpha_Farnesene_emission_flux_from_MEGAN_extension
InvMEGAN_BCAR -1 108 -1 -1 2 kg/m2/s beta_caryophyllene_emission_flux_from_MEGAN_extension
InvMEGAN_OSQT -1 108 -1 -1 2 kg/m2/s Other_sesquiterpenes_emission_flux_from_MEGAN_extension
InvMEGAN_MBOX -1 108 -1 -1 2 kg/m2/s Methyl_butenol_emission_flux_from_MEGAN_extension
InvMEGAN_FAXX -1 108 -1 -1 2 kg/m2/s Formic_acid_emission_flux_from_MEGAN_extension
InvMEGAN_AAXX -1 108 -1 -1 2 kg/m2/s Acetic_acid_emission_flux_from_MEGAN_extension The EmisXXXX_Biogenic entries should also work as long as the extension number of 108 is used. |
Ah, I think I see the issue. Your species that are zero are using the wrong extension number: ###############################################################################
##### Biogenic VOCs mono emissions #####
###############################################################################
MTPA_MEGAN MTPA 109 -1 -1 2 kgC/m2/s MTPA_emission_flux_from_biogenic_sources
MTPO_MEGAN MTPO 109 -1 -1 2 kgC/m2/s MTPO_emission_flux_from_biogenic_sources
LIMO_MEGAN LIMO 109 -1 -1 2 kgC/m2/s LIMO_emission_flux_from_biogenic_sources
SESQ_MEGAN SESQ 109 -1 -1 2 kgC/m2/s SESQ_emission_flux_from_biogenic_sources Although MEGAN uses an extension number 109 for biogenic VOC's, I believe that is more like an internal switch to turn that option on/off. The actual diagnostics are attached to extension 108 which is the main MEGAN extension. So changing all these to 108 should work. |
Thank you for your suggestion. Using either HEMCOv3.2.2 or HEMCOv3.4.0, as you suggest I change my diagnostics file to be 108 for those monoterpene species as you suggest, but it doesn't change the erroneous result for those species. It still outputs zero for MTPA, MTPO, LIMO, and SESQ, and the same warning in the log files as before: Diagnostic File: Biogenic VOCs mono emissions############################################################################### Log file: Any further help is much appreciated. Thank you. |
Hi @drnimbusrain. Sorry for the delay. I am trying to reproduce this now and will follow up here. |
I think I see the issue. You are using an old version of HEMCO_Config.rc that still includes both the MEGAN and MEGAN_MONO extensions. In GEOS-Chem 12.7.0 and HEMCO 3.0.0, we removed extension 109 MEGAN_MONO and just use extension 108 MEGAN -- see commit 3897f4c. Because of this, SESQ, LIMO, MTPO, and MTPA are not recognized as species in hcox_megan_mod.F90. From your log file:
You should be able to resolve this issue by changing the following lines in your HEMCO_Config.rc:
to:
You'll also need to change the relevant lines in HEMCO_Config.rc and HEMCO_Diagn.rc to remove use of extension number
and
When I do that I now get the following in HEMCO.log:
I can confirm that I also get non-zero diagnostic output for MTPA, MTPO, LIMO, and SESQ. My runs used the current |
Thanks @msulprizio, I didn't realize that MEGAN_MONO had been retired. Thanks for confirming! |
Thank you so much for finding this issue, and letting me know. I also had no idea that MEGAN_MONO was retired, but I should have done more digging. I have made the necessary adjustments and tested, and it now works with nonzero values for the monoterpene species. Thank you again @msulprizio and @yantosca for the great help! |
Thanks so much @drnimbusrain. We can close out this issue now. |
@yantosca @msulprizio
I have also been having some recent issues using the latest develop branch of the standalone HEMCO MEGANv2.1 extension (https://github.com/geoschem/HEMCO/blob/dev/src/Extensions/hcox_megan_mod.F90) and seemingly the diagnostic outputs for monoterpenes, e.g., MTPA, MTPO, LIMO, and SESQ.
In a test run using MERRA2 driving meteorology, all other MEGAN diagnostic variables (e.g., ISOP, ACET, etc.) seem to have good output data for my test run, but the four lumped monoterpene variables are always set to zero for all hours, with the following warnings in the my attached HEMCO log file:
I also attach my HEMCO_sa MEGANv2.1 configuration files for this run.
HEMCO.log
HEMCO_Config.txt
HEMCO_sa_Diagn.txt
HEMCO_sa_Grid.txt
HEMCO_sa_Spec.txt
HEMCO_sa_Time.txt
Originally posted by @drnimbusrain in #91 (comment)
The text was updated successfully, but these errors were encountered: