Changeset 11597 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIA.tex
- Timestamp:
- 2019-09-25T20:20:19+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIA.tex
r11596 r11597 9 9 \vfill 10 10 \begin{figure}[b] 11 %% ================================================================================================= 11 12 \subsubsection*{Changes record} 12 13 \begin{tabular}{l||l|m{0.65\linewidth}} … … 20 21 \end{figure} 21 22 23 %% ================================================================================================= 22 24 \section{Model output} 23 25 \label{sec:DIA_io_old} … … 45 47 %\gmcomment{ % start of gmcomment 46 48 49 %% ================================================================================================= 47 50 \section{Standard model output (IOM)} 48 51 \label{sec:DIA_iom} … … 103 106 even without a parallel-enabled NetCDF4 library, simply by employing only one dedicated I/O server. 104 107 108 %% ================================================================================================= 105 109 \subsection{XIOS: Reading and writing restart file} 106 110 … … 142 146 An older versions of XIOS do not support reading functionality. It's recommended to use at least XIOS2@1451. 143 147 148 %% ================================================================================================= 144 149 \subsection{XIOS: XML Inputs-Outputs Server} 145 150 151 %% ================================================================================================= 146 152 \subsubsection{Attached or detached mode?} 147 153 … … 178 184 The following subsection provides a typical example but the syntax will vary in different MPP environments. 179 185 186 %% ================================================================================================= 180 187 \subsubsection{Number of cpu used by XIOS in detached mode} 181 188 … … 192 199 \cmd|mpirun -np 62 ./nemo.exe : -np 2 ./xios_server.exe| 193 200 201 %% ================================================================================================= 194 202 \subsubsection{Control of XIOS: the context in iodef.xml} 195 203 … … 237 245 \end{table} 238 246 247 %% ================================================================================================= 239 248 \subsection{Practical issues} 240 249 250 %% ================================================================================================= 241 251 \subsubsection{Installation} 242 252 … … 247 257 {Extract and install XIOS} guide provides an example illustration of how this can be achieved. 248 258 259 %% ================================================================================================= 249 260 \subsubsection{Add your own outputs} 250 261 … … 303 314 \end{enumerate} 304 315 316 %% ================================================================================================= 305 317 \subsection{XML fundamentals} 306 318 319 %% ================================================================================================= 307 320 \subsubsection{ XML basic rules} 308 321 … … 314 327 See \href{http://www.xmlnews.org/docs/xml-basics.html}{here} for more details. 315 328 329 %% ================================================================================================= 316 330 \subsubsection{Structure of the XML file used in \NEMO} 317 331 … … 419 433 \end{table} 420 434 435 %% ================================================================================================= 421 436 \subsubsection{Nesting XML files} 422 437 … … 435 450 \end{xmllines} 436 451 452 %% ================================================================================================= 437 453 \subsubsection{Use of inheritance} 438 454 … … 475 491 Inherit (and overwrite, if needed) the attributes of a tag you are refering to. 476 492 493 %% ================================================================================================= 477 494 \subsubsection{Use of groups} 478 495 … … 516 533 \end{xmllines} 517 534 535 %% ================================================================================================= 518 536 \subsection{Detailed functionalities} 519 537 … … 521 539 the new functionalities offered by the XML interface of XIOS. 522 540 541 %% ================================================================================================= 523 542 \subsubsection{Define horizontal subdomains} 524 543 … … 562 581 We are therefore advising to use the ''one\_file'' type in this case. 563 582 583 %% ================================================================================================= 564 584 \subsubsection{Define vertical zooms} 565 585 … … 585 605 \end{xmllines} 586 606 607 %% ================================================================================================= 587 608 \subsubsection{Control of the output file names} 588 609 … … 657 678 \noindent will give the following file name radical: \ifile{myfile\_ORCA2\_19891231\_freq1d} 658 679 680 %% ================================================================================================= 659 681 \subsubsection{Other controls of the XML attributes from \NEMO} 660 682 … … 710 732 \end{table} 711 733 734 %% ================================================================================================= 712 735 \subsubsection{Advanced use of XIOS functionalities} 713 736 737 %% ================================================================================================= 714 738 \subsection{XML reference tables} 715 739 \label{subsec:DIA_IOM_xmlref} … … 858 882 field\_ref="sst" means that attributes not explicitely defined, are inherited from sst field. 859 883 884 %% ================================================================================================= 860 885 \subsubsection{Tag list per family} 861 886 … … 1051 1076 \end{table} 1052 1077 1078 %% ================================================================================================= 1053 1079 \subsubsection{Attributes list per family} 1054 1080 … … 1286 1312 \end{table} 1287 1313 1314 %% ================================================================================================= 1288 1315 \subsection{CF metadata standard compliance} 1289 1316 … … 1298 1325 This must be set to true if these metadata are to be included in the output files. 1299 1326 1327 %% ================================================================================================= 1300 1328 \section[NetCDF4 support (\texttt{\textbf{key\_netcdf4}})]{NetCDF4 support (\protect\key{netcdf4})} 1301 1329 \label{sec:DIA_nc4} … … 1315 1343 setting the \np{ln_nc4zip}{ln\_nc4zip} logical to false in the \nam{nc4}{nc4} namelist: 1316 1344 1317 %------------------------------------------namnc4----------------------------------------------------1318 1345 1319 1346 \begin{listing} … … 1322 1349 \label{lst:namnc4} 1323 1350 \end{listing} 1324 %-------------------------------------------------------------------------------------------------------------1325 1351 1326 1352 If \key{netcdf4} has not been defined, these namelist parameters are not read. … … 1367 1393 each processing region. 1368 1394 1369 %------------------------------------------TABLE----------------------------------------------------1370 1395 \begin{table} 1371 1396 \centering … … 1403 1428 \label{tab:DIA_NC4} 1404 1429 \end{table} 1405 %----------------------------------------------------------------------------------------------------1406 1430 1407 1431 When \key{iomput} is activated with \key{netcdf4} chunking and compression parameters for fields produced via … … 1414 1438 the invidual processing regions and different chunking choices may be desired. 1415 1439 1440 %% ================================================================================================= 1416 1441 \section[Tracer/Dynamics trends (\forcode{&namtrd})]{Tracer/Dynamics trends (\protect\nam{trd}{trd})} 1417 1442 \label{sec:DIA_trd} 1418 1443 1419 %------------------------------------------namtrd----------------------------------------------------1420 1444 1421 1445 \begin{listing} … … 1424 1448 \label{lst:namtrd} 1425 1449 \end{listing} 1426 %-------------------------------------------------------------------------------------------------------------1427 1450 1428 1451 Each trend of the dynamics and/or temperature and salinity time evolution equations can be send to … … 1462 1485 and none of the options have been tested with variable volume (\ie\ \np[=.true.]{ln_linssh}{ln\_linssh}). 1463 1486 1487 %% ================================================================================================= 1464 1488 \section[FLO: On-Line Floats trajectories (\texttt{\textbf{key\_floats}})]{FLO: On-Line Floats trajectories (\protect\key{floats})} 1465 1489 \label{sec:DIA_FLO} 1466 %--------------------------------------------namflo-------------------------------------------------------1467 1490 1468 1491 \begin{listing} … … 1471 1494 \label{lst:namflo} 1472 1495 \end{listing} 1473 %--------------------------------------------------------------------------------------------------------------1474 1496 1475 1497 The on-line computation of floats advected either by the three dimensional velocity field or constraint to … … 1481 1503 are consistent with the numeric of the code, so that the trajectories never intercept the bathymetry. 1482 1504 1505 %% ================================================================================================= 1483 1506 \subsubsection{Input data: initial coordinates} 1484 1507 … … 1538 1561 \np{jpnflnewflo}{jpnflnewflo} can be added in the initialization file. 1539 1562 1563 %% ================================================================================================= 1540 1564 \subsubsection{Output data} 1541 1565 … … 1564 1588 \end{xmllines} 1565 1589 1590 %% ================================================================================================= 1566 1591 \section[Harmonic analysis of tidal constituents (\texttt{\textbf{key\_diaharm}})]{Harmonic analysis of tidal constituents (\protect\key{diaharm})} 1567 1592 \label{sec:DIA_diag_harm} 1568 1593 1569 %------------------------------------------nam_diaharm----------------------------------------------------1570 1594 % 1571 1595 \begin{listing} … … 1574 1598 \label{lst:nam_diaharm} 1575 1599 \end{listing} 1576 %----------------------------------------------------------------------------------------------------------1577 1600 1578 1601 A module is available to compute the amplitude and phase of tidal waves. … … 1612 1635 We obtain in output $C_{j}$ and $S_{j}$ for each tidal wave. 1613 1636 1637 %% ================================================================================================= 1614 1638 \section[Transports across sections (\texttt{\textbf{key\_diadct}})]{Transports across sections (\protect\key{diadct})} 1615 1639 \label{sec:DIA_diag_dct} 1616 1640 1617 %------------------------------------------nam_diadct----------------------------------------------------1618 1641 1619 1642 \begin{listing} … … 1622 1645 \label{lst:nam_diadct} 1623 1646 \end{listing} 1624 %-------------------------------------------------------------------------------------------------------------1625 1647 1626 1648 A module is available to compute the transport of volume, heat and salt through sections. … … 1646 1668 \np{nn_debug}{nn\_debug} : debugging of the section 1647 1669 1670 %% ================================================================================================= 1648 1671 \subsubsection{Creating a binary file containing the pathway of each section} 1649 1672 … … 1717 1740 } 1718 1741 1742 %% ================================================================================================= 1719 1743 \subsubsection{To read the output files} 1720 1744 … … 1755 1779 \end{table} 1756 1780 1781 %% ================================================================================================= 1757 1782 \section{Diagnosing the steric effect in sea surface height} 1758 1783 \label{sec:DIA_steric} … … 1931 1956 Both steric and thermosteric sea level are computed in \mdl{diaar5}. 1932 1957 1958 %% ================================================================================================= 1933 1959 \section{Other diagnostics} 1934 1960 \label{sec:DIA_diag_others} … … 1937 1963 The available ready-to-add diagnostics modules can be found in directory DIA. 1938 1964 1965 %% ================================================================================================= 1939 1966 \subsection[Depth of various quantities (\textit{diahth.F90})]{Depth of various quantities (\protect\mdl{diahth})} 1940 1967 … … 1969 1996 % CMIP specific diagnostics 1970 1997 % ----------------------------------------------------------- 1998 %% ================================================================================================= 1971 1999 \subsection[CMIP specific diagnostics (\textit{diaar5.F90}, \textit{diaptr.F90})]{CMIP specific diagnostics (\protect\mdl{diaar5})} 1972 2000 … … 1987 2015 the Indo-Pacific mask been deduced from the sum of the Indian and Pacific mask (\autoref{fig:DIA_mask_subasins}). 1988 2016 1989 %------------------------------------------namptr-----------------------------------------1990 2017 1991 2018 \begin{listing} … … 1994 2021 \label{lst:namptr} 1995 2022 \end{listing} 1996 %-----------------------------------------------------------------------------------------1997 2023 1998 2024 % ----------------------------------------------------------- 1999 2025 % 25 hour mean and hourly Surface, Mid and Bed 2000 2026 % ----------------------------------------------------------- 2027 %% ================================================================================================= 2001 2028 \subsection{25 hour mean output for tidal models} 2002 2029 2003 %------------------------------------------nam_dia25h-------------------------------------2004 2030 2005 2031 \begin{listing} … … 2008 2034 \label{lst:nam_dia25h} 2009 2035 \end{listing} 2010 %-----------------------------------------------------------------------------------------2011 2036 2012 2037 A module is available to compute a crudely detided M2 signal by obtaining a 25 hour mean. … … 2018 2043 % Top Middle and Bed hourly output 2019 2044 % ----------------------------------------------------------- 2045 %% ================================================================================================= 2020 2046 \subsection{Top middle and bed hourly output} 2021 2047 2022 %------------------------------------------nam_diatmb-----------------------------------------------------2023 2048 2024 2049 \begin{listing} … … 2027 2052 \label{lst:nam_diatmb} 2028 2053 \end{listing} 2029 %----------------------------------------------------------------------------------------------------------2030 2054 2031 2055 A module is available to output the surface (top), mid water and bed diagnostics of a set of standard variables. … … 2038 2062 % Courant numbers 2039 2063 % ----------------------------------------------------------- 2064 %% ================================================================================================= 2040 2065 \subsection{Courant numbers} 2041 2066
Note: See TracChangeset
for help on using the changeset viewer.