Changeset 653
- Timestamp:
- May 10, 2012, 12:49:00 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE_DEV/MANUAL/SRC/advance.tex
r608 r653 104 104 \paragraph{Inputs/outputs} Large-Eddy Simulations need four input files \ttt{input\_coord}, \ttt{input\_sounding}, \ttt{input\_more}, \ttt{input\_therm} which define initial pressure, temperature, density, winds profiles at the location/season for which simulations are run, along with information about this location/season. Typical files are available upon request, or you might simply build your own profiles using the Mars Climate Database (see the sample \ttt{scilab} script \ttt{wrf\_sounding.sci} in \ttt{\$MMM/SIMU/RUN}). Examples for \ttt{input\_*} files are provided in \ttt{\$MMM/SRC/LES/modif\_mars/DEF} and correspond to the cases run in the study by \textit{Spiga et al.} [2010]. 105 105 106 %% now python inimeso.py in UTIL/PYTHON 107 106 108 \begin{citemize} 107 109 \item \ttt{input\_coord} contains longitude, latitude, $L_s$ and local time; -
trunk/UTIL/PYTHON/mcd/mcd.py
r639 r653 238 238 for i in range(nd): self.lat = self.xcoord[i] ; self.update() ; self.put1d(i) 239 239 240 def profile(self,nd=20,start=0.,end=100000. ):240 def profile(self,nd=20,start=0.,end=100000.,tabperso=None): 241 241 ### retrieve an altitude slice (profile) 242 242 self.xlabel = "Altitude (m)" 243 self.prepare(ndx=nd) ; self.xcoord = np.linspace(start,end,nd) 243 if tabperso is not None: nd = len(tabperso) 244 self.prepare(ndx=nd) 245 if tabperso is None: self.xcoord = np.linspace(start,end,nd) 246 else: self.xcoord = tabperso 244 247 for i in range(nd): self.xz = self.xcoord[i] ; self.update() ; self.put1d(i) 245 248 … … 293 296 294 297 ### TODO: makeplot2d, plot2d, passer plot settings, vecteurs, plot loct pas fixe 298
Note: See TracChangeset
for help on using the changeset viewer.