MERRA-2 implementation details: Difference between revisions
No edit summary |
No edit summary |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
[[MERRA-2]] is the newest reanalysis meteorological data product from [http://gmao.gsfc.nasa.gov NASA/GMAO]. It is created with the NASA/GMAO GEOS Data Assimilation System (aka GEOS-DAS), [ | [[MERRA-2]] is the newest reanalysis meteorological data product from [http://gmao.gsfc.nasa.gov NASA/GMAO]. It is created with the NASA/GMAO GEOS Data Assimilation System (aka GEOS-DAS), [https://gmao.gsfc.nasa.gov/GMAO_products/NRT_products.php version 5.12.4]. Overall, the structure of MERRA-2 is very similar to the GMAO "forward processing" data product, which we refer to as [[GEOS-FP]]. Therefore, within GEOS-Chem we can (for the most part) treat MERRA-2 in the same way as we do for the GEOS_FP. | ||
For more information about MERRA-2, please see these resources: | For more information about MERRA-2, please see these resources: | ||
Line 7: | Line 7: | ||
*[[MERRA-2|''MERRA-2'' page on the GEOS-Chem wiki]] | *[[MERRA-2|''MERRA-2'' page on the GEOS-Chem wiki]] | ||
*[[List of MERRA-2 met fields|List of MERRA-2 met fields used for GEOS-Chem]] | *[[List of MERRA-2 met fields|List of MERRA-2 met fields used for GEOS-Chem]] | ||
*[ | *[https://gmao.gsfc.nasa.gov/GMAO_products/reanalysis_products.php Version history of GMAO reanalysis products] | ||
=== Comparing MERRA-2 to other GMAO met data products === | === Comparing MERRA-2 to other GMAO met data products === | ||
Line 323: | Line 323: | ||
--[[User:Bmy|Bob Y.]] ([[User talk:Bmy|talk]]) 14:54, 18 August 2015 (UTC) | --[[User:Bmy|Bob Y.]] ([[User talk:Bmy|talk]]) 14:54, 18 August 2015 (UTC) | ||
<span style="color:green">'''''UPDATE: [[GEOS-Chem v11-01]] and newer versions can now be driven by the MERRA-2 reanalysis field data product.'''''</span> | |||
==== Modifications for the nested grid simulations ==== | ==== Modifications for the nested grid simulations ==== | ||
There were several modifications needed to run [[GEOS-Chem_nested_grid_simulations|nested grid simulations]] with MERRA-2. The source code updates for running MERRA-2 on the 0.5x0.625 nested NA and nested CH grids were included in [[GEOS-Chem v11-01 | There were several modifications needed to run [[GEOS-Chem_nested_grid_simulations|nested grid simulations]] with MERRA-2. The source code updates for running MERRA-2 on the 0.5x0.625 nested NA and nested CH grids were included in [[GEOS-Chem v11-01#v11-01e|v11-01e]] (approved 04 Jan 2016). | ||
The nested CH grid for MERRA-2 is defined as 10S to 55N and 60E to 150E. It therefore includes China, Southeast Asia, Japan, and India. In order to make it transparent to users that this domain has been expanded, the nested CH grid has been renamed to the nested AS grid for MERRA-2. This update was included in [[GEOS-Chem v11-01#v11-01h|v11-01h]] (approved 11 Oct 2016). | |||
--[[User:Melissa Payer|Melissa Sulprizio]] ([[User talk:Melissa Payer|talk]]) 17:13, 14 December 2015 (UTC) | --[[User:Melissa Payer|Melissa Sulprizio]] ([[User talk:Melissa Payer|talk]]) 17:13, 14 December 2015 (UTC) | ||
==== | ==== Modifications for the full-chemistry simulations ==== | ||
The various [[GEOS-Chem_chemistry_mechanisms#NOx-Ox-hydrocarbon-aerosol_chemistry_and_variants|"full-chemistry simulations"]] (i.e. those using the benchmark, UCX, SOA, and tropchem chemistry mechanisms) use emissions (e.g. lightning, dust) that have scale factors that must be tuned specifically for each met field product. The [[GEOS-Chem Support Team|GCST]] has computed the dust and lightning scale factors using MERRA-2 met fields for 2009–2014. These updates were included in [[GEOS-Chem v11-01#v11-01f|v11-01f]] (approved 16 Apr 2016). | |||
When the entire MERRA-2 coverage period (1980–present) has been processed, the lightning and dust scale factors for MERRA-2 will be adjusted as needed. | When the entire MERRA-2 coverage period (1980–present) has been processed, the lightning and dust scale factors for MERRA-2 will be adjusted as needed. | ||
Line 346: | Line 350: | ||
to | to | ||
#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | #if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 ) | ||
In other areas of GEOS-Chem the changes are more involved. Below we provide a description of the areas of GEOS-Chem that were modified for MERRA-2: | In other areas of GEOS-Chem the changes are more involved. Below we provide a description of the areas of GEOS-Chem that were modified for MERRA-2: | ||
Line 361: | Line 365: | ||
|Makefile_header.mk | |Makefile_header.mk | ||
| | | | ||
*If <tt>MET=merra2</tt> or <tt>MET=merra-2</tt> (case-insensitive), then activate the <tt> | *If <tt>MET=merra2</tt> or <tt>MET=merra-2</tt> (case-insensitive), then activate the <tt>MERRA2</tt> C-preprocessor switch | ||
**i.e. Add <tt>- | **i.e. Add <tt>-DMERRA2</tt> to the Makefile variable <tt>USER_DEFS</tt>. | ||
*If <tt>GRID=05x0625</tt> is added, then activate the <tt>GRID05x0625</tt> C-preprocessor switch | *If <tt>GRID=05x0625</tt> is added, then activate the <tt>GRID05x0625</tt> C-preprocessor switch | ||
**i.e. Add <tt>-DGRID05x0625</tt> to the Makefile variable <tt>USER_DEFS</tt>. | **i.e. Add <tt>-DGRID05x0625</tt> to the Makefile variable <tt>USER_DEFS</tt>. | ||
Line 384: | Line 388: | ||
|gigc_input_opt_mod.F90 | |gigc_input_opt_mod.F90 | ||
| | | | ||
*Add <tt> | *Add <tt>MERRA2_DIR</tt> to the <tt>OptInput</tt> derived type | ||
*Set <tt>Input_Opt% | *Set <tt>Input_Opt%MERRA2_DIR = './'</tt> in routine <tt>Init_GIGC_Input_Opt</tt> | ||
|-valign="top" | |-valign="top" | ||
|gigc_state_met_mod.F90 | |gigc_state_met_mod.F90 | ||
|Multiple instances: | |Multiple instances: | ||
*Now use: <tt>#if defined( GEOS_FP ) || defined( MERRA ) || defined( | *Now use: <tt>#if defined( GEOS_FP ) || defined( MERRA ) || defined( MERRA2 )</tt> | ||
|} | |} | ||
Line 407: | Line 411: | ||
|bpch2_mod.F | |bpch2_mod.F | ||
|In routine GET_MODELNAME: | |In routine GET_MODELNAME: | ||
*Add <tt> | *Add <tt>MERRA2_47L</tt> and <tt>MERRA2</tt> modelnames to the <tt>#if</tt> block | ||
In routine GET_NAME_EXT: | In routine GET_NAME_EXT: | ||
*Return grid name <tt>merra2</tt> for MERRA-2 fields | *Return grid name <tt>merra2</tt> for MERRA-2 fields | ||
In routine GET_NAME_EXT_2D: | In routine GET_NAME_EXT_2D: | ||
*Now use <tt>#if defined( MERRA ) || defined( | *Now use <tt>#if defined( MERRA ) || defined( MERRA2 ) | ||
In routine GET_RES_EXT: | In routine GET_RES_EXT: | ||
*Return resolution string <tt>05x0625</tt> for 0.5° x 0.625° grids | *Return resolution string <tt>05x0625</tt> for 0.5° x 0.625° grids | ||
Line 431: | Line 435: | ||
|In routine INIT_TRANSFER: | |In routine INIT_TRANSFER: | ||
*Set <tt>L_COPY = 36</tt> for MERRA-2 | *Set <tt>L_COPY = 36</tt> for MERRA-2 | ||
*Changed code to <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
In several routines: | In several routines: | ||
*Changed code to <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|} | |} | ||
Line 450: | Line 454: | ||
|calcrate.F | |calcrate.F | ||
|Multiple instances: | |Multiple instances: | ||
*Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|carbon_mod.F | |carbon_mod.F | ||
|Multiple instances: | |Multiple instances: | ||
*Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|cldice_HbrHOBr_mod.F | |cldice_HbrHOBr_mod.F | ||
|Multiple instances: | |Multiple instances: | ||
*Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|convection_mod.F | |convection_mod.F | ||
|In routine DO_CONVECTION: | |In routine DO_CONVECTION: | ||
*Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
In routine DO_MERRA_CONVECTION: | In routine DO_MERRA_CONVECTION: | ||
*Changed code to <tt>#if defined( GEOS_FP ) || defined( | *Changed code to <tt>#if defined( GEOS_FP ) || defined( MERRA2 )</tt> where we set PFICU and PFLCU | ||
|-valign="top" | |-valign="top" | ||
|dao_mod.F | |dao_mod.F | ||
|In routine COPY_I6_FIELDS: | |In routine COPY_I6_FIELDS: | ||
*Changed code to: <tt>#if defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
In routine INTERP: | In routine INTERP: | ||
*Changed code to: <tt>#if defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|depo_mercury_mod.F | |depo_mercury_mod.F | ||
|In routine ADD_Hg2_SNOWPACK | |In routine ADD_Hg2_SNOWPACK | ||
*Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|dao_mod.F | |dao_mod.F | ||
|In routine COPY_I6_FIELDS: | |In routine COPY_I6_FIELDS: | ||
*Changed code to: <tt>#if defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
In routine INTERP: | In routine INTERP: | ||
*Changed code to: <tt>#if defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|diag3.F | |diag3.F | ||
|Multiple instances: | |Multiple instances: | ||
*Changed code to: <tt>#if defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_FP ) || defined( MERRA2 )</tt>, etc. | ||
|-valign="top" | |-valign="top" | ||
Line 502: | Line 506: | ||
|In routine FAST_JX: | |In routine FAST_JX: | ||
*Do cloud overlapping for GEOS-FP in the same way as for GEOS-5 and MERRA. | *Do cloud overlapping for GEOS-FP in the same way as for GEOS-5 and MERRA. | ||
*Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
Line 517: | Line 521: | ||
|input_mod.F | |input_mod.F | ||
|In routine READ_SIMULATION_MENU: | |In routine READ_SIMULATION_MENU: | ||
*Now read value for <tt>Input_Opt% | *Now read value for <tt>Input_Opt%MERRA2_DIR</tt> from <tt>input.geos</tt> | ||
*Also set <tt>Input_Opt%RES_DIR</tt> accordingly for 0.5° x 0.625° nested grids | *Also set <tt>Input_Opt%RES_DIR</tt> accordingly for 0.5° x 0.625° nested grids | ||
*Set LUNZIP=.FALSE. for MERRA-2 met | *Set LUNZIP=.FALSE. for MERRA-2 met | ||
Line 523: | Line 527: | ||
*Change #if statement to allow non-local PBL mixing for MERRA-2 met data | *Change #if statement to allow non-local PBL mixing for MERRA-2 met data | ||
In routine VALIDATE_DIRECTORIES: | In routine VALIDATE_DIRECTORIES: | ||
*Error check | *Error check MERRA2_DIR for start & end date | ||
|-valign="top" | |-valign="top" | ||
Line 529: | Line 533: | ||
| | | | ||
In routines LAND_MERCURY_FLUX: | In routines LAND_MERCURY_FLUX: | ||
*Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
In routines SOILEMIS: | In routines SOILEMIS: | ||
*Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
*Extend #if statement for variable SOIL_EMIS_FAC to get the code to compile w/o error. | *Extend #if statement for variable SOIL_EMIS_FAC to get the code to compile w/o error. | ||
**<span style="color:red">Team Hg will need to supply an updated value later on.</span> | **<span style="color:red">Team Hg will need to supply an updated value later on.</span> | ||
Line 538: | Line 542: | ||
|main.F | |main.F | ||
|In main.F: | |In main.F: | ||
*Changed code to <tt>if defined( GEOS_FP ) || defined( | *Changed code to <tt>if defined( GEOS_FP ) || defined( MERRA2 )</tt> where we define <tt>N_DYN_STEPS</tt> | ||
*Changed code to <tt>if defined( GEOS_FP ) || defined( | *Changed code to <tt>if defined( GEOS_FP ) || defined( MERRA2 )</tt> where we define <tt>Input_Opt%USE_O3_FROM_MET</tt> | ||
In included routine READ_INITIAL_MET_FIELDS: | In included routine READ_INITIAL_MET_FIELDS: | ||
*Added calls to routines from <tt>merra2_read_mod.F90</tt> | *Added calls to routines from <tt>merra2_read_mod.F90</tt> | ||
Line 551: | Line 555: | ||
**For now use the same value as for the 0.5° x 0.666° grid. | **For now use the same value as for the 0.5° x 0.666° grid. | ||
**<span style="color:red">Team Hg will need to supply an updated value later on.</span> | **<span style="color:red">Team Hg will need to supply an updated value later on.</span> | ||
*Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
*Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
Line 563: | Line 567: | ||
|ocean_mercury_mod.F | |ocean_mercury_mod.F | ||
|Multiple instances: | |Multiple instances: | ||
*Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|planeflight_mod.F | |planeflight_mod.F | ||
|In routine PLANEFLIGHT | |In routine PLANEFLIGHT | ||
*Now use: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( | *Now use: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|strat_chem_mod.F90 | |strat_chem_mod.F90 | ||
|Multiple instances: | |Multiple instances: | ||
*Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
In routine DO_SYNOZ: | In routine DO_SYNOZ: | ||
*Add placeholder values for 0.5° x 0.625° grids | *Add placeholder values for 0.5° x 0.625° grids | ||
Line 580: | Line 584: | ||
|sulfate_mod.F | |sulfate_mod.F | ||
|In routine CHEM_SO2: | |In routine CHEM_SO2: | ||
*Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
In routine INIT_SULFATE: | In routine INIT_SULFATE: | ||
*Changed code to: <tt>#if !defined( GEOS_5 ) && !defined( MERRA ) && !defined( GEOS_FP ) && !defined( | *Changed code to: <tt>#if !defined( GEOS_5 ) && !defined( MERRA ) && !defined( GEOS_FP ) && !defined( MERRA2 )</tt> | ||
In routine SRCSFC30 (TOMAS-only): | In routine SRCSFC30 (TOMAS-only): | ||
*Added a placeholder value for TSCALE for the 0.5° x 0.625° grids | *Added a placeholder value for TSCALE for the 0.5° x 0.625° grids | ||
Line 589: | Line 593: | ||
|tagged_ox_mod.F | |tagged_ox_mod.F | ||
|In routine GET_REGIONAL_POX: | |In routine GET_REGIONAL_POX: | ||
*Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Now use: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|tpcore_bc_mod.F: | |tpcore_bc_mod.F: | ||
|Multiple instances: | |Multiple instances: | ||
*Added MERRA-2 | *Added MERRA-2 values for <tt>I1_BC_CH, I2_BC_CH, J1_BC_CH, J2_BC_CH</tt> | ||
*Added MERRA-2 | *Added MERRA-2 values for <tt>I1_BC_EU, I2_BC_EU, J1_BC_EU, J2_BC_EU</tt> | ||
*Added MERRA-2 | *Added MERRA-2 values for <tt>I1_BC_NA, I2_BC_NA, J1_BC_NA, J2_BC_NA</tt> | ||
|-valign="top" | |-valign="top" | ||
|vdiff_mod.F90 | |vdiff_mod.F90 | ||
|In routine VDIFFDR: | |In routine VDIFFDR: | ||
*Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|wetscav_mod.F | |wetscav_mod.F | ||
|In routine DO_WETDEP: | |In routine DO_WETDEP: | ||
*Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
In routine DO_WASHOUT_ONLY:: | In routine DO_WASHOUT_ONLY:: | ||
*Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
In routine MAKE_QQ: | In routine MAKE_QQ: | ||
*Changed code to: <tt>#defined( GEOS_FP ) || defined( | *Changed code to: <tt>#defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
In routine RAINOUT: | In routine RAINOUT: | ||
*Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|} | |} | ||
Line 636: | Line 640: | ||
|hco_interp_mod.F90 | |hco_interp_mod.F90 | ||
|In routine MODLEV_INTERPOLATE: | |In routine MODLEV_INTERPOLATE: | ||
*Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|} | |} | ||
Line 654: | Line 658: | ||
|hcox_ch4wetland_mod.F90 | |hcox_ch4wetland_mod.F90 | ||
|In routine WETLAND_EMIS: | |In routine WETLAND_EMIS: | ||
*Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
|hcox_dustdead_mod.F | |hcox_dustdead_mod.F | ||
|In routine HCOX_DUSTDEAD_GETTUN: | |In routine HCOX_DUSTDEAD_GETTUN: | ||
*Add | *Add values of <tt>FLX_MSS_FDG_FCT= -999</tt> for the MERRA-2 2° x 2.5° and 4° x 5° grids. | ||
**<span style="color:red">We will add the correct values once we can run simulations with at least a year of met data.</span> | **<span style="color:red">We will add the correct values once we can run simulations with at least a year of met data.</span> | ||
Line 672: | Line 676: | ||
|hcox_megan_mod.F | |hcox_megan_mod.F | ||
|In routine GET_GAMMA_SM: | |In routine GET_GAMMA_SM: | ||
*Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( | *Changed code to: <tt>#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )</tt> | ||
|-valign="top" | |-valign="top" | ||
Line 683: | Line 687: | ||
--[[User:Bmy|Bob Y.]] ([[User talk:Bmy|talk]]) 18:53, 12 August 2015 (UTC) | --[[User:Bmy|Bob Y.]] ([[User talk:Bmy|talk]]) 18:53, 12 August 2015 (UTC) | ||
== Previous issues that are now resolved == | |||
=== Default timestep for MERRA-2 nested grid simulations === | |||
<span style="color:green">'''''The original update was included in [[GEOS-Chem v11-02#v11-02f|v11-02f]] (approved 17 May 2018). The final recommendation was included [[GEOS-Chem 12#12.0.0|GEOS-Chem 12.0.0]].'''''</span> | |||
'''''Bram Maasakkers wrote:''''' | |||
:Melissa Sulprizio and I have been working on the methane simulation with MERRA-2 and the nested North America grid at 0.5x0.625. During our initial simulations, we found very high values in the stratosphere, originating at the edges of the domain and showing a checkerboard-like pattern in the domain. It appears this is caused by a violation of the CFL condition in the stratosphere due to strong stratospheric winds in MERRA-2. When the condition is violated at the boundaries, it leads to an out-of-bounds error but even preventing an out-of-bounds error there by capping the array index doesn’t prevent the high concentrations from originating. It seems that this previously occurred for the GEOS-5 simulation but it did not seem to compromise simulation results significantly. For our purposes of comparing total column measurements of GOSAT to model output, it is a larger problem. We found it also occurs in the full-chem simulation, I’m attaching a plot of column ozone here to illustrate, the high values are only present in the stratospheric layers. | |||
:I think that a variable timestep could be implemented to prevent this from happening. For now, we recommend using a 5/10 transport/chemistry timestep with MERRA-2 nested grid simulations instead of 10/20. | |||
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 16:01, 17 May 2018 (UTC) | |||
'''''Ke Li wrote:''''' | |||
:The default time steps for nested tropchem simulation using MERRA2 are 5 mins for transport and 10 mins for chemistry. It took me about 2 days to run 1 months of simulation at the cost of 24 cpu. Now I change time steps to 10 mins for transport and 20 mins for chemistry, and it costs 1.2 days to run 1 months of simulation at the cost of 24 cpu. The 5/20mins time step for a test simulation over Asia (Tropchem, MERRA-2, 24 CPUs) still costs about two days for one month of simulation. The cost time is estimated from that the test simulation has used 28.5 hours for 17.5 days of simulation, though it hasn’t finished. | |||
'''''Lin Zhang wrote:''''' | |||
:I am fine to use 10/20 mins time step as default which does not seem to affect the tropospheric simulation of air pollutants. We used to run GEOS-5 at 0.5 degree resolution with 10/20 mins, and tropospheric simulations were working well. | |||
:We can also put a stop sign for CH4 and CO2 simulations to warn users changing time steps to 5/10 mins. | |||
'''''Yuxuan Wang wrote:''''' | |||
:I agree with Lin and would also opt for a 10/20 mins time step as the default for full-chemistry nested-grid simulation. The reason is exactly as Daniel said. The nested-grid model users are predominantly using the full-chemistry option and concerns with tropospheric or surface concentration. The specialty nested-grid simulations, such as tagged CO, methane and CO2, used to require a separate development and model tuning, as least during the past before the HEMCO era. As a continuation of that ‘tradition’, the idea of putting a note or stop sign for the CH4 and CO2 nested-grid code should work well. | |||
--[[User:Melissa Payer|Melissa Sulprizio]] ([[User talk:Melissa Payer|talk]]) 12:50, 30 July 2018 (UTC) | |||
== Unresolved issues == | |||
=== PBL height === | |||
'''''[[User:Chris Holmes|Chris Holmes]] wrote:''''' | |||
<blockquote>I’ve documented many cases in which the reported PBLH in MERRA2 does not align with the mixing height that an observer would diagnose from the MERRA2 vertical profiles of potential temperature and humidity. In my group we are diagnosing our own PBL heights for use in GEOS-Chem.</blockquote> | |||
--[[User:Melissa Payer|Melissa Sulprizio]] ([[User talk:Melissa Payer|talk]]) 20:25, 30 May 2017 (UTC) |
Latest revision as of 18:49, 28 May 2020
Overview
MERRA-2 is the newest reanalysis meteorological data product from NASA/GMAO. It is created with the NASA/GMAO GEOS Data Assimilation System (aka GEOS-DAS), version 5.12.4. Overall, the structure of MERRA-2 is very similar to the GMAO "forward processing" data product, which we refer to as GEOS-FP. Therefore, within GEOS-Chem we can (for the most part) treat MERRA-2 in the same way as we do for the GEOS_FP.
For more information about MERRA-2, please see these resources:
- MERRA-2 page on the GEOS-Chem wiki
- List of MERRA-2 met fields used for GEOS-Chem
- Version history of GMAO reanalysis products
Comparing MERRA-2 to other GMAO met data products
The table below compares many features of MERRA-2 with other GMAO met data products:
Feature | MERRA-2 | GEOS-FP | MERRA | GEOS-5 |
---|---|---|---|---|
Native vertical grid |
|
|
|
|
Native horizontal grid |
|
|
|
|
Time-invariant fields |
|
|
|
|
Time archiving: surface fields |
|
|
|
|
Time archiving: 3D fields |
|
|
|
|
Timestamps | ||||
Precipitation fields |
|
|
|
|
Temperature |
|
|
|
|
Relative humidity |
|
|
|
|
Specific humidity |
|
|
|
|
Vertical pressure velocity |
|
|
|
|
Ertel potential vorticity |
|
|
|
|
Snow mass |
|
|
|
|
Sea level pressure |
|
|
|
|
Surface pressure |
|
|
|
|
Tropopause pressure |
|
|
|
|
GEOS-Chem convection routine |
|
|
|
|
GEOS-Chem wet deposition routine |
|
|
|
|
GEOS-Chem transport routine |
|
|
|
|
File format read by GEOS-Chem |
|
|
|
|
--Bob Y. (talk) 16:41, 17 August 2015 (UTC)
Timeline for integration into GEOS-Chem
Initial modifications
As of August 2015, we have we have modified GEOS-Chem (as described below) so that it can be driven by the new NASA/GMAO MERRA-2 reanalysis data product. These source code updates were validated with the 1-month benchmark simulation v11-01c and approved on 14 Sept 2015.
Currently, several of the GEOS-Chem specialty simulations are already compatible with MERRA-2. These include:
- CO2 simulation
- CH4 simulation
- Hg simulation (but some tuning factors for nested grids are still needed)
- POPs simulation
- Rn-Pb-Be simulation
- Tagged O3 simulation
--Bob Y. (talk) 14:54, 18 August 2015 (UTC)
UPDATE: GEOS-Chem v11-01 and newer versions can now be driven by the MERRA-2 reanalysis field data product.
Modifications for the nested grid simulations
There were several modifications needed to run nested grid simulations with MERRA-2. The source code updates for running MERRA-2 on the 0.5x0.625 nested NA and nested CH grids were included in v11-01e (approved 04 Jan 2016).
The nested CH grid for MERRA-2 is defined as 10S to 55N and 60E to 150E. It therefore includes China, Southeast Asia, Japan, and India. In order to make it transparent to users that this domain has been expanded, the nested CH grid has been renamed to the nested AS grid for MERRA-2. This update was included in v11-01h (approved 11 Oct 2016).
--Melissa Sulprizio (talk) 17:13, 14 December 2015 (UTC)
Modifications for the full-chemistry simulations
The various "full-chemistry simulations" (i.e. those using the benchmark, UCX, SOA, and tropchem chemistry mechanisms) use emissions (e.g. lightning, dust) that have scale factors that must be tuned specifically for each met field product. The GCST has computed the dust and lightning scale factors using MERRA-2 met fields for 2009–2014. These updates were included in v11-01f (approved 16 Apr 2016).
When the entire MERRA-2 coverage period (1980–present) has been processed, the lightning and dust scale factors for MERRA-2 will be adjusted as needed.
--Melissa Sulprizio (talk) 21:08, 5 February 2016 (UTC)
Required coding changes in GEOS-Chem
As noted in the section above, the similarities between MERRA-2 and GEOS-FP (especially of the vertical grids) means that in most cases we can just treat MERRA-2 in the same way as for GEOS-FP. In many areas of the code, the coding changes are straightforward and simply involve an extension of C-preprocessor statements such as:
#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP )
to
#if defined( GEOS_5 ) || defined( MERRA ) || defined( GEOS_FP ) || defined( MERRA2 )
In other areas of GEOS-Chem the changes are more involved. Below we provide a description of the areas of GEOS-Chem that were modified for MERRA-2:
Top-level directory
The following modifications for MERRA-2 were made in the root GEOS-Chem directory:
File | Modifications made |
---|---|
Makefile_header.mk |
|
--Bob Y. (talk) 18:28, 12 August 2015 (UTC)
Headers directory
The following modifications for MERRA-2 were made in the Headers/ directory:
File | Modifications made |
---|---|
CMN_SIZE_mod.F |
|
gigc_input_opt_mod.F90 |
|
gigc_state_met_mod.F90 | Multiple instances:
|
--Bob Y. (talk) 18:28, 12 August 2015 (UTC)
GeosUtil directory
The following modifications for MERRA-2 were made in the GeosUtil/ directory:
File | Modifications made |
---|---|
bpch2_mod.F | In routine GET_MODELNAME:
In routine GET_NAME_EXT:
In routine GET_NAME_EXT_2D:
In routine GET_RES_EXT:
|
pressure_mod.F | In routines GET_PEDGE and GET_PEDGE_FULLGRID:
In routine INIT_PRESSURE:
|
time_mod.F | In routine GET_A1_TIME:
|
transfer_mod.F | In routine INIT_TRANSFER:
In several routines:
|
--Bob Y. (talk) 20:33, 12 August 2015 (UTC)
GeosCore directory
The following modifications for MERRA-2 were made in the GeosCore/ directory:
File | Modifications made |
---|---|
calcrate.F | Multiple instances:
|
carbon_mod.F | Multiple instances:
|
cldice_HbrHOBr_mod.F | Multiple instances:
|
convection_mod.F | In routine DO_CONVECTION:
In routine DO_MERRA_CONVECTION:
|
dao_mod.F | In routine COPY_I6_FIELDS:
In routine INTERP:
|
depo_mercury_mod.F | In routine ADD_Hg2_SNOWPACK
|
dao_mod.F | In routine COPY_I6_FIELDS:
In routine INTERP:
|
diag3.F | Multiple instances:
|
dust_dead_mod.F | In routine DST_MBL:
|
fast_jx_mod.F | In routine FAST_JX:
|
gamap_mod.F | In routine INIT_TRACERINFO:
|
global_ch4_mod.F | In routines WETLAND_EMIS and READ_COPROD:
|
input_mod.F | In routine READ_SIMULATION_MENU:
In routine READ_CONVECTION_MENU:
In routine VALIDATE_DIRECTORIES:
|
land_mercury_mod.F |
In routines LAND_MERCURY_FLUX:
In routines SOILEMIS:
|
main.F | In main.F:
In included routine READ_INITIAL_MET_FIELDS:
In included routine READ_MET_FIELDS:
|
mercury_mod.F | In routine CHEMMERCURY:
|
merra2_read_mod.F90 |
|
ocean_mercury_mod.F | Multiple instances:
|
planeflight_mod.F | In routine PLANEFLIGHT
|
strat_chem_mod.F90 | Multiple instances:
In routine DO_SYNOZ:
|
sulfate_mod.F | In routine CHEM_SO2:
In routine INIT_SULFATE:
In routine SRCSFC30 (TOMAS-only):
|
tagged_ox_mod.F | In routine GET_REGIONAL_POX:
|
tpcore_bc_mod.F: | Multiple instances:
|
vdiff_mod.F90 | In routine VDIFFDR:
|
wetscav_mod.F | In routine DO_WETDEP:
In routine DO_WASHOUT_ONLY::
In routine MAKE_QQ:
In routine RAINOUT:
|
--Bob Y. (talk) 18:29, 12 August 2015 (UTC)
HEMCO/Core directory
The following modifications for MERRA-2 were made in the HEMCO/Core directory:
File | Modifications made |
---|---|
hco_chartools_mod.F90 | At the top of the module:
|
hco_interp_mod.F90 | In routine MODLEV_INTERPOLATE:
|
--Bob Y. (talk) 18:28, 12 August 2015 (UTC)
HEMCO/Extensions directory
The following modifications for MERRA-2 were made in the HEMCO/Extensions directory:
File | Modifications made |
---|---|
hcox_ch4wetland_mod.F90 | In routine WETLAND_EMIS:
|
hcox_dustdead_mod.F | In routine HCOX_DUSTDEAD_GETTUN:
|
hcox_lightnox_mod.F | In routine GET_OTD_LIS_SCALE:
|
hcox_megan_mod.F | In routine GET_GAMMA_SM:
|
hcox_tomas_dustdead_mod.F | In routine HCOX_TOMAS_DUSTDEAD_GETTUN:
|
--Bob Y. (talk) 18:53, 12 August 2015 (UTC)
Previous issues that are now resolved
Default timestep for MERRA-2 nested grid simulations
The original update was included in v11-02f (approved 17 May 2018). The final recommendation was included GEOS-Chem 12.0.0.
Bram Maasakkers wrote:
- Melissa Sulprizio and I have been working on the methane simulation with MERRA-2 and the nested North America grid at 0.5x0.625. During our initial simulations, we found very high values in the stratosphere, originating at the edges of the domain and showing a checkerboard-like pattern in the domain. It appears this is caused by a violation of the CFL condition in the stratosphere due to strong stratospheric winds in MERRA-2. When the condition is violated at the boundaries, it leads to an out-of-bounds error but even preventing an out-of-bounds error there by capping the array index doesn’t prevent the high concentrations from originating. It seems that this previously occurred for the GEOS-5 simulation but it did not seem to compromise simulation results significantly. For our purposes of comparing total column measurements of GOSAT to model output, it is a larger problem. We found it also occurs in the full-chem simulation, I’m attaching a plot of column ozone here to illustrate, the high values are only present in the stratospheric layers.
- I think that a variable timestep could be implemented to prevent this from happening. For now, we recommend using a 5/10 transport/chemistry timestep with MERRA-2 nested grid simulations instead of 10/20.
--Bob Yantosca (talk) 16:01, 17 May 2018 (UTC)
Ke Li wrote:
- The default time steps for nested tropchem simulation using MERRA2 are 5 mins for transport and 10 mins for chemistry. It took me about 2 days to run 1 months of simulation at the cost of 24 cpu. Now I change time steps to 10 mins for transport and 20 mins for chemistry, and it costs 1.2 days to run 1 months of simulation at the cost of 24 cpu. The 5/20mins time step for a test simulation over Asia (Tropchem, MERRA-2, 24 CPUs) still costs about two days for one month of simulation. The cost time is estimated from that the test simulation has used 28.5 hours for 17.5 days of simulation, though it hasn’t finished.
Lin Zhang wrote:
- I am fine to use 10/20 mins time step as default which does not seem to affect the tropospheric simulation of air pollutants. We used to run GEOS-5 at 0.5 degree resolution with 10/20 mins, and tropospheric simulations were working well.
- We can also put a stop sign for CH4 and CO2 simulations to warn users changing time steps to 5/10 mins.
Yuxuan Wang wrote:
- I agree with Lin and would also opt for a 10/20 mins time step as the default for full-chemistry nested-grid simulation. The reason is exactly as Daniel said. The nested-grid model users are predominantly using the full-chemistry option and concerns with tropospheric or surface concentration. The specialty nested-grid simulations, such as tagged CO, methane and CO2, used to require a separate development and model tuning, as least during the past before the HEMCO era. As a continuation of that ‘tradition’, the idea of putting a note or stop sign for the CH4 and CO2 nested-grid code should work well.
--Melissa Sulprizio (talk) 12:50, 30 July 2018 (UTC)
Unresolved issues
PBL height
Chris Holmes wrote:
I’ve documented many cases in which the reported PBLH in MERRA2 does not align with the mixing height that an observer would diagnose from the MERRA2 vertical profiles of potential temperature and humidity. In my group we are diagnosing our own PBL heights for use in GEOS-Chem.
--Melissa Sulprizio (talk) 20:25, 30 May 2017 (UTC)