Ignore:
Timestamp:
Jun 9, 2011, 12:13:33 AM (13 years ago)
Author:
musat
Message:

Ajouts CFMIP2/CMIP5

  • 6eme fichier de sortie "stations" histstn.nc qui necessite 2 fichiers (voir DefLists?): npCFMIP_param.data(_*) contenant le nombre de points (120 pour simulations AMIP, 73 pour aqua) pointlocations.txt(_*) contenant le numero, les coordonnees (lon,lat) et le nom de chaque station
  • flag LOGICAL dans tous les appels histwrite_phy pour pouvoir sortir le fichier histstn.nc

NB: 1) les flags de type phys_ que l'on met dans le physiq.def_L* pour ajouter plus de sorties

necessitent dorenavant 6 valeurs, la 6eme correspondant au fichier histstn.nc

2) par defaut le fichier histstn.nc ne sort pas; pour le sortir ajouter les lignes suivantes

dans physiq.def_L*

### Type de fichier : global (n) ou stations (y)
phys_out_filestations = n n n n n y

  • introduction de 2 jeux de flags pour les taux des GES; taux actuels avec suffixes _act, taux futurs avec "_per" avec 2 appels au rayonnement si taux "_per" different des taux "_act" (utiles pour diags. CFMIP 4CO2)
  • flags "betaCRF" pour calculs CRF pour experiences sensibilite proprietes optiques eau liquide nuageuse avec initialisations par defaut; sinon besoin de fichier beta_crf.data

Ajout flag LOGICAL lCOSP necessaire pour sortir un fichier stations
IM

File:
1 edited

