!-------------------------------------- LICENCE BEGIN ------------------------------------ !Environment Canada - Atmospheric Science and Technology License/Disclaimer, ! version 3; Last Modified: May 7, 2008. !This is free but copyrighted software; you can use/redistribute/modify it under the terms !of the Environment Canada - Atmospheric Science and Technology License/Disclaimer !version 3 or (at your option) any later version that should be found at: !http://collaboration.cmc.ec.gc.ca/science/rpn.comm/license.html ! !This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; !without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. !See the above mentioned License/Disclaimer for more details. !You should have received a copy of the License/Disclaimer along with this software; !if not, you can write to: EC-RPN COMM Group, 2121 TransCanada, suite 500, Dorval (Quebec), !CANADA, H9P 1J3; or send e-mail to service.rpn@ec.gc.ca !-------------------------------------- LICENCE END -------------------------------------- ***S/P INISOILI *SUBROUTINE INISOILI( f, fsiz, ni ) 1 * * #include "impnone.cdk"
* * INTEGER ni, fsiz REAL f(fsiz) * * *Author * Stephane Belair (February 1999) * * *Revision * 001 S. Belair (Feb 2000) * Calculations for sand and clay are done outside the * subroutine (in INISURF) * Use the bus "f" * 002 B. Bilodeau (Nov 2000) - New comdeck phybus.cdk * * *Object * Initialize the soil properties from the sand and clay * fraction for 5 layers of the soil * * *Arguments * * - Input/Output - * F permanent bus * * - Input - * NI longueur d'une tranche horizontale * * INTEGER I * #include "phy_macros_f.h"
#include "phybus.cdk"
* * DO i=0,ni-1 f(wsat + i) = 0.001*( -1.08*f(sand+i) + 494.305 ) f(wwilt + i) = 37.1342E-3*SQRT(MAX(1.,f(clay+i))) f(wfc + i) = 89.0467E-3 * MAX(1.,f(clay+i))**0.3496 f(bcoef + i) = 0.137 * f(clay+i) + 3.501 f(cgsat + i) = -1.557E-2 * f(sand+i) 1 - 1.441E-2 * f(clay+i) + 4.7021 f(cgsat + i) = 1.E-6 * f(cgsat+i) f(c1sat + i) = 0.01*( 5.58*f(clay+i) + 84.88 ) f(c2ref + i) = 13.815 * MAX(1.,f(clay+i))**(-0.954) f(c3ref + i) = 5.327 * MAX(1.,f(clay+i))**(-1.043) f(acoef + i) = 732.42E-3 * MAX(1.,f(clay+i))**(-0.539) f(pcoef + i) = 0.134 * f(clay+i) + 3.4 END DO * * RETURN END