Changeset 223 for trunk/MESOSCALE_DEV/MANUAL/SRC/user_manual_txt.tex
- Timestamp:
- Jul 14, 2011, 3:37:47 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE_DEV/MANUAL/SRC/user_manual_txt.tex
r221 r223 1 2 3 \mk4 \subsubsection{Meteorological data}5 6 \ttt{launch\_gcm}7 8 \mk9 The preprocessing tools generate initial and boundary conditions10 from the \ttt{diagfi.nc} outputs of LMD-MGCM simulations.11 %12 If you would like to run a mesoscale simulation at a given13 season, you need to first run a GCM simulation and output14 the meteorological fields at the considered season.15 %16 For optimal forcing at the boundaries, we advise you17 to write the meteorological fields to the18 \ttt{diagfi.nc} file at least each two hours.19 %20 Please also make sure that the following fields21 are stored in the NETCDF \ttt{diagfi.nc} file:22 23 \footnotesize24 \codesource{contents_diagfi}25 26 \normalsize27 \begin{finger}28 \item If the fields29 \ttt{emis},30 \ttt{co2ice},31 \ttt{q01},32 \ttt{q02},33 \ttt{tsoil}34 are missing in the \ttt{diagfi.nc} file,35 they are replaced by respective default36 values $0.95$, $0$, $0$, $0$, tsurf.37 \end{finger}38 39 \mk40 \marge An example of input meteorological file41 \ttt{diagfi.nc} file can be downloaded42 at \url{http://web.lmd.jussieu.fr/~aslmd/LMD_MM_MARS/diagfi.nc.tar.gz}.43 %44 Please deflate the archive and copy the \ttt{diagfi.nc} file45 in \ttt{\$LMDMOD/TMPDIR/GCMINI}.46 %47 Such a file can then be used to define the initial48 and boundary conditions, and we will go49 through the three preprocessing steps.50 51 \mk52 \subsection{Preprocessing steps}53 54 \mk55 \subsubsection{Step 1: Converting GCM data}56 57 \mk58 The programs in the \ttt{PREP\_MARS} directory59 convert the data from the NETCDF \ttt{diagfi.nc}60 file into separated binary datafiles for each61 date contained in \ttt{diagfi.nc}, according to62 the formatting needed by the63 preprocessing programs at step 2.64 %65 These programs can be executed by the following66 commands:67 \begin{verbatim}68 cd $LMDMOD/LMD_MM_MARS/your_install_dir/PREP\_MARS69 echo 1 | ./create_readmeteo.exe # drop the "echo 1 |" if you want control70 ./readmeteo.exe < readmeteo.def71 \end{verbatim}72 %73 \marge If every went well with the conversion,74 the directory \ttt{\$LMDMOD/TMPDIR/WPSFEED}75 should contain files named \ttt{LMD:}.76 77 \mk78 \subsubsection{2: Interpolation on the regional domain}79 80 \mk81 In the \ttt{WPS} directory, the \ttt{geogrid.exe} program allows82 you to define the mesoscale simulation domain83 to horizontally interpolate the topography,84 thermal inertia and albedo fields at the domain85 resolution and to calculate useful fields86 such as topographical slopes.%\pagebreak87 88 \mk89 \marge Please execute the commands:90 %91 \begin{verbatim}92 cd $LMDMOD/LMD_MM_MARS/your_install_dir/WPS93 ln -sf ../../TESTCASE/namelist.wps . # test case94 ./geogrid.exe95 \end{verbatim}96 %97 \marge The result of \ttt{geogrid.exe}98 -- and thus the definition of the mesoscale99 domain -- can be checked in the NETCDF100 file \ttt{geo\_em.d01.nc}.101 %102 A quick check can be performed using the command line103 \begin{verbatim}104 ncview geo_em.d01.nc105 \end{verbatim}106 \marge if \ttt{ncview} is installed, or the \ttt{IDL}107 script \ttt{out\_geo.pro}108 \begin{verbatim}109 idl110 IDL> out_geo, field1='TOPO'111 IDL> out_geo, field1='TI'112 IDL> SPAWN, 'ghostview geo_em.d01_HGT_M.ps &'113 IDL> SPAWN, 'ghostview geo_em.d01_THERMAL_INERTIA.ps &'114 IDL> exit115 \end{verbatim}116 \marge if the demo version of \ttt{IDL} is installed.117 %118 Of course if your favorite graphical tool supports119 the NETCDF standard, you might use it to check the120 domain definition in \ttt{geo\_em.d01.nc}.121 122 \mk123 \marge If you are unhappy with the results or124 you want to change125 the location of the mesoscale domain on the planet,126 the horizontal resolution,127 the number of grid points \ldots,128 please modify the parameter129 file \ttt{namelist.wps} and execute again \ttt{geogrid.exe}.130 %131 Here are the contents of \ttt{namelist.wps}:132 %133 \codesource{namelist.wps_TEST}134 135 \begin{finger}136 %137 \item No input meteorological data138 are actually needed to execute \ttt{geogrid.exe}.139 %140 \item More details about the database and141 more options of interpolation could be142 found in the file \ttt{geogrid/GEOGRID.TBL}.143 %144 \item Defining several domains yields145 distinct files146 \ttt{geo\_em.d01.nc},147 \ttt{geo\_em.d02.nc},148 \ttt{geo\_em.d03.nc}\ldots149 \end{finger}150 151 \mk152 \marge Once the \ttt{geo\_em} file(s) are generated,153 the \ttt{metgrid.exe} program performs154 a similar horizontal interpolation155 of the meteorological fields to the mesoscale156 domain as the one performed by \ttt{geogrid.exe}157 for the surface data.158 %159 Then the program writes the results in160 \ttt{met\_em} files and also collects161 the static fields and domain parameters162 included in the \ttt{geo\_em} file(s)163 %164 Please type the following commands:165 \begin{verbatim}166 cd $LMDMOD/LMD_MM_MARS/your_install_dir/WPS167 ./metgrid.exe168 \end{verbatim}169 %170 \marge If every went well,171 the directory \ttt{\$LMDMOD/TMPDIR/WRFFEED}172 should contain the \ttt{met\_em.*} files.173 174 \mk175 \subsubsection{Step 3: Vertical interpolation on mesoscale levels}176 177 \mk178 \marge The last step is to execute \ttt{real.exe}179 to perform the interpolation from the vertical180 levels of the GCM to the vertical levels181 defined in the mesoscale model.182 %183 This program also prepares the final initial184 state for the simulation in files called185 \ttt{wrfinput} and the boundary conditions186 in files called \ttt{wrfbdy}.187 188 \mk189 \marge To successfully execute \ttt{real.exe},190 you need the \ttt{met\_em.*} files191 and the \ttt{namelist.input} file192 to be in the same directory as \ttt{real.exe}.193 %194 Parameters in \ttt{namelist.input}195 controlling the behavior of the vertical interpolation196 are those labelled with \ttt{(p3)} in the detailed197 list introduced in the previous chapter.198 199 \mk200 \marge Please type the following commands201 to prepare files for the Arsia Mons test case202 (or your personal test case if you changed203 the parameters in \ttt{namelist.wps}):204 \begin{verbatim}205 cd $LMDMOD/TESTCASE206 ln -sf $LMDMOD/WRFFEED/met_em* .207 ./real.exe208 \end{verbatim}209 210 \mk211 \marge The final message of the \ttt{real.exe}212 should claim the success of the processes and you213 are now ready to launch the integrations214 of the LMD Martian Mesoscale Model again215 with the \ttt{wrf.exe} command as in section216 \ref{sc:arsia}.217 218 \begin{finger}219 \item When you modify either220 \ttt{namelist.wps} or \ttt{namelist.input},221 make sure that the common parameters222 are exactly similar in both files223 (especially when running nested simulations)224 otherwise either \ttt{real.exe} or \ttt{wrf.exe}225 command will exit with an error message.226 \end{finger}227 %\pagebreak228 229 1 230 2 … … 248 20 249 21 \section{Grid nesting}\label{nests} 22 23 \codesource{namelist.wps_NEST} 250 24 251 25 \section{Tracers}
Note: See TracChangeset
for help on using the changeset viewer.