Difference between revisions of "GEOS-Chem v8-03-02"

From Geos-chem
Jump to: navigation, search
(Overview)
(Fix for EPA/NEI 2005 emissions)
Line 31: Line 31:
  
 
--[[User:Bmy|Bob Y.]] 15:38, 12 July 2010 (EDT)
 
--[[User:Bmy|Bob Y.]] 15:38, 12 July 2010 (EDT)
 +
 +
=== Minor fixes in gamap_mod.f ===
 +
 +
[mailto:psk9@duke.edu Prasad Kasibhatla] reported a bug in <tt>gamap_mod.f</tt> that was caused by the definition of the parameters:
 +
 +
      INTEGER,          PARAMETER  :: MAXDIAG  = 70 
 +
      INTEGER,          PARAMETER  :: MAXTRACER = 120 
 +
 +
The problem is that when the actual number of tracers is increased beyond 120, this results in an array-out-of-bounds error.
 +
 +
The fix is to use the <tt>MAX_DIAG</tt> and <tt>MAX_TRACER</tt> parameters from the <tt>CMN_DIAG</tt> header file to define the <tt>MAXDIAG</tt> and <tt>MAXTRACER</tt> parameters in <tt>gamap_mod.f</tt>, as follows:
 +
 +
      INTEGER,          PARAMETER  :: MAXDIAG  = MAX_DIAG 
 +
      INTEGER,          PARAMETER  :: MAXTRACER = MAX_TRACER 
 +
 +
and also to define <tt>MAX_TRACER</tt> (in the <tt>CMN_DIAG</tt> header file) as follows:
 +
 +
      INTEGER, PARAMETER :: MAX_TRACER = NNPAR+6  ! For non-TOMAS simulations
 +
 +
The <tt>NNPAR+6</tt> is required for compatibility with the ND09 diagnostic.  Therefore, now whenever <tt>NNPAR</tt> is updated, the values of <tt>MAXTRACER</tt> and <tt>MAXDIAG</tt> in <tt>gamap_mod.f</tt> will also be updated.
 +
 +
--[[User:Bmy|Bob Y.]] 14:35, 3 August 2010 (EDT)
  
 
== Outstanding issues not yet resolved in v8-03-02 ==
 
== Outstanding issues not yet resolved in v8-03-02 ==

Revision as of 18:35, 3 August 2010

Overview

PUBLIC RELEASE -- Spring/Summer 2010

Will contain everything in GEOS-Chem v8-03-01, plus:

  1. Terrestrial and deep ocean mercury (N. Smith-Downey, E. Sunderland)
  2. APM aerosol microphysics (F. Yu + SUNY Albany group)
  3. Updated CO2 simulation (R. Nassar)
  4. Liquid water content taken from GEOS-5 met fields (J. Fisher)
  5. Wet scavenging by snow

--Bob Y. 10:12, 13 July 2010 (EDT)

Previous issues now resolved in v8-03-02

Patches from v8-03-01

The following bug fix patches are now standardized in v8-03-02:

--Bob Y. 12:58, 30 June 2010 (EDT)

Fix for EPA/NEI 2005 emissions

Aaron van Donkelaar submitted updated EPA/NEI05 emissions files in order to fix abnormally low VOC emissions. This fix will be standardized in v8-03-02. Please see this wiki page for more information.

--Bob Y. 15:38, 12 July 2010 (EDT)

Minor fixes in gamap_mod.f

Prasad Kasibhatla reported a bug in gamap_mod.f that was caused by the definition of the parameters:

     INTEGER,           PARAMETER   :: MAXDIAG   = 70  
     INTEGER,           PARAMETER   :: MAXTRACER = 120  

The problem is that when the actual number of tracers is increased beyond 120, this results in an array-out-of-bounds error.

The fix is to use the MAX_DIAG and MAX_TRACER parameters from the CMN_DIAG header file to define the MAXDIAG and MAXTRACER parameters in gamap_mod.f, as follows:

     INTEGER,           PARAMETER   :: MAXDIAG   = MAX_DIAG  
     INTEGER,           PARAMETER   :: MAXTRACER = MAX_TRACER  

and also to define MAX_TRACER (in the CMN_DIAG header file) as follows:

     INTEGER, PARAMETER :: MAX_TRACER = NNPAR+6   ! For non-TOMAS simulations 

The NNPAR+6 is required for compatibility with the ND09 diagnostic. Therefore, now whenever NNPAR is updated, the values of MAXTRACER and MAXDIAG in gamap_mod.f will also be updated.

--Bob Y. 14:35, 3 August 2010 (EDT)

Outstanding issues not yet resolved in v8-03-02