Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updated soil NOx scheme from Yi Wang et al. (2021) as an option #287

Merged
merged 6 commits into from
Sep 16, 2024

Conversation

msulprizio
Copy link
Contributor

Name and Institution (Required)

Name: Melissa Sulprizio
Institution: Harvard

Describe the update

This is the corresponding pull request for geoschem/geos-chem#1288 and should be merged in alongside geoschem/geos-chem#2430.

Yi Wang (@ywang37) updated the soil NOx algorithm in HEMCO to utilize soil temperature as described in Yi Wang et al. (ERL, 2021).

A new option "UseSoilTemperature" has been added to the soil NOx extension. When this option is activated, the soil temperature field from the external model (TSOIL1) will be passed to the SoilTemp function instead of T2M (the temperature at 2 meters). The algorithm in the SoilTemp function will also use the updated calculation from Yi Wang et al. (2021). By default, this function will be turned off until the full record of TSOIL1 fields can be archived for input.

The error messages in the soil NOx extension have also been updated here to provide more detailed information.

Expected changes

This is a zero-difference change with respect to the full-chemistry benchmark because this updated scheme is off by default. To view the expected changes when the algorithm is used, see geoschem/geos-chem#1288 (comment) in the original Github issue.

Reference(s)

Related Github Issue

…ion from Yi Wang et al. (2021).

A new option "Use soil temperature" has been added to the soil NOx extension.
When this option is activated, the soil temperature field from the external
model (TSOIL1) will be passed to the SoilTemp function instead of T2M (the
temperature at 2 meters). The algorithm in the SoilTemp function will also
use the updated calculation from Yi Wang et al. (2021). By default, this
function will be turned off until the full record of TSOIL1 fields can be
archived for input.

The error messages in the soil NOx extension have also been updated here
to provide more detailed information.

Signed-off-by: Melissa Sulprizio <mpayer@seas.harvard.edu>
Signed-off-by: Melissa Sulprizio <mpayer@seas.harvard.edu>
(1) Remove spaces from from the UseSoilTemperature option so that it can
    be used in HEMCO logical brackets in HEMCO_Config.rc.

(2) Only set ExtState%TSOIL1%DoUse = .TRUE. if UseSoilTemp is true.

Signed-off-by: Melissa Sulprizio <mpayer@seas.harvard.edu>
Signed-off-by: Melissa Sulprizio <mpayer@seas.harvard.edu>
@msulprizio msulprizio added category: Feature Request New feature or request topic: HEMCO Extensions Pertaining to HEMCO extensions no-diff-to-benchmark This update will have no impact on benchmark simulations labels Aug 21, 2024
@msulprizio msulprizio added this to the 3.10.0 milestone Aug 21, 2024
@msulprizio msulprizio self-assigned this Aug 21, 2024
Compile issues in hcox_soilnox_mod.F90 are addressed here, including adding
a missing ENDIF and passing the Inst pointer to function SOILTEMP.

The error messages in subroutine HCOX_SoilNOx_Run have also been updated
here to be more descriptive.

Signed-off-by: Melissa Sulprizio <mpayer@seas.harvard.edu>
…Temp is true

Signed-off-by: Melissa Sulprizio <mpayer@seas.harvard.edu>
@msulprizio msulprizio marked this pull request as ready for review September 6, 2024 12:01
@msulprizio msulprizio requested a review from yantosca September 6, 2024 12:01
Copy link
Contributor

@yantosca yantosca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @msulprizio, this is good to merge. Also thanks for putting in better error messages. :-)

@yantosca
Copy link
Contributor

yantosca commented Sep 6, 2024

After merging locally atop 14.5.0-alpha.10, all GEOS-Chem Classsic integration tests and GCHP integration tests passed.

@yantosca
Copy link
Contributor

==============================================================================
GEOS-Chem Classic: Execution Test Results

CodeDir   : 5e00d7e GEOS-Chem update: Merge PR #2457 (Update Is_Photolysis tags)
GEOS-Chem : 084a8cf8d Merge PR #2462 (Bug fix: ALK6 in HEMCO_Config.rc should be ALK7)
HEMCO     : c6a9d46 Merge PR #287 (Updated Y. Wang soil NOx scheme as an option)
Cloud-J   : 6bf4a36 Merge pull request #26 from geoschem/feature/define_max_rather_than_exact_num_jvalues
HETP      : 2a99b24 Merge pull request #2 from geoschem/bugfix/initialize_local_variables

Using 24 OpenMP threads
Number of execution tests: 30

Submitted as SLURM job: 46770790
==============================================================================

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%  All execution tests passed!  %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@yantosca yantosca merged commit c6a9d46 into dev/3.10.0 Sep 16, 2024
@yantosca yantosca deleted the feature/ywang_soil_nox branch September 16, 2024 19:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
category: Feature Request New feature or request no-diff-to-benchmark This update will have no impact on benchmark simulations topic: HEMCO Extensions Pertaining to HEMCO extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants