Changeset 138 for src/param_ARMCU_REF.py


Ignore:
Timestamp:
May 28, 2019, 1:04:19 PM (7 years ago)
Author:
htune
Message:

Modification of the post processing python program.
Separation of de description of the case and of the list of simulations.
Fredho

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/param_ARMCU_REF.py

    r117 r138  
    1 #-*- coding:UTF-8 -*-
    2 # files that define the lists of the simulations you want to draw and also define information of the profiles
    3 # time of the profile, color/style of the lines, xmin/xmax, ymin/ymax ranges)
    4 from datetime import datetime
    5 
    6 DIRDATA='./'
    7 
    8 nomvar='theta'
    9 
    10 # couleurs des courbes
    11 #---------------------
    12 # cycle de couleurs
    13 listcoul=['black','red','green','fuchsia','blue','lime','darkviolet','cyan','darkorange','slateblue','brown','gold']
    14 
    15 # exemple dictionnaire de couleurs en fonction du nom de fichier (sans le prefixe time_ ou prof_)
    16 #black=reference; blue=bb; violet=turb, orange=pas de temps, Diffusion=vert, resolution=grey, advection=red, resv=brown,domain= microphysique=turquoise
    17 dicocoul={\
    18 'ensmin_SCM.nc' : 'pink',\
    19 'ensmax_SCM.nc' : 'pink',\
    20 'ensavg_SCM.nc' : 'red',\
    21 'hourly_klevel.nc' : 'black',\
    22 'LES0.nc' : 'slateblue',\
    23 'LES1.nc' : 'blue',\
    24 'LES2.nc' : 'blue',\
    25 'LES3.nc' : 'blue',\
    26 'LES4.nc' : 'blue',\
    27 'LES5.nc' : 'blue',\
    28 'LES6.nc' : 'blue',\
    29 'LES7.nc' : 'blue',\
    30 'LES8.nc' : 'blue',\
    31 }
    32 
    33 dicostyl={\
    34 'ensmin_SCM.nc' : '-',\
    35 'ensmax_SCM.nc' : '-',\
    36 'ensavg_SCM.nc' : '-',\
    37 'hourly_klevel.nc' : '-',\
    38 'LES0.nc' : '-',\
    39 'LES1.nc' : '-.',\
    40 'LES2.nc' : '-.',\
    41 'LES3.nc' : '-.',\
    42 'LES4.nc' : '-.',\
    43 'LES5.nc' : '-.',\
    44 'LES6.nc' : '-.',\
    45 'LES7.nc' : '-.',\
    46 'LES8.nc' : '-.',\
    47 }
     1Case='ARMCU'
    482
    493vmintab={\
     
    8337        'qv':0.020,\
    8438        'qtu_shcon':0.020,\
    85         'rneb':1.,\
     39        'rneb':0.4,\
    8640        'thvu_shcon':319,\
    8741}
    88 # listcoul ou dicocoul ou dicohightune ou ...
    89 #coul1d=listcoul
    90 styl1d=dicostyl
    91 coul1d=dicocoul
    92 
    93 # liste des fichiers sélectionnés
    94 listfic=[\
    95 'LES/ARMCU/REF/LES0.nc',\
    96 'LES/ARMCU/REF/LES1.nc',\
    97 'LES/ARMCU/REF/LES2.nc',\
    98 'LES/ARMCU/REF/LES3.nc',\
    99 'LES/ARMCU/REF/LES4.nc',\
    100 'LES/ARMCU/REF/LES5.nc',\
    101 'LES/ARMCU/REF/LES6.nc',\
    102 'LES/ARMCU/REF/LES7.nc',\
    103 'LES/ARMCU/REF/LES8.nc',\
    104 'WAVE1/ARMCU/REF/ensmin_SCM.nc',\
    105 'WAVE1/ARMCU/REF/ensavg_SCM.nc',\
    106 'WAVE1/ARMCU/REF/ensmax_SCM.nc',\
    107 '../../../../MUSC/simulations/arp631/CMIP6/L91_300s/ARMCU/REF/Output/netcdf/hourly_klevel.nc',\
    108 ]
    109 #'ensmin_A24SC.nc',\
    110 #'ensmax_A24SC.nc'
    111 
    11242
    11343# date de la forme : datetime(YYYY,MM,DD,H,M,S) sans 0 à gauche dans les nombres
     
    12757vmin=299
    12858vmax=319
    129 #pour wu
    130 
    131 #pour alpha_u
    132 
    133 #pour mu
    134 
    135 #pour thu
    136 
    137 #pour u
    138 
    139 # pour v
Note: See TracChangeset for help on using the changeset viewer.