[20498] | 1 | Index: ../trunk-jpl/test/NightlyRun/test237.py
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/test/NightlyRun/test237.py (revision 19277)
|
---|
| 4 | +++ ../trunk-jpl/test/NightlyRun/test237.py (revision 19278)
|
---|
| 5 | @@ -53,15 +53,19 @@
|
---|
| 6 | md.surfaceforcings.precipitations_lgm[0:md.mesh.numberofvertices,imonth]=-0.4*10**(-6)*md.mesh.y+0.5
|
---|
| 7 | md.surfaceforcings.precipitations_lgm[md.mesh.numberofvertices,imonth]=((float(imonth)+1.)/12.)
|
---|
| 8 |
|
---|
| 9 | -for iint in xrange(0,(md.timestepping.final_time/md.timestepping.time_step)+2)
|
---|
| 10 | +fsize=int(md.timestepping.final_time/md.timestepping.time_step)+2
|
---|
| 11 | +md.surfaceforcings.Pfac=numpy.zeros((2,fsize))
|
---|
| 12 | +md.surfaceforcings.Tdiff=numpy.zeros((2,fsize))
|
---|
| 13 | +md.surfaceforcings.sealev=numpy.zeros((2,fsize))
|
---|
| 14 | +for iint in xrange(0,fsize):
|
---|
| 15 | # Interpolation factors
|
---|
| 16 | - md.surfaceforcings.Pfac[1,iint]=0.15*(iint+1);
|
---|
| 17 | - md.surfaceforcings.Tdiff[1,iint]=0.15*(iint+1);
|
---|
| 18 | - md.surfaceforcings.sealev[1,iint]=0.15*(iint+1);
|
---|
| 19 | + md.surfaceforcings.Pfac[0,iint]=0.15*(iint+1)
|
---|
| 20 | + md.surfaceforcings.Tdiff[0,iint]=0.15*(iint+1)
|
---|
| 21 | + md.surfaceforcings.sealev[0,iint]=0.15*(iint+1)
|
---|
| 22 | # Year of each data point
|
---|
| 23 | - md.surfaceforcings.Pfac[2,iint]=(iint)*20;
|
---|
| 24 | - md.surfaceforcings.Tdiff[2,iint]=(iint)*20;
|
---|
| 25 | - md.surfaceforcings.sealev[2,iint]=(iint)*20;
|
---|
| 26 | + md.surfaceforcings.Pfac[1,iint]=(float(iint))*20
|
---|
| 27 | + md.surfaceforcings.Tdiff[1,iint]=(float(iint))*20
|
---|
| 28 | + md.surfaceforcings.sealev[1,iint]=(float(iint))*20
|
---|
| 29 |
|
---|
| 30 | #
|
---|
| 31 | md.transient.requested_outputs=['default','SurfaceforcingsMonthlytemperatures']
|
---|