Changeset 317
- Timestamp:
- Oct 11, 2011, 4:17:58 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LMDZ.MARS/libf/phymars/surfini.F (modified) (1 diff)
-
MESOSCALE/LMD_MM_MARS/SRC/PYTHON/myplot.py (modified) (6 diffs)
-
MESOSCALE/LMD_MM_MARS/SRC/PYTHON/winds.py (modified) (1 diff)
-
MESOSCALE_DEV/MANUAL/SRC/advance.tex (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/surfini.F
r286 r317 50 50 51 51 #ifdef MESOSCALE 52 !write(*,*) "all qsurf to zero. dirty." 52 53 do iq=1,nqmx 53 write(*,*) "all qsurf to zero. dirty."54 54 qsurf(ig,iq)=0. !! on jette les inputs GCM 55 55 !! on regle juste watercaptag -
trunk/MESOSCALE/LMD_MM_MARS/SRC/PYTHON/myplot.py
r310 r317 21 21 def whatkindfile (nc): 22 22 if 'controle' in nc.variables: typefile = 'gcm' 23 elif 'phisinit' in nc.variables: typefile = 'gcm ex'23 elif 'phisinit' in nc.variables: typefile = 'gcm' 24 24 elif 'vert' in nc.variables: typefile = 'mesoapi' 25 25 elif 'U' in nc.variables: typefile = 'meso' … … 152 152 if zetime is not None \ 153 153 and 'vert' not in nc.variables: 154 #### strangely enough this does not work for api or ncrcat results!154 #### strangely enough this does not work for api or ncrcat results! 155 155 zetimestart = getattr(nc, 'START_DATE') 156 156 zeday = int(zetime[8]+zetime[9]) - int(zetimestart[8]+zetimestart[9]) … … 254 254 255 255 def getcoorddef ( nc ): 256 import numpy as np 256 257 ## getcoord2d for predefined types 257 258 typefile = whatkindfile(nc) … … 260 261 lon2d = dumpbdy(lon2d,6) 261 262 lat2d = dumpbdy(lat2d,6) 262 elif typefile in ['gcm' ,'gcmex']:263 elif typefile in ['gcm']: 263 264 [lon2d,lat2d] = getcoord2d(nc,nlat="latitude",nlon="longitude",is1d=True) 264 265 elif typefile in ['geo']: … … 495 496 "Um": "%.0f",\ 496 497 "ALBBARE": "%.2f",\ 498 "TAU": "%.1f",\ 497 499 } 498 500 if whichvar not in fmtvar: … … 520 522 "QSURFICE": "hot_r",\ 521 523 "ALBBARE": "spectral",\ 524 "TAU": "YlOrBr_r",\ 522 525 } 523 526 #W --> spectral ou jet -
trunk/MESOSCALE/LMD_MM_MARS/SRC/PYTHON/winds.py
r295 r317 196 196 ### Save the figure in a file in the data folder or an user-defined folder 197 197 if typefile in ['meso','mesoapi']: prefix = getprefix(nc) 198 elif typefile in ['gcm' ,'gcmex']:prefix = 'LMD_GCM_'198 elif typefile in ['gcm']: prefix = 'LMD_GCM_' 199 199 else: prefix = '' 200 200 ### -
trunk/MESOSCALE_DEV/MANUAL/SRC/advance.tex
r315 r317 130 130 %%[set to 18 for newphys] 131 131 132 %% attention init_TI n'est plus s Ãparable... il faut run real.exe a cause du modele sous surface132 %% attention init_TI n'est plus separable... il faut run real.exe a cause du modele sous surface 133 133 %% il faut ajouter init_Z0 ! ou il n'y a pas besoin de re executer real.exe 134 134 135 %% si z0 n est pas dans le wrfinput on prend la valeur par defaut 136 135 137 \clearemptydoublepage
Note: See TracChangeset
for help on using the changeset viewer.
