Skip to content

Extending Stratospheric Adjustment to GCClassic#2525

Closed
cbarker211 wants to merge 3 commits intogeoschem:mainfrom
cbarker211:feature/sa-gcclassic
Closed

Extending Stratospheric Adjustment to GCClassic#2525
cbarker211 wants to merge 3 commits intogeoschem:mainfrom
cbarker211:feature/sa-gcclassic

Conversation

@cbarker211
Copy link
Copy Markdown

@cbarker211 cbarker211 commented Oct 17, 2024

Name and Institution

Name: Connor Barker, @eamarais
Institution: University College London (UCL)

Describe the update

This update extends the stratospheric adjustment code added by @sdeastham in GCHP (#2010) to GCClassic. The commit here simply modifies the main level script for GCClassic, and allows the dynamical heating rates to be read in via the HEMCO meteorology file. No changes are made to the underlying RRTMG source code beyond what Seb already has added to include stratospheric adjustment. For further details see the original pull request.

To include stratospheric adjustments of temperature relative to the baseline simulation in the radiative fluxes, follow these steps:

  • Run a baseline simulation with no pertubations.

    • Set the following in geoschem_config.yml (rrmtg must be activated):
      • fixed_dyn_heating: true
      • read_dyn_heating: false
      • Activate the DynHeating collection in HISTORY.rc (sample file provided below) - this outputs the dynamical heating rates.
  • Run a pertubation simulation.

    • Create a symbolic link in the run directory called Heating_Baseline to point to the DynHeating output from the baseline simulation:
      • e.g. ln -s /path/to/reference/rundir/OutputDir Heating_Baseline
    • Set the following in geoschem_config.yml (rrmtg must be activated):
      • fixed_dyn_heating: true
      • read_dyn_heating: true
    • Add the following to the HEMCO_Config.rc.gmao_metfields file - this loads the dynamical heating rates:
# --- DynHeating field ---
* DynHeating  ./Heating_Baseline/GEOSChem.DynHeating.$YYYY$MM$DD_$HH00z.nc4 DynHeating 2019/1-12/1-31/0-23 I xyz 1 * - 1 1

HISTORY.txt

As described in #2010, occasionally there will be a warning of "RRTMG FDH routine failed to converge for x of y columns on CPU 0". We find this happens sporadically for our simulations for 1/3312 columns. Failing to converge for >10 columns usually indicates an error somewhere.

The seasonally-evolving fixed dynamical heating approximation has also been extended to GCClassic, but is not yet tested (as stated by Seb in #2010). The fdh_to_toa flag can be added in geoschem_config.yml to extend the stratospheric adjustment calculations to the top of the model.

Expected changes

This code can be tested by simulating a single day with and without an increase of 100 ppmv CO2 (see #2010).

    - 20190701 - 20190702, no spinup, default restart file.
    - 4 simulations:
        - baseline   (co2_ppmv: 390.0, read_dyn_heating: false)
        - without_sa (co2_ppmv: 490.0, read_dyn_heating: false)
        - sa_strat   (co2_ppmv: 490.0, read_dyn_heating: true, fdh_to_toa: false)
        - sa_toa     (co2_ppmv: 490.0, read_dyn_heating: true, fdh_to_toa: true)
    - If successful, you should get the following results.  
        -           Sim  TOA RF / W m-2  Trop CO2 RF / W m-2  TOA RF - Trop RF / W m-2
         0        No SA            0.64                 1.25                     -0.61
         1  SA in strat            1.10                 1.24                     -0.09
         2    SA to TOA            1.16                 1.24                     -0.02
        - The expected changes are an increase in the TOA RF, and a small decrease in the Trop CO2 RF. 

References

@msulprizio
Copy link
Copy Markdown
Contributor

Thanks @cbarker211. I've marked this item as delivered on our Model Development Priorities page.

@msulprizio msulprizio added topic: Aerosols Related to aerosol species and/or microphysics in GEOS-Chem category: Feature Request New feature or request topic: Diagnostics Related to output diagnostic data labels Oct 17, 2024
@cbarker211
Copy link
Copy Markdown
Author

Thanks, just to add this is the update "Strat-adjusted RF in GCC and GCHP", rather than "Fixes to stratospheric aerosol settling".

@msulprizio
Copy link
Copy Markdown
Contributor

Now fixed on the wiki. Thanks for the clarification!

@msulprizio msulprizio removed the topic: Aerosols Related to aerosol species and/or microphysics in GEOS-Chem label Oct 17, 2024
@yantosca yantosca added no-diff-to-benchmark This update will not change the results of fullchem benchmark simulations and removed no-diff-to-benchmark This update will not change the results of fullchem benchmark simulations labels Jan 17, 2025
@yantosca yantosca self-assigned this Jan 17, 2025
@yantosca yantosca self-requested a review January 17, 2025 19:49
Copy link
Copy Markdown
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 @cbarker211 for this update. I had a few comments, see attached. We'd also need a changelog update.

Also tagging @lizziel

Comment thread GeosCore/flexgrid_read_mod.F90
Comment thread Interfaces/GCClassic/main.F90
ENDIF

RC = 0
IF (Allocated(DT_3D)) Deallocate(DT_3D, STAT=RC)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be more efficient to allocate all necessary arrays once in initialization and then to deallocate them at finalaization rather than on every timestep.

@yantosca
Copy link
Copy Markdown
Contributor

Thanks @cbarker211 and @eamarais. I've rebased this code atop GEOS-Chem 14.7.0. I will close this PR. Further work on this will be handled in this PR:

@yantosca yantosca closed this Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: Feature Request New feature or request topic: Diagnostics Related to output diagnostic data

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants