Changeset 1421


Ignore:
Timestamp:
Apr 30, 2015, 10:24:13 AM (10 years ago)
Author:
milmd
Message:

Correction of newstart and vertical interpolation of q2 in LMDZ.GENERIC and LMDZ.MARS. In LMDZ.GENERIC add flag for cloud fraction reading.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/dynlonlat_phylonlat/phystd/lect_start_archive.F

    r1403 r1421  
    13321332      write (*,*) 'lect_start_archive: q2old ', q2old (1,2,1)  ! INFO
    13331333      call interp_vert (q2old,varp1,lmold+1,llm+1,
    1334      &     apsold,bpsold,aps,bps,psold,(imold+1)*(jmold+1))
     1334     &     apsold,bpsold,ap,bp,psold,(imold+1)*(jmold+1))
    13351335      write (*,*) 'lect_start_archive: varp1 ', varp1 (1,2,1)  ! INFO
    13361336      call interp_horiz(varp1,q2s,imold,jmold,iim,jjm,llm+1,
  • trunk/LMDZ.GENERIC/libf/dynlonlat_phylonlat/phystd/newstart.F

    r1415 r1421  
    342342        write(*,*) 'Reading file START'
    343343        fichnom = 'start.nc'
    344         CALL dynetat0(fichnom,nqtot,vcov,ucov,teta,q,masse,
     344        CALL dynetat0(fichnom,vcov,ucov,teta,q,masse,
    345345     .       ps,phis,time)
    346346
  • trunk/LMDZ.GENERIC/libf/phystd/phyetat0.F90

    r1415 r1421  
    1111                     inquire_dimension, inquire_dimension_length
    1212  use slab_ice_h, only: noceanmx
     13  use callkeys_mod, only: CLFvarying
    1314
    1415  implicit none
     
    251252
    252253! Cloud fraction (added by BC 2010)
     254if (CLFvarying) then
    253255call get_field("cloudfrac",cloudfrac,found,indextime)
    254256if (.not.found) then
     
    259261             minval(cloudfrac), maxval(cloudfrac)
    260262endif
     263else
     264cloudfrac(:,:)=0.0
     265endif
    261266
    262267! Total cloud fraction (added by BC 2010)
     268if (CLFvarying) then
    263269call get_field("totcloudfrac",totcloudfrac,found,indextime)
    264270if (.not.found) then
     
    268274  write(*,*) "phyetat0: Total cloud fraction <totcloudfrac> range:", &
    269275             minval(totcloudfrac), maxval(totcloudfrac)
     276endif
     277else
     278totcloudfrac(:)=0.0
    270279endif
    271280
  • trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/lect_start_archive.F

    r1403 r1421  
    12771277      write (*,*) 'lect_start_archive: q2old ', q2old (1,2,1)  ! INFO
    12781278      call interp_vert (q2old,varp1,lmold+1,llm+1,
    1279      &     apsold,bpsold,aps,bps,psold,(imold+1)*(jmold+1))
     1279     &     apsold,bpsold,ap,bp,psold,(imold+1)*(jmold+1))
    12801280      write (*,*) 'lect_start_archive: varp1 ', varp1 (1,2,1)  ! INFO
    12811281      call interp_horiz(varp1,q2s,imold,jmold,iim,jjm,llm+1,
  • trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/newstart.F

    r1415 r1421  
    434434        write(*,*) 'Reading file START'
    435435        fichnom = 'start.nc'
    436         CALL dynetat0(fichnom,nqtot,vcov,ucov,teta,q,masse,
     436        CALL dynetat0(fichnom,vcov,ucov,teta,q,masse,
    437437     .       ps,phis,time)
    438438
Note: See TracChangeset for help on using the changeset viewer.