Changeset 1747 for trunk/MESOSCALE/LMD_MM_MARS/SIMU/RUN/vert_level_python
- Timestamp:
- Jul 24, 2017, 5:10:39 PM (8 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS/SIMU/RUN/vert_level_python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SIMU/RUN/vert_level_python/levspe.py
r1746 r1747 14 14 #psurf=92.e5 # Venus 15 15 psurf=1.212862e6 16 17 hache = 10.18 psurf = 610.19 20 21 16 print hache, psurf 22 17 #read paramlevspe 23 24 25 26 27 18 param=np.loadtxt('paramlevspe') 28 19 nlev=param[0] … … 61 52 #print ptop 62 53 etas=(pressions-ptop)/(psurf-ptop) 63 etas[ int(nlev)-1]=0.54 etas[nlev-1]=0. 64 55 #print etas 65 56 press=etas*(psurf-ptop)+ptop … … 77 68 np.savetxt('levels',etas) 78 69 79 plt.figure(figsize=(1 2, 6))70 plt.figure(figsize=(15, 15)) 80 71 plt.subplot(221) 81 plt.plot(x, etas , 'b.')72 plt.plot(x, etas) 82 73 plt.xlabel('levels') 83 74 plt.ylabel('etas') … … 85 76 #plt.title('a) NINO3 Sea Surface Temperature (seasonal)') 86 77 #plt.hold(False) 87 axes = plt.gca()88 axes.set_ylim([0,1])89 78 90 79 plt.subplot(222) 91 plt.plot(x, pseudo , 'b.')80 plt.plot(x, pseudo) 92 81 plt.xlabel('levels') 93 82 plt.grid() 94 83 plt.ylabel('pseudo-altitude (km)') 95 plt.semilogy()96 axes = plt.gca()97 axes.set_ylim([0,60])98 99 84 100 85 plt3 = plt.subplot(223) 101 plt.semilogy(x, press , 'b.')86 plt.semilogy(x, press) 102 87 plt.xlabel('levels') 103 88 plt.grid() 104 plt.ylabel('press ure(Pa)')89 plt.ylabel('pression (Pa)') 105 90 106 91 plt4 = plt.subplot(224) 107 plt.plot(x, res , 'b.')92 plt.plot(x, res) 108 93 plt.xlabel('levels') 109 94 plt.grid() -
trunk/MESOSCALE/LMD_MM_MARS/SIMU/RUN/vert_level_python/paramlevspe
r1746 r1747 3 3 #epsilon augmentation totale en pourcentage de l'ecart max (modifie inflexion). epsilon = 0 : point d'inflexion parfaitement plat. epsilon = 100 : pas de point d'inflexion 4 4 #elong_cos plus petit rapproche l'inflexion du sol ;; 2/3 parfait pour un nlev divisible par 3 5 616 60.7 1008 1.75 5 201 6 280. 7 0 8 0.000000044
Note: See TracChangeset
for help on using the changeset viewer.