Legend:

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

    r1454 r1539  
    125125  LOGICAL ok_sync
    126126  CHARACTER(len=12) :: nvar
     127  logical, parameter :: lstokenc=.FALSE.
    127128!
    128129!======================================================================
     
    164165     
    165166     ! Write field phis and aire only once
    166      CALL histwrite_phy(physid,"phis",itap,pphis)
    167      CALL histwrite_phy(physid,"aire",itap,paire)
    168      CALL histwrite_phy(physid,"longitudes",itap,rlon)
    169      CALL histwrite_phy(physid,"latitudes",itap,rlat)
     167     CALL histwrite_phy(physid,lstokenc,"phis",itap,pphis)
     168     CALL histwrite_phy(physid,lstokenc,"aire",itap,paire)
     169     CALL histwrite_phy(physid,lstokenc,"longitudes",itap,rlon)
     170     CALL histwrite_phy(physid,lstokenc,"latitudes",itap,rlat)
    170171
    171172  END IF
     
    288289
    289290     ! write fields
    290      CALL histwrite_phy(physid,"t",itap,t)
    291      CALL histwrite_phy(physid,"mfu",itap,mfu)
    292      CALL histwrite_phy(physid,"mfd",itap,mfd)
    293      CALL histwrite_phy(physid,"en_u",itap,en_u)
    294      CALL histwrite_phy(physid,"de_u",itap,de_u)
    295      CALL histwrite_phy(physid,"en_d",itap,en_d)
    296      CALL histwrite_phy(physid,"de_d",itap,de_d)
    297      CALL histwrite_phy(physid,"coefh",itap,coefh)     
    298      CALL histwrite_phy(physid,"fm_th",itap,fm_therm)
    299      CALL histwrite_phy(physid,"en_th",itap,entr_therm)
    300      CALL histwrite_phy(physid,"frac_impa",itap,frac_impa)
    301      CALL histwrite_phy(physid,"frac_nucl",itap,frac_nucl)
    302      CALL histwrite_phy(physid,"pyu1",itap,pyu1)
    303      CALL histwrite_phy(physid,"pyv1",itap,pyv1)
    304      CALL histwrite_phy(physid,"ftsol1",itap,pftsol(:,1))
    305      CALL histwrite_phy(physid,"ftsol2",itap,pftsol(:,2))
    306      CALL histwrite_phy(physid,"ftsol3",itap,pftsol(:,3))
    307      CALL histwrite_phy(physid,"ftsol4",itap,pftsol(:,4))
    308      CALL histwrite_phy(physid,"psrf1",itap,ppsrf(:,1))
    309      CALL histwrite_phy(physid,"psrf2",itap,ppsrf(:,2))
    310      CALL histwrite_phy(physid,"psrf3",itap,ppsrf(:,3))
    311      CALL histwrite_phy(physid,"psrf4",itap,ppsrf(:,4))
    312      CALL histwrite_phy(physid,"sh",itap,sh)
    313      CALL histwrite_phy(physid,"da",itap,da)
    314      CALL histwrite_phy(physid,"mp",itap,mp)
    315      CALL histwrite_phy(physid,"upwd",itap,upwd)
    316      CALL histwrite_phy(physid,"dnwd",itap,dnwd)
     291     CALL histwrite_phy(physid,lstokenc,"t",itap,t)
     292     CALL histwrite_phy(physid,lstokenc,"mfu",itap,mfu)
     293     CALL histwrite_phy(physid,lstokenc,"mfd",itap,mfd)
     294     CALL histwrite_phy(physid,lstokenc,"en_u",itap,en_u)
     295     CALL histwrite_phy(physid,lstokenc,"de_u",itap,de_u)
     296     CALL histwrite_phy(physid,lstokenc,"en_d",itap,en_d)
     297     CALL histwrite_phy(physid,lstokenc,"de_d",itap,de_d)
     298     CALL histwrite_phy(physid,lstokenc,"coefh",itap,coefh)     
     299     CALL histwrite_phy(physid,lstokenc,"fm_th",itap,fm_therm)
     300     CALL histwrite_phy(physid,lstokenc,"en_th",itap,entr_therm)
     301     CALL histwrite_phy(physid,lstokenc,"frac_impa",itap,frac_impa)
     302     CALL histwrite_phy(physid,lstokenc,"frac_nucl",itap,frac_nucl)
     303     CALL histwrite_phy(physid,lstokenc,"pyu1",itap,pyu1)
     304     CALL histwrite_phy(physid,lstokenc,"pyv1",itap,pyv1)
     305     CALL histwrite_phy(physid,lstokenc,"ftsol1",itap,pftsol(:,1))
     306     CALL histwrite_phy(physid,lstokenc,"ftsol2",itap,pftsol(:,2))
     307     CALL histwrite_phy(physid,lstokenc,"ftsol3",itap,pftsol(:,3))
     308     CALL histwrite_phy(physid,lstokenc,"ftsol4",itap,pftsol(:,4))
     309     CALL histwrite_phy(physid,lstokenc,"psrf1",itap,ppsrf(:,1))
     310     CALL histwrite_phy(physid,lstokenc,"psrf2",itap,ppsrf(:,2))
     311     CALL histwrite_phy(physid,lstokenc,"psrf3",itap,ppsrf(:,3))
     312     CALL histwrite_phy(physid,lstokenc,"psrf4",itap,ppsrf(:,4))
     313     CALL histwrite_phy(physid,lstokenc,"sh",itap,sh)
     314     CALL histwrite_phy(physid,lstokenc,"da",itap,da)
     315     CALL histwrite_phy(physid,lstokenc,"mp",itap,mp)
     316     CALL histwrite_phy(physid,lstokenc,"upwd",itap,upwd)
     317     CALL histwrite_phy(physid,lstokenc,"dnwd",itap,dnwd)
    317318
    318319
     
    328329        nvar='phi_lev'//trim(nvar)
    329330       
    330         CALL histwrite_phy(physid,nvar,itap,phi(:,:,k))
     331        CALL histwrite_phy(physid,lstokenc,nvar,itap,phi(:,:,k))
    331332     END DO
    332333     
Note: See TracChangeset for help on using the changeset viewer.