Difference between revisions of "Bugs and fixes"

From Geos-chem
Jump to: navigation, search
(Issues resolved in GEOS-Chem v8-02-01)
(Issues resolved in GEOS-Chem v8-01-04)
Line 124: Line 124:
 
== Issues resolved in GEOS-Chem v8-01-04 ==
 
== Issues resolved in GEOS-Chem v8-01-04 ==
  
* [[GEOS-Chem_v8-01-04#Seg fault in GEOS-5 China nested grid simulation|Seg fault in GEOS-5 China nested grid simulation]]
+
#[[GEOS-Chem_v8-01-04#Seg fault in GEOS-5 China nested grid simulation|Seg fault in GEOS-5 China nested grid simulation]]
* [[GEOS-Chem_v8-01-04#Error message in partition.f|Error message in partition.f]]
+
#[[GEOS-Chem_v8-01-04#Error message in partition.f|Error message in partition.f]]
* [[GEOS-Chem_v8-01-04#Erroneous O3 diagnostic (ND45)|Erroneous O3 diagnostic (ND45)]]
+
#[[GEOS-Chem_v8-01-04#Erroneous O3 diagnostic (ND45)|Erroneous O3 diagnostic (ND45)]]
* [[GEOS-Chem_v8-01-04#Post-Release Patches|Post-Release Patches]]
+
#[[GEOS-Chem_v8-01-04#Post-Release Patches|Post-Release Patches]]
  
 
--[[User:Bmy|Bob Y.]] 09:58, 12 January 2010 (EST)
 
--[[User:Bmy|Bob Y.]] 09:58, 12 January 2010 (EST)

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

  1. Standardization of patches from v8-03-02
  2. Bug fix for biofuels in EPA/NEI05
  3. Important bug fixes for ship emissions
  4. Duplicate diagnostics
  5. Starting runs at times other than 00 GMT
  6. Fix ND15 for non-local PBL scheme
  7. Fix to prevent div-by-zero in sulfate_mod.f
  8. PEDGE-$ in timeseries diagnostics
  9. Running offline simulations on the GEOS-5 72L grid
  10. Fixes to improve efficiency in vdiff_mod.f90
  11. Typos in megan_mod.f
  12. Typos in edgar_mod.f

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

Issues resolved in GEOS-Chem v8-03-02

  1. Fix for EPA/NEI 2005 emissions
  2. Minor fixes in gamap_mod.f
  3. Bug fix for ND42 diagnostic and ISORROPIA II
  4. Minor fix for AOD calculation
  5. Avoid using unallocated arrays in edgar_mod.f
  6. Transport fix for GEOS-5 nested grid simulations

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

Issues resolved in GEOS-Chem v8-03-01

  1. Patch to enable call to SOA PARA INIT
  2. Patch to fix declaration of IONIC in ISORROPIA_II
  3. Patch to fix bug in Aromatic SOA
  4. Patch to scale AOD diagnostic output to other wavelengths
  5. Photolysis now computed at midpoint of chemistry timestep
  6. Bug fix in ISORROPIA for offline aerosol
  7. Minor bug fix in SRCSO2
  8. Bug in GET_EMMONOT_MEGAN
  9. Bug in READ_ANTHRO_NH3
  10. Fix for initialization of EMEP ship emissions
  11. Bug fix in AVGPOLE
  12. Bug fix in EMITHIGH (carbon_mod.f)
  13. Fix to prevent numerical overflow in EXP function

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

Issues resolved in GEOS-Chem v8-02-04

  1. Memory issue with KPP
  2. Updated reactions in sulfate_mod.f
  3. Bug fix for EMEP ship emissions
  4. Minor fix for molecular weights in drydep_mod.f
  5. Bug fix in biomass_mod.f
  6. Minor bug fix in gamap_mod.f
  7. Fixes and updates in seasalt_mod.f
  8. Bug fix in emfossil.f for 0.5 x 0.666 nested grid tagged-CO option
  9. Bug fix in DIAG20 (diag_pl_mod.f)
  10. Div-by-zero error encountered in arsl1k.f
  11. Fix for diagnostic arrays in TPCORE
  12. MEGAN now uses MODIS LAI by default

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

Issues resolved in GEOS-Chem v8-02-03

  1. Patch for KPP solver for v8-02-03
  2. Corrected Bond et al BC/OC emissions
  3. Several bug fixes in sulfate_mod.f
  4. Missing NOx data in S.E.-Asia
  5. Mis-calculation of Courant numbers in tpcore_fvdas_mod.f90
  6. Format problem in planeflight_mod.f

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

Issues resolved in GEOS-Chem v8-02-02

  1. EPA/NEI inventory: reset other species to zero
  2. Scale factor for oceanic acetone for GEOS5 2x2.5 was fixed in GEOS-Chem v8-02-02.
  3. Bug with PRIVATE declaration in sulfate_mod.f
  4. Bug with online 2ndary aerosol
  5. Typo in HO2 uptake

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

Issues resolved in GEOS-Chem v8-02-01

  1. Output selected tracers only for dry and wet deposition, convection and rain diagnotics
  2. On-the-fly regridding for 0.5x0.667 nested grids
  3. Bug with EMEP ship emissions for nested grids
  4. Bug in sulfate_mod.f to turn off biomass emissions
  5. Minor error in gamap_mod.f
  6. Bug fix for Streets emissions on 0.5x0.666 nested grid

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

Issues resolved in GEOS-Chem v8-01-04

  1. Seg fault in GEOS-5 China nested grid simulation
  2. Error message in partition.f
  3. Erroneous O3 diagnostic (ND45)
  4. Post-Release Patches

--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)