Ignore:
Timestamp:
May 24, 2017, 4:02:35 PM (7 years ago)
Author:
dcugnet
Message:

Change for limit files (ce0l:limit_netcdf.F90): daily records are interpolated
at 12h (no longer 0h), so that the 0h-24h mean value is used the whole day.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dynphy_lonlat/phylmd/limit_netcdf.F90

    r2889 r2893  
    565565    l=1
    566566    DO k=1, ndays
    567       timeday = REAL((k-1)*ndays_in)/ndays
     567      timeday = (REAL(k)-0.5)*REAL(ndays_in)/ndays
    568568      IF(timeyear(l+1)<timeday) l=l+1
    569569      al=(timeday-timeyear(l))/(timeyear(l+1)-timeyear(l))
     
    583583              vc_beg=0., vc_end=0.)
    584584         CALL pchfe_95(timeyear, champtime(i, j, :), yder, skip, &
    585               arth(0., real(ndays_in) / ndays, ndays), champan(i, j, :), ierr)
     585              arth(0.5, real(ndays_in) / ndays, ndays), champan(i, j, :), ierr)
    586586         if (ierr < 0) stop 1
    587587         n_extrap = n_extrap + ierr
Note: See TracChangeset for help on using the changeset viewer.