Ignore:
Timestamp:
Aug 6, 2013, 6:06:40 PM (11 years ago)
Author:
idelkadi
Message:

Gestion des fichiers de sorties sur les niveaux de pression NMC (hist*NMC.nc) via le meme mecanisme utilise pour les fichiers histoires (phys_output_mod, ...)
Ces sorties sont ainsi controles par les memes flags : phys_out_filekeys, phys_out_filenames, phys_out_filetimesteps, phys_out_filelevels, ...
(exemple dans config.def : phys_out_filenames=histmth histday histhf histins histLES histstn histmthNMC histdayNMC histhfNMC)

File:
1 edited

Legend:

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

    r1767 r1828  
    155155  Integer, save :: lev_histins_omp, lev_histLES_omp
    156156  INTEGER, SAVE :: lev_histdayNMC_omp
     157  INTEGER, SAVE :: levout_histNMC_omp(3)
    157158  LOGICAL, SAVE :: ok_histNMC_omp(3)
    158159  REAL, SAVE :: freq_outNMC_omp(3), freq_calNMC_omp(3)
     
    12671268  lev_histLES_omp = 1
    12681269  call getin('lev_histLES',lev_histLES_omp)
    1269 !
     1270! 
    12701271!Config Key  = lev_histdayNMC
    12711272!Config Desc =
     
    12751276  lev_histdayNMC_omp = 8
    12761277  call getin('lev_histdayNMC',lev_histdayNMC_omp)
     1278!
     1279!Config Key  = levout_histNMC
     1280!Config Desc =
     1281!Config Def  = 5
     1282!Config Help =
     1283!
     1284  levout_histNMC_omp(1) = 5
     1285  levout_histNMC_omp(2) = 5
     1286  levout_histNMC_omp(3) = 5
     1287  call getin('levout_histNMC',levout_histNMC_omp)
    12771288!
    12781289!histNMC BEG
     
    12901301!
    12911302!Config Key  = freq_outNMC
    1292 !Config Desc = freq_outNMC(1) = frequence de sortie fichiers histmthNMC
    1293 !Config Desc = freq_outNMC(2) = frequence de sortie fichiers histdayNMC
    1294 !Config Desc = freq_outNMC(3) = frequence de sortie fichiers histhfNMC
    1295 !Config Def  = 2592000., 86400., 21600.
    1296 !Config Help =
    1297 !
    1298 ! freq_outNMC_omp(1) = 2592000.
    1299   freq_outNMC_omp(1) = mth_len*86400.
    1300   freq_outNMC_omp(2) = 86400.
    1301   freq_outNMC_omp(3) = 21600.
     1303!Config Desc = freq_outNMC(1) = frequence en jour de sortie fichiers histmthNMC
     1304!Config Desc = freq_outNMC(2) = frequence en jour de sortie fichiers histdayNMC
     1305!Config Desc = freq_outNMC(3) = frequence en jour de sortie fichiers histhfNMC
     1306!Config Def  = 30., 1., 0.25
     1307!Config Help =
     1308!
     1309  freq_outNMC_omp(1) = mth_len
     1310  freq_outNMC_omp(2) = 1.
     1311  freq_outNMC_omp(3) = 0.25
    13021312  call getin('freq_outNMC',freq_outNMC_omp)
    13031313!
     
    17021712    lev_histLES = lev_histLES_omp
    17031713    lev_histdayNMC = lev_histdayNMC_omp
     1714    levout_histNMC = levout_histNMC_omp
    17041715    ok_histNMC(:) = ok_histNMC_omp(:)
    17051716    freq_outNMC(:) = freq_outNMC_omp(:)
     
    19251936  write(lunout,*)' lev_histLES = ',lev_histLES
    19261937  write(lunout,*)' lev_histdayNMC = ',lev_histdayNMC
     1938  write(lunout,*)' levout_histNMC = ',levout_histNMC
    19271939  write(lunout,*)' ok_histNMC = ',ok_histNMC
    19281940  write(lunout,*)' freq_outNMC = ',freq_outNMC
Note: See TracChangeset for help on using the changeset viewer.