Difference between revisions of "Bugs and fixes"

From Geos-chem
Jump to: navigation, search
(ND05 diagnostic quantities zeroed unexpectedly)
(Issues resolved in GEOS-Chem v9-01-01)
Line 1: Line 1:
 
On this page we list the GEOS-Chem bugs that users have recently encountered, and how to fix them.  
 
On this page we list the GEOS-Chem bugs that users have recently encountered, and how to fix them.  
 +
 +
== Issues resolved in GEOS-Chem v9-01-02 (Pending) ==
 +
 +
*[[GEOS-Chem v9-01-02#Mis-indexing error in partition.f|Corrected mis-indexing error in partition.f caused by the dynamic tropopause]]
 +
*[[GEOS-Chem v9-01-02#Out-of-bounds error in readchem.f|Corrected out-of-bounds error in readchem.f]]
 +
*[[Restart files#Potential issue with reading restart.cspec file|Fix for mis-indexing issue in CSPEC restart file]]
 +
*[[GEOS-Chem v9-01-02#Various bug fixes for the offline Hg simulation|Various bug fixes for the offline Hg simulation]]
 +
*[[GEOS-Chem v9-01-02#Bug fix for leap years with GCAP|Bug fixes for leap years when using GCAP met fields]]
 +
*[[GEOS-Chem v9-01-02#Minor bug fixes for emissions routines affecting offline simulations|Minor bug fixes for emissions routines affecting offline simulations]]
 +
*[[GEOS-Chem v9-01-02#Fixes for minor issues affecting nested-grid simulations|Minor bug fixes for emissions routines affecting offline simulations]]
 +
*[[GEOS-Chem v9-01-02#Bug fixes for compatibility with the PGI compiler|Fixes for better compatibility with the PGI compiler]]
 +
*[[GEOS-Chem v9-01-02#Washout fix for non-aerosol species|Washout fix for non-aerosol species]]
 +
*[[GEOS-Chem v9-01-02#Fix for GEIA emissions scaling factor over Botswana|Fix for GEIA emissions scaling factor over Botswana]]
 +
*[[GEOS-Chem v9-01-02#Fixed minor issues in MERRA cloud convection routine|Fixed minor issues in MERRA cloud convection routine]]
 +
*[[GEOS-Chem_v9-01-02#Fix for vertical regridding of offline OH for offline simulations|Fix for vertical regridding of offline OH for offline simulations]]
 +
*[[GEOS-Chem v9-01-02#Further bug fixes for the offline Hg simulation|Further bug fixes for the offline Hg simulation]]
 +
*[[GEOS-Chem v9-01-02#Further fixes for nested-grid simulations|Further fixes for nested-grid simulations]]
 +
*[[GEOS-Chem v9-01-02#Fix for partitioning chemical species|Fix for partitioning chemical species]]
 +
*[[GEOS-Chem v9-01-02#Bug fixes for biofuel emissions|Bug fixes for biofuel emissions]]
 +
*[[Ship emissions#Potential bug in EDGAR ship emissions code|Fix bug in EDGAR ship emissions code]]
 +
*[[Ship emissions#Bug in ship NOx emissions|Bug fix for ship NOx emissions]]
 +
 +
--[[User:Melissa Payer|Melissa Payer]] 12:08, 21 November 2011 (EST)
  
 
== Issues resolved in GEOS-Chem v9-01-01 ==
 
== Issues resolved in GEOS-Chem v9-01-01 ==
Line 9: Line 32:
 
*[[GEOS-Chem v9-01-01#Starting runs at times other than 00 GMT|Starting runs at times other than 00 GMT]]
 
*[[GEOS-Chem v9-01-01#Starting runs at times other than 00 GMT|Starting runs at times other than 00 GMT]]
 
*[[GEOS-Chem v9-01-01#Fix ND15 for non-local PBL scheme|Fix ND15 for non-local PBL scheme]]
 
*[[GEOS-Chem v9-01-01#Fix ND15 for non-local PBL scheme|Fix ND15 for non-local PBL scheme]]
*[[GEOS-Chem v9-01-01#Fix to prevent div-by-zero in sulfate mod.f|Fix to prevent div-by-zero in sulfate mod.f]]
+
*[[GEOS-Chem v9-01-01#Fix to prevent div-by-zero in sulfate mod.f|Fix to prevent div-by-zero in sulfate_mod.f]]
 
*[[GEOS-Chem v9-01-01#PEDGE-.24 in timeseries diagnostics|PEDGE-$ in timeseries diagnostics]]
 
*[[GEOS-Chem v9-01-01#PEDGE-.24 in timeseries diagnostics|PEDGE-$ in timeseries diagnostics]]
 
*[[GEOS-Chem v9-01-01#Running offline simulations on the GEOS-5 72L grid|Running offline simulations on the GEOS-5 72L grid]]
 
*[[GEOS-Chem v9-01-01#Running offline simulations on the GEOS-5 72L grid|Running offline simulations on the GEOS-5 72L grid]]
*[[GEOS-Chem v9-01-01#Fixes to improve efficiency in vdiff mod.f90|Fixes to improve efficiency in vdiff mod.f90]]
+
*[[GEOS-Chem v9-01-01#Fixes to improve efficiency in vdiff mod.f90|Fixes to improve efficiency in vdiff_mod.f90]]
*[[GEOS-Chem v9-01-01#Typos in megan mod.f|Typos in megan mod.f]]
+
*[[GEOS-Chem v9-01-01#Typos in megan mod.f|Typos in megan_mod.f]]
*[[GEOS-Chem v9-01-01#Typos in edgar mod.f|Typos in edgar mod.f]]
+
*[[GEOS-Chem v9-01-01#Typos in edgar mod.f|Typos in edgar_mod.f]]
  
 
--[[User:Bmy|Bob Y.]] 11:25, 18 February 2011 (EST)
 
--[[User:Bmy|Bob Y.]] 11:25, 18 February 2011 (EST)

Revision as of 17:08, 21 November 2011

On this page we list the GEOS-Chem bugs that users have recently encountered, and how to fix them.

Issues resolved in GEOS-Chem v9-01-02 (Pending)

--Melissa Payer 12:08, 21 November 2011 (EST)

Issues resolved in GEOS-Chem v9-01-01

--Bob Y. 11:25, 18 February 2011 (EST)

Issues resolved in GEOS-Chem v8-03-02

--Bob Y. 16:53, 7 September 2010 (EDT)

Issues resolved in GEOS-Chem v8-03-01

NOTE: GEOS-Chem v8-03-01 refers to the version that was previously noted as GEOS-Chem v8-02-05.

--Bob Y. 15:05, 30 June 2010 (EDT)

Issues resolved in GEOS-Chem v8-02-04

--Bob Y. 16:29, 23 February 2010 (EST)

Issues resolved in GEOS-Chem v8-02-03

--Bob Y. 16:55, 4 February 2010 (EST)

Issues resolved in GEOS-Chem v8-02-02

--Bob Y. 16:40, 11 January 2010 (EST)

Issues resolved in GEOS-Chem v8-02-01

--Bob Y. 09:55, 12 January 2010 (EST)

Issues resolved in GEOS-Chem v8-01-04

--Bob Y. 09:58, 12 January 2010 (EST)

Issues resolved in GEOS-Chem v8-01-03

--Bob Y. 10:29, 12 January 2010 (EST)

Issues resolved in GEOS-Chem v8-01-02

--Bob Y. 10:29, 12 January 2010 (EST)

Issues resolved in GEOS-Chem v8-01-01

--Bob Y. 10:35, 12 January 2010 (EST)

Issues resolved in GEOS-Chem v7-04-13

--Bob Y. 10:49, 12 January 2010 (EST)

Issues resolved in GEOS-Chem v7-04-10

--Bob Y. 10:53, 12 January 2010 (EST)

Other issues

ND05 diagnostic quantities zeroed unexpectedly

Helen McIntyre wrote:

I'm running the new and old versions of GEOS-Chem, and both seem to not output all the ND05 diagnostics correctly. There are 10 prod/loss diagnostics in this category, but only the 5th, 6th and 7th work. All the rest come out as zero.
I've had a brief look though the code, and it seems that the ones that work are calculated in one part of the routine (sulfate_mod.f), and the zero ones in another (I don't know if this has anything to do with it).
I've just done a 1 day run, with GEOS-Chem v8-01-01 at 4x5 resolution using GEOS-5 met fields. The old version I'm using is v7-02-04 and I get the same result.
The 'ctm.bpch', 'geos.log' and 'input.geos' files from the v8-01-01 run can be found here: http://homepages.see.leeds.ac.uk/~lechlm/files/

Claire Carouge replied:

There are some problems in the calculations. For the 5th element of AD05 (in Fortran notations and not IDL), the diagnostic come from the value of L1 which is calculated line 1529 (v8-01-04):
   L1     = ( SO20 - SO2_cd + PSO2_DMS(I,J,L) ) * RK1/RK
But on line 1508, we have:
   RK1 = 0.d0
with the previous comment:
  ! For online runs, SMVGEAR deals w/ this computation,
  ! so we can simply set RK1 = 0 (rjp, bmy, 3/23/03)
So L1 is always 0. I have no idea what RK1 is for, you may have to go into the physics/chemistry behind the code and we are not qualified to help you with it.
The other values for AD05 are calculated in the routine CHEM_DMS and this routine is only called in an offline aerosol simulation (l. 545 in sulfate_mod.f).
So my guess is that the ND05 diagnostic was designed for offline simulations and if you want it for online chemistry, you need to implement it.

Bad GEOS-4 A6 met data causing segmentation fault

Please see this post about bad GEOS-4 A6 met data causing a segmentation fault in GEOS-Chem simulations.

--Bob Y. 15:19, 16 February 2010 (EST)

Too many levels in photolysis code

Please see this discussion about the "Too many levels in photolysis code" error that can sometimes happen in the FAST-J photolysis code.

--Bob Y. 11:05, 12 January 2010 (EST)

Negative tracer in routine WETDEP

See this post: Small negative RH value in in 20060206.a6.2x25 file. This has been corrected in GEOS-Chem v8-01-02 and higher versions.

Also see this post for more information.

--Bob Y. 14:48, 31 March 2011 (EDT)

ISORROPIA and RPMARES

Please see the discussion about the bugs & fixes for ISORROPIA and RPMARES on the Code Developer's Forum for Aerosol thermodynamical equilibrium.

Also, if you are trying to run an aerosol-only simulation, then please see this discussion about a bug that manifested itself only after switching from ISORROPIA to RPMARES.

NOTE: We have switched from RPMARES to ISORROPIA II in GEOS-Chem v8-03-01 and higher versions. This eliminates the problems that ISORROPIA I exhibited at low RH values.

--Bob Y. 14:48, 31 March 2011 (EDT)