Ignore:
Timestamp:
Jul 22, 2014, 12:51:23 PM (10 years ago)
Author:
lguez
Message:

Replaced 360 in calbeta_clim by length of current year according to
chosen calendar. Length of current year is given by
ioget_year_len. Since we already need this for ozone, moved the call
to ioget_year_len from physiq to phys_cal_mod and created variable
year_len of module phys_cal_mod.

Control the output from minmaxqfi.

Non-ASCII characters in comments are not always rendered properly and
they risk being lost. See revision 1740.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq.F90

    r2090 r2098  
    1111
    1212  USE ioipsl, only: histbeg, histvert, histdef, histend, histsync, &
    13        histwrite, ju2ymds, ymds2ju, ioget_year_len, getin
     13       histwrite, ju2ymds, ymds2ju, getin
    1414  USE comgeomphy
    15   USE phys_cal_mod
     15  USE phys_cal_mod, only: year_len, mth_len, days_elapsed, jh_1jan, year_cur, &
     16       mth_cur, phys_cal_update
    1617  USE write_field_phy
    1718  USE dimphy
     
    15761577     ! Ozone from a file
    15771578     ! Update required ozone index:
    1578      ro3i = int((days_elapsed + jh_cur - jh_1jan) / ioget_year_len(year_cur) &
    1579           * 360.) + 1
     1579     ro3i = int((days_elapsed + jh_cur - jh_1jan) / year_len * 360.) + 1
    15801580     if (ro3i == 361) ro3i = 360
    15811581     ! (This should never occur, except perhaps because of roundup
Note: See TracChangeset for help on using the changeset viewer.