69 |
C PRE-INDUSTRIAL STEADY STATE pCO2 = 278.0 ppmv |
C PRE-INDUSTRIAL STEADY STATE pCO2 = 278.0 ppmv |
70 |
DO j=1-OLy,sNy+OLy |
DO j=1-OLy,sNy+OLy |
71 |
DO i=1-OLx,sNx+OLx |
DO i=1-OLx,sNx+OLx |
72 |
AtmospCO2(i,j,bi,bj)=278.0d-6 |
AtmospCO2(i,j,bi,bj)=278.0 _d -6 |
73 |
ENDDO |
ENDDO |
74 |
ENDDO |
ENDDO |
75 |
#endif |
#endif |
87 |
surfphos(i,j) = PTR_PO4(i,j,klev) |
surfphos(i,j) = PTR_PO4(i,j,klev) |
88 |
& * maskC(i,j,kLev,bi,bj) |
& * maskC(i,j,kLev,bi,bj) |
89 |
#else |
#else |
90 |
surfalk(i,j) = 2.366595 * salt(i,j,kLev,bi,bj)/gsm_s |
surfalk(i,j) = 2.366595 _d 0 * salt(i,j,kLev,bi,bj)/gsm_s |
91 |
& * maskC(i,j,kLev,bi,bj) |
& * maskC(i,j,kLev,bi,bj) |
92 |
surfphos(i,j) = 5.1225e-4 * maskC(i,j,kLev,bi,bj) |
surfphos(i,j) = 5.1225 _d -4 * maskC(i,j,kLev,bi,bj) |
93 |
#endif |
#endif |
94 |
C FOR NON-INTERACTIVE Si |
C FOR NON-INTERACTIVE Si |
95 |
surfsi(i,j) = SILICA(i,j,bi,bj) * maskC(i,j,kLev,bi,bj) |
surfsi(i,j) = SILICA(i,j,bi,bj) * maskC(i,j,kLev,bi,bj) |
143 |
C Note: it is assumed the reference atmospheric pressure is 1Atm=1013mb |
C Note: it is assumed the reference atmospheric pressure is 1Atm=1013mb |
144 |
C rather than the actual ref. pressure from Atm. model so that on |
C rather than the actual ref. pressure from Atm. model so that on |
145 |
C average AtmosP is about 1 Atm. |
C average AtmosP is about 1 Atm. |
146 |
AtmosP(i,j,bi,bj)= 1. _d 0 + pLoad(i,j,bi,bj)/Pa2Atm |
AtmosP(i,j,bi,bj)= 1. _d 0 + pLoad(i,j,bi,bj)/Pa2Atm |
147 |
#endif |
#endif |
148 |
|
|
149 |
C Determine surface flux (FDIC) |
C Determine surface flux (FDIC) |
152 |
& AtmosP(i,j,bi,bj)*AtmospCO2(i,j,bi,bj) |
& AtmosP(i,j,bi,bj)*AtmospCO2(i,j,bi,bj) |
153 |
c find exchange coefficient |
c find exchange coefficient |
154 |
c account for schmidt number and and varible piston velocity |
c account for schmidt number and and varible piston velocity |
155 |
pisvel(i,j,bi,bj) =0.337*wind(i,j,bi,bj)**2/3.6d5 |
pisvel(i,j,bi,bj)=0.337 _d 0 *wind(i,j,bi,bj)**2/3.6 _d 5 |
156 |
Kwexch(i,j) = |
Kwexch(i,j) = |
157 |
& pisvel(i,j,bi,bj) |
& pisvel(i,j,bi,bj) |
158 |
& / sqrt(SchmidtNoDIC(i,j)/660.0) |
& / sqrt(SchmidtNoDIC(i,j)/660.0 _d 0) |
159 |
c OR use a constant coeff |
c OR use a constant coeff |
160 |
c Kwexch(i,j) = 5e-5 |
c Kwexch(i,j) = 5e-5 |
161 |
c ice influence |
c ice influence |
162 |
Kwexch(i,j) =(1.d0-Fice(i,j,bi,bj))*Kwexch(i,j) |
Kwexch(i,j) =(1. _d 0 - FIce(i,j,bi,bj))*Kwexch(i,j) |
163 |
|
|
164 |
|
|
165 |
C Calculate flux in terms of DIC units using K0, solubility |
C Calculate flux in terms of DIC units using K0, solubility |
172 |
& ff(i,j,bi,bj)*pCO2(i,j,bi,bj) |
& ff(i,j,bi,bj)*pCO2(i,j,bi,bj) |
173 |
& ) |
& ) |
174 |
ELSE |
ELSE |
175 |
FluxCO2(i,j,bi,bj) = 0. |
FluxCO2(i,j,bi,bj) = 0. _d 0 |
176 |
ENDIF |
ENDIF |
177 |
C convert flux (mol kg-1 m s-1) to (mol m-2 s-1) |
C convert flux (mol kg-1 m s-1) to (mol m-2 s-1) |
178 |
FluxCO2(i,j,bi,bj) = FluxCO2(i,j,bi,bj)/permil |
FluxCO2(i,j,bi,bj) = FluxCO2(i,j,bi,bj)/permil |