--- MITgcm/pkg/dic/dic_surfforcing.F 2006/11/28 21:16:03 1.12 +++ MITgcm/pkg/dic/dic_surfforcing.F 2007/05/07 15:58:20 1.13 @@ -1,4 +1,4 @@ -C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/pkg/dic/dic_surfforcing.F,v 1.12 2006/11/28 21:16:03 stephd Exp $ +C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/pkg/dic/dic_surfforcing.F,v 1.13 2007/05/07 15:58:20 stephd Exp $ C $Name: $ #include "DIC_OPTIONS.h" @@ -63,12 +63,16 @@ kLev=1 +c if coupled to atmsopheric model, use the +c Co2 value passed from the coupler +#ifndef USE_ATMOSCO2 C PRE-INDUSTRIAL STEADY STATE pCO2 = 278.0 ppmv DO j=1-OLy,sNy+OLy DO i=1-OLx,sNx+OLx AtmospCO2(i,j,bi,bj)=278.0d-6 ENDDO ENDDO +#endif C ================================================================= @@ -132,6 +136,12 @@ & + sca4 * theta(i,j,kLev,bi,bj)*theta(i,j,kLev,bi,bj) & *theta(i,j,kLev,bi,bj) +c +#ifdef USE_PLOAD +c convert from Pa to atmos + AtmosP(i,j,bi,bj)=pLoad(i,j,bi,bj)/1.01295e5 +#endif + C Determine surface flux (FDIC) C first correct pCO2at for surface atmos pressure pCO2sat(i,j) =