Difference between revisions of "Bugs and fixes"

From Geos-chem
Jump to: navigation, search
(Issues resolved in GEOS-Chem v9-01-02 (Pending))
(Issues resolved in GEOS-Chem v9-01-02)
Line 3: Line 3:
 
== Issues resolved in GEOS-Chem v9-01-02  ==
 
== Issues resolved in GEOS-Chem v9-01-02  ==
  
*[[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#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]]
+
#[[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]]
+
#[[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#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#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#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#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#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#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#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#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#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 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#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#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]]
+
#[[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#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]]
+
#[[Ship emissions#Bug in ship NOx emissions|Bug fix for ship NOx emissions]]
*[[GEOS-Chem_v9-01-02#Prevent_out-of-bounds_errors_in_ND01_and_ND02_diagnostics_for_Rn-Pb-Be_simulation|Prevent out-of-bounds errors in ND01 and ND02 diagnostics (Rn-Pb-Be simulation)]]
+
#[[GEOS-Chem_v9-01-02#Prevent_out-of-bounds_errors_in_ND01_and_ND02_diagnostics_for_Rn-Pb-Be_simulation|Prevent out-of-bounds errors in ND01 and ND02 diagnostics (Rn-Pb-Be simulation)]]
*[[GEOS-Chem_v9-01-02#Do_not_use_erroneous_MEGAN_AEF_data_for_nested-grid_simulations|Do not use erroneous MEGAN AEF data for nested-grid simulations]]
+
#[[GEOS-Chem_v9-01-02#Do_not_use_erroneous_MEGAN_AEF_data_for_nested-grid_simulations|Do not use erroneous MEGAN AEF data for nested-grid simulations]]
  
 
--[[User:Melissa Payer|Melissa Payer]] 12:08, 21 November 2011 (EST)<br>
 
--[[User:Melissa Payer|Melissa Payer]] 12:08, 21 November 2011 (EST)<br>

Revision as of 17:06, 28 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

  1. Corrected mis-indexing error in partition.f caused by the dynamic tropopause
  2. Corrected out-of-bounds error in readchem.f
  3. Fix for mis-indexing issue in CSPEC restart file
  4. Various bug fixes for the offline Hg simulation
  5. Bug fixes for leap years when using GCAP met fields
  6. Minor bug fixes for emissions routines affecting offline simulations
  7. Minor bug fixes for emissions routines affecting offline simulations
  8. Fixes for better compatibility with the PGI compiler
  9. Washout fix for non-aerosol species
  10. Fix for GEIA emissions scaling factor over Botswana
  11. Fixed minor issues in MERRA cloud convection routine
  12. Fix for vertical regridding of offline OH for offline simulations
  13. Further bug fixes for the offline Hg simulation
  14. Further fixes for nested-grid simulations
  15. Fix for partitioning chemical species
  16. Bug fixes for biofuel emissions
  17. Fix bug in EDGAR ship emissions code
  18. Bug fix for ship NOx emissions
  19. Prevent out-of-bounds errors in ND01 and ND02 diagnostics (Rn-Pb-Be simulation)
  20. Do not use erroneous MEGAN AEF data for nested-grid simulations

--Melissa Payer 12:08, 21 November 2011 (EST)
--Bob Y. 12:05, 28 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)