[MITgcm-support] Shortwave and watertype
Dimitris Menemenlis
menemenlis at jpl.nasa.gov
Fri Jul 31 18:41:26 EDT 2009
Right now it's hard-coded to jwtype=2 as per code below.
Unless you simply aim to change it ot another constant,
you probably would want to rewrite the swfrac routine to
include a jwtype argument in order to facilitate spatio/temporal
variations in jwtype. D.
#ifdef ALLOW_CAL
ceh3 this should have an IF ( useCALENDAR ) THEN
CML(
C myIter = 0 makes cal_getMonthsRec always return count0=12
C so that jerl(count0) = 2.
C The following lines are meant to be an example of how to
C include time dependent water types. However, it would probably
C make more sense to first think about a regionally varying
C water type before implementing a time dependence.
CML CALL cal_GetMonthsRec(
CML O fac, first, changed, count0, count1,
CML I myTime, myIter, myThid )
CML jwtype=jerl(count0)
CML)
jwtype=2
#else /* ALLOW_CAL undef */
Dimitris Menemenlis <menemenlis at jpl.nasa.gov>
Jet Propulsion Lab, California Institute of Technology
MS 300-323, 4800 Oak Grove Dr, Pasadena CA 91109-8099, USA
tel: 818-354-1656; cell: 818-625-6498; fax: 818-393-6720
On Jul 31, 2009, at 12:50 PM, Georges Djoumna wrote:
> Dear all,
>
> I would like to change the Jerlov water type, not using the default
> one which is jwtype=2. I look at swfrac.F, but I don't know how and
> where I should specify a different value for jwtype.
>
> Thanks.
>
>
> Georges DJOUMNA, Ph.D.
> Post Doctorate Fellow
> Faculty of Mathematics
> Department of Applied Mathematics
> University of Waterloo
> Office MC 5135
> Waterloo, Ontario
> Canada N2L 3G1
>
> E-mail : gdjoumna at math.uwaterloo.ca
> Office Phone : 1 519 888 4567 Ext 36648
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list