| 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 | 'SCM.nc' : 'black',\ |
|---|
| 19 | 'LES0.nc' : 'slateblue',\ |
|---|
| 20 | 'LES1.nc' : 'blue',\ |
|---|
| 21 | 'LES2.nc' : 'blue',\ |
|---|
| 22 | 'LES3.nc' : 'blue',\ |
|---|
| 23 | 'LES4.nc' : 'blue',\ |
|---|
| 24 | 'LES5.nc' : 'blue',\ |
|---|
| 25 | 'LES6.nc' : 'blue',\ |
|---|
| 26 | 'LES7.nc' : 'blue',\ |
|---|
| 27 | 'LES8.nc' : 'blue',\ |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | dicostyl={\ |
|---|
| 31 | 'SCM.nc' : '-',\ |
|---|
| 32 | 'LES0.nc' : '-',\ |
|---|
| 33 | 'LES1.nc' : '-.',\ |
|---|
| 34 | 'LES2.nc' : '-.',\ |
|---|
| 35 | 'LES3.nc' : '-.',\ |
|---|
| 36 | 'LES4.nc' : '-.',\ |
|---|
| 37 | 'LES5.nc' : '-.',\ |
|---|
| 38 | 'LES6.nc' : '-.',\ |
|---|
| 39 | 'LES7.nc' : '-.',\ |
|---|
| 40 | 'LES8.nc' : '-.',\ |
|---|
| 41 | } |
|---|
| 42 | |
|---|
| 43 | # listcoul ou dicocoul ou dicohightune ou ... |
|---|
| 44 | #coul1d=listcoul |
|---|
| 45 | styl1d=dicostyl |
|---|
| 46 | coul1d=dicocoul |
|---|
| 47 | |
|---|
| 48 | # liste des fichiers sélectionnés |
|---|
| 49 | listfic=[\ |
|---|
| 50 | 'LES/'+Case+'/'+SubCase+'/LES0.nc',\ |
|---|
| 51 | 'LES/'+Case+'/'+SubCase+'/LES1.nc',\ |
|---|
| 52 | 'LES/'+Case+'/'+SubCase+'/LES2.nc',\ |
|---|
| 53 | 'LES/'+Case+'/'+SubCase+'/LES3.nc',\ |
|---|
| 54 | 'LES/'+Case+'/'+SubCase+'/LES4.nc',\ |
|---|
| 55 | 'LES/'+Case+'/'+SubCase+'/LES6.nc',\ |
|---|
| 56 | 'LES/'+Case+'/'+SubCase+'/LES7.nc',\ |
|---|
| 57 | 'LES/'+Case+'/'+SubCase+'/LES8.nc',\ |
|---|
| 58 | 'CTRL/'+Case+'/'+SubCase+'/SCM.nc',\ |
|---|
| 59 | ] |
|---|
| 60 | list_ens=[\ |
|---|
| 61 | 'WAVE1/'+Case+'/'+SubCase,\ |
|---|
| 62 | ] |
|---|