Changeset 11577 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_misc.tex
- Timestamp:
- 2019-09-19T19:01:38+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/NEMO/subfiles/chap_misc.tex
r11571 r11577 53 53 \begin{itemize} 54 54 55 \item Add \texttt{e1e2u} and \texttt{e1e2v} arrays to the \np{cn \_domcfg} file. These 2D55 \item Add \texttt{e1e2u} and \texttt{e1e2v} arrays to the \np{cn_domcfg}{cn\_domcfg} file. These 2D 56 56 arrays should contain the products of the unaltered values of: $\texttt{e1u}*\texttt{e2u}$ 57 57 and $\texttt{e1u}*\texttt{e2v}$ respectively. That is the original surface areas of $u$- 58 58 and $v$- cells respectively. These areas are usually defined by the corresponding product 59 59 within the \NEMO\ code but the presence of \texttt{e1e2u} and \texttt{e1e2v} in the 60 \np{cn \_domcfg} file will suppress this calculation and use the supplied fields instead.60 \np{cn_domcfg}{cn\_domcfg} file will suppress this calculation and use the supplied fields instead. 61 61 If the model domain is provided by user-supplied code in \mdl{usrdef\_hgr}, then this 62 62 routine should also return \texttt{e1e2u} and \texttt{e1e2v} and set the integer return … … 64 64 will suppress the calculation of the areas. 65 65 66 \item Change values of \texttt{e2u} or \texttt{e1v} (either in the \np{cn \_domcfg} file or66 \item Change values of \texttt{e2u} or \texttt{e1v} (either in the \np{cn_domcfg}{cn\_domcfg} file or 67 67 via code in \mdl{usrdef\_hgr}), whereever a Strait reduction is required. The choice of 68 68 whether to alter \texttt{e2u} or \texttt{e1v} depends. respectively, on whether the … … 198 198 maintain different sets of input fields for use with or without active ice cavities. This 199 199 subsetting operates for the j-direction only and works by optionally looking for and using 200 a global file attribute (named: \np{open \_ocean\_jstart}) to determine the starting j-row200 a global file attribute (named: \np{open_ocean_jstart}{open\_ocean\_jstart}) to determine the starting j-row 201 201 for input. The use of this option is best explained with an example: 202 202 \medskip … … 206 206 This file define a horizontal domain of 362x332. The first row with 207 207 open ocean wet points in the non-isf bathymetry for this set is row 42 (\fortran\ indexing) 208 then the formally correct setting for \np{open \_ocean\_jstart} is 41. Using this value as208 then the formally correct setting for \np{open_ocean_jstart}{open\_ocean\_jstart} is 41. Using this value as 209 209 the first row to be read will result in a 362x292 domain which is the same size as the 210 210 original ORCA1 domain. Thus the extended domain configuration file can be used with all … … 218 218 \end{cmds} 219 219 220 \item Add the logical switch \np{ln \_use\_jattr} to \nam{cfg} in the configuration221 namelist (if it is not already there) and set \ np{.true.}220 \item Add the logical switch \np{ln_use_jattr}{ln\_use\_jattr} to \nam{cfg} in the configuration 221 namelist (if it is not already there) and set \forcode{.true.} 222 222 \end{itemize} 223 223 224 224 \noindent Note that with this option, the j-size of the global domain is (extended 225 j-size minus \np{open \_ocean\_jstart} + 1 ) and this must match the \texttt{jpjglo} value225 j-size minus \np{open_ocean_jstart}{open\_ocean\_jstart} + 1 ) and this must match the \texttt{jpjglo} value 226 226 for the configuration. This means an alternative version of \ifile{eORCA1\_domcfg.nc} must 227 be created for when \np{ln \_use\_jattr} is active. The \texttt{ncap2} tool provides a227 be created for when \np{ln_use_jattr}{ln\_use\_jattr} is active. The \texttt{ncap2} tool provides a 228 228 convenient way of achieving this: 229 229 … … 237 237 \texttt{open\_ocean\_jstart} attribute to the file's global attributes. 238 238 In particular this is true for any field that is read by \NEMO\ using the following optional argument to 239 the appropriate call to \np{iom \_get}.239 the appropriate call to \np{iom_get}{iom\_get}. 240 240 241 241 \begin{forlines} … … 332 332 This alternative method should give identical results to the default \textsc{ALLGATHER} method and 333 333 is recommended for large values of \np{jpni}. 334 The new method is activated by setting \np{ln \_nnogather} to be true (\nam{mpp}).334 The new method is activated by setting \np{ln_nnogather}{ln\_nnogather} to be true (\nam{mpp}). 335 335 The reproducibility of results using the two methods should be confirmed for each new, 336 336 non-reference configuration. … … 364 364 \subsection{Control print} 365 365 366 The \np{ln \_ctl} switch was originally used as a debugging option in two modes:366 The \np{ln_ctl}{ln\_ctl} switch was originally used as a debugging option in two modes: 367 367 368 368 \begin{enumerate} 369 \item{\np{ln \_ctl}: compute and print the trends averaged over the interior domain in all TRA, DYN, LDF and369 \item{\np{ln_ctl}{ln\_ctl}: compute and print the trends averaged over the interior domain in all TRA, DYN, LDF and 370 370 ZDF modules. 371 371 This option is very helpful when diagnosing the origin of an undesired change in model results. } 372 372 373 \item{also \np{ln \_ctl} but using the nictl and njctl namelist parameters to check the source of differences between373 \item{also \np{ln_ctl}{ln\_ctl} but using the nictl and njctl namelist parameters to check the source of differences between 374 374 mono and multi processor runs.} 375 375 \end{enumerate} 376 376 377 377 However, in recent versions it has also been used to force all processors to assume the 378 reporting role. Thus when \np{ln \_ctl} is true all processors produce their own versions378 reporting role. Thus when \np{ln_ctl}{ln\_ctl} is true all processors produce their own versions 379 379 of files such as: ocean.output, layout.dat, etc. All such files, beyond the the normal 380 380 reporting processor (narea == 1), are named with a \_XXXX extension to their name, where … … 382 382 such as run.stat (and its netCDF counterpart: run.stat.nc) and tracer.stat contain global 383 383 information and are only ever produced by the reporting master (narea == 1). For version 384 4.0 a start has been made to return \np{ln \_ctl} to its original function by introducing384 4.0 a start has been made to return \np{ln_ctl}{ln\_ctl} to its original function by introducing 385 385 a new control structure which allows finer control over which files are produced. This 386 386 feature is still evolving but it does already allow the user to: select individually the
Note: See TracChangeset
for help on using the changeset viewer.