New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11597 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIA.tex – NEMO

Ignore:
Timestamp:
2019-09-25T20:20:19+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Continuation of coding rules application
Recovery of some sections deleted by the previous commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIA.tex

    r11596 r11597  
    99\vfill 
    1010\begin{figure}[b] 
     11%% ================================================================================================= 
    1112\subsubsection*{Changes record} 
    1213\begin{tabular}{l||l|m{0.65\linewidth}} 
     
    2021\end{figure} 
    2122 
     23%% ================================================================================================= 
    2224\section{Model output} 
    2325\label{sec:DIA_io_old} 
     
    4547%\gmcomment{                    % start of gmcomment 
    4648 
     49%% ================================================================================================= 
    4750\section{Standard model output (IOM)} 
    4851\label{sec:DIA_iom} 
     
    103106even without a parallel-enabled NetCDF4 library, simply by employing only one dedicated I/O server. 
    104107 
     108%% ================================================================================================= 
    105109\subsection{XIOS: Reading and writing restart file} 
    106110 
     
    142146An older versions of XIOS do not support reading functionality. It's recommended to use at least XIOS2@1451. 
    143147 
     148%% ================================================================================================= 
    144149\subsection{XIOS: XML Inputs-Outputs Server} 
    145150 
     151%% ================================================================================================= 
    146152\subsubsection{Attached or detached mode?} 
    147153 
     
    178184The following subsection provides a typical example but the syntax will vary in different MPP environments. 
    179185 
     186%% ================================================================================================= 
    180187\subsubsection{Number of cpu used by XIOS in detached mode} 
    181188 
     
    192199\cmd|mpirun -np 62 ./nemo.exe : -np 2 ./xios_server.exe| 
    193200 
     201%% ================================================================================================= 
    194202\subsubsection{Control of XIOS: the context in iodef.xml} 
    195203 
     
    237245\end{table} 
    238246 
     247%% ================================================================================================= 
    239248\subsection{Practical issues} 
    240249 
     250%% ================================================================================================= 
    241251\subsubsection{Installation} 
    242252 
     
    247257{Extract and install XIOS} guide provides an example illustration of how this can be achieved. 
    248258 
     259%% ================================================================================================= 
    249260\subsubsection{Add your own outputs} 
    250261 
     
    303314\end{enumerate} 
    304315 
     316%% ================================================================================================= 
    305317\subsection{XML fundamentals} 
    306318 
     319%% ================================================================================================= 
    307320\subsubsection{ XML basic rules} 
    308321 
     
    314327See \href{http://www.xmlnews.org/docs/xml-basics.html}{here} for more details. 
    315328 
     329%% ================================================================================================= 
    316330\subsubsection{Structure of the XML file used in \NEMO} 
    317331 
     
    419433\end{table} 
    420434 
     435%% ================================================================================================= 
    421436\subsubsection{Nesting XML files} 
    422437 
     
    435450\end{xmllines} 
    436451 
     452%% ================================================================================================= 
    437453\subsubsection{Use of inheritance} 
    438454 
     
    475491Inherit (and overwrite, if needed) the attributes of a tag you are refering to. 
    476492 
     493%% ================================================================================================= 
    477494\subsubsection{Use of groups} 
    478495 
     
    516533\end{xmllines} 
    517534 
     535%% ================================================================================================= 
    518536\subsection{Detailed functionalities} 
    519537 
     
    521539the new functionalities offered by the XML interface of XIOS. 
    522540 
     541%% ================================================================================================= 
    523542\subsubsection{Define horizontal subdomains} 
    524543 
     
    562581We are therefore advising to use the ''one\_file'' type in this case. 
    563582 
     583%% ================================================================================================= 
    564584\subsubsection{Define vertical zooms} 
    565585 
     
    585605\end{xmllines} 
    586606 
     607%% ================================================================================================= 
    587608\subsubsection{Control of the output file names} 
    588609 
     
    657678\noindent will give the following file name radical: \ifile{myfile\_ORCA2\_19891231\_freq1d} 
    658679 
     680%% ================================================================================================= 
    659681\subsubsection{Other controls of the XML attributes from \NEMO} 
    660682 
     
    710732\end{table} 
    711733 
     734%% ================================================================================================= 
    712735\subsubsection{Advanced use of XIOS functionalities} 
    713736 
     737%% ================================================================================================= 
    714738\subsection{XML reference tables} 
    715739\label{subsec:DIA_IOM_xmlref} 
     
    858882field\_ref="sst" means that attributes not explicitely defined, are inherited from sst field. 
    859883 
     884%% ================================================================================================= 
    860885\subsubsection{Tag list per family} 
    861886 
     
    10511076\end{table} 
    10521077 
     1078%% ================================================================================================= 
    10531079\subsubsection{Attributes list per family} 
    10541080 
     
    12861312\end{table} 
    12871313 
     1314%% ================================================================================================= 
    12881315\subsection{CF metadata standard compliance} 
    12891316 
     
    12981325This must be set to true if these metadata are to be included in the output files. 
    12991326 
     1327%% ================================================================================================= 
    13001328\section[NetCDF4 support (\texttt{\textbf{key\_netcdf4}})]{NetCDF4 support (\protect\key{netcdf4})} 
    13011329\label{sec:DIA_nc4} 
     
    13151343setting the \np{ln_nc4zip}{ln\_nc4zip} logical to false in the \nam{nc4}{nc4} namelist: 
    13161344 
    1317 %------------------------------------------namnc4---------------------------------------------------- 
    13181345 
    13191346\begin{listing} 
     
    13221349  \label{lst:namnc4} 
    13231350\end{listing} 
    1324 %------------------------------------------------------------------------------------------------------------- 
    13251351 
    13261352If \key{netcdf4} has not been defined, these namelist parameters are not read. 
     
    13671393each processing region. 
    13681394 
    1369 %------------------------------------------TABLE---------------------------------------------------- 
    13701395\begin{table} 
    13711396  \centering 
     
    14031428  \label{tab:DIA_NC4} 
    14041429\end{table} 
    1405 %---------------------------------------------------------------------------------------------------- 
    14061430 
    14071431When \key{iomput} is activated with \key{netcdf4} chunking and compression parameters for fields produced via 
     
    14141438the invidual processing regions and different chunking choices may be desired. 
    14151439 
     1440%% ================================================================================================= 
    14161441\section[Tracer/Dynamics trends (\forcode{&namtrd})]{Tracer/Dynamics trends (\protect\nam{trd}{trd})} 
    14171442\label{sec:DIA_trd} 
    14181443 
    1419 %------------------------------------------namtrd---------------------------------------------------- 
    14201444 
    14211445\begin{listing} 
     
    14241448  \label{lst:namtrd} 
    14251449\end{listing} 
    1426 %------------------------------------------------------------------------------------------------------------- 
    14271450 
    14281451Each trend of the dynamics and/or temperature and salinity time evolution equations can be send to 
     
    14621485and none of the options have been tested with variable volume (\ie\ \np[=.true.]{ln_linssh}{ln\_linssh}). 
    14631486 
     1487%% ================================================================================================= 
    14641488\section[FLO: On-Line Floats trajectories (\texttt{\textbf{key\_floats}})]{FLO: On-Line Floats trajectories (\protect\key{floats})} 
    14651489\label{sec:DIA_FLO} 
    1466 %--------------------------------------------namflo------------------------------------------------------- 
    14671490 
    14681491\begin{listing} 
     
    14711494  \label{lst:namflo} 
    14721495\end{listing} 
    1473 %-------------------------------------------------------------------------------------------------------------- 
    14741496 
    14751497The on-line computation of floats advected either by the three dimensional velocity field or constraint to 
     
    14811503are consistent with the numeric of the code, so that the trajectories never intercept the bathymetry. 
    14821504 
     1505%% ================================================================================================= 
    14831506\subsubsection{Input data: initial coordinates} 
    14841507 
     
    15381561\np{jpnflnewflo}{jpnflnewflo} can be added in the initialization file. 
    15391562 
     1563%% ================================================================================================= 
    15401564\subsubsection{Output data} 
    15411565 
     
    15641588\end{xmllines} 
    15651589 
     1590%% ================================================================================================= 
    15661591\section[Harmonic analysis of tidal constituents (\texttt{\textbf{key\_diaharm}})]{Harmonic analysis of tidal constituents (\protect\key{diaharm})} 
    15671592\label{sec:DIA_diag_harm} 
    15681593 
    1569 %------------------------------------------nam_diaharm---------------------------------------------------- 
    15701594% 
    15711595\begin{listing} 
     
    15741598  \label{lst:nam_diaharm} 
    15751599\end{listing} 
    1576 %---------------------------------------------------------------------------------------------------------- 
    15771600 
    15781601A module is available to compute the amplitude and phase of tidal waves. 
     
    16121635We obtain in output $C_{j}$ and $S_{j}$ for each tidal wave. 
    16131636 
     1637%% ================================================================================================= 
    16141638\section[Transports across sections (\texttt{\textbf{key\_diadct}})]{Transports across sections (\protect\key{diadct})} 
    16151639\label{sec:DIA_diag_dct} 
    16161640 
    1617 %------------------------------------------nam_diadct---------------------------------------------------- 
    16181641 
    16191642\begin{listing} 
     
    16221645  \label{lst:nam_diadct} 
    16231646\end{listing} 
    1624 %------------------------------------------------------------------------------------------------------------- 
    16251647 
    16261648A module is available to compute the transport of volume, heat and salt through sections. 
     
    16461668\np{nn_debug}{nn\_debug} : debugging of the section 
    16471669 
     1670%% ================================================================================================= 
    16481671\subsubsection{Creating a binary file containing the pathway of each section} 
    16491672 
     
    17171740 } 
    17181741 
     1742%% ================================================================================================= 
    17191743\subsubsection{To read the output files} 
    17201744 
     
    17551779\end{table} 
    17561780 
     1781%% ================================================================================================= 
    17571782\section{Diagnosing the steric effect in sea surface height} 
    17581783\label{sec:DIA_steric} 
     
    19311956Both steric and thermosteric sea level are computed in \mdl{diaar5}. 
    19321957 
     1958%% ================================================================================================= 
    19331959\section{Other diagnostics} 
    19341960\label{sec:DIA_diag_others} 
     
    19371963The available ready-to-add diagnostics modules can be found in directory DIA. 
    19381964 
     1965%% ================================================================================================= 
    19391966\subsection[Depth of various quantities (\textit{diahth.F90})]{Depth of various quantities (\protect\mdl{diahth})} 
    19401967 
     
    19691996%       CMIP specific diagnostics 
    19701997% ----------------------------------------------------------- 
     1998%% ================================================================================================= 
    19711999\subsection[CMIP specific diagnostics (\textit{diaar5.F90}, \textit{diaptr.F90})]{CMIP specific diagnostics (\protect\mdl{diaar5})} 
    19722000 
     
    19872015the Indo-Pacific mask been deduced from the sum of the Indian and Pacific mask (\autoref{fig:DIA_mask_subasins}). 
    19882016 
    1989 %------------------------------------------namptr----------------------------------------- 
    19902017 
    19912018\begin{listing} 
     
    19942021  \label{lst:namptr} 
    19952022\end{listing} 
    1996 %----------------------------------------------------------------------------------------- 
    19972023 
    19982024% ----------------------------------------------------------- 
    19992025%       25 hour mean and hourly Surface, Mid and Bed 
    20002026% ----------------------------------------------------------- 
     2027%% ================================================================================================= 
    20012028\subsection{25 hour mean output for tidal models} 
    20022029 
    2003 %------------------------------------------nam_dia25h------------------------------------- 
    20042030 
    20052031\begin{listing} 
     
    20082034  \label{lst:nam_dia25h} 
    20092035\end{listing} 
    2010 %----------------------------------------------------------------------------------------- 
    20112036 
    20122037A module is available to compute a crudely detided M2 signal by obtaining a 25 hour mean. 
     
    20182043%     Top Middle and Bed hourly output 
    20192044% ----------------------------------------------------------- 
     2045%% ================================================================================================= 
    20202046\subsection{Top middle and bed hourly output} 
    20212047 
    2022 %------------------------------------------nam_diatmb----------------------------------------------------- 
    20232048 
    20242049\begin{listing} 
     
    20272052  \label{lst:nam_diatmb} 
    20282053\end{listing} 
    2029 %---------------------------------------------------------------------------------------------------------- 
    20302054 
    20312055A module is available to output the surface (top), mid water and bed diagnostics of a set of standard variables. 
     
    20382062%     Courant numbers 
    20392063% ----------------------------------------------------------- 
     2064%% ================================================================================================= 
    20402065\subsection{Courant numbers} 
    20412066 
Note: See TracChangeset for help on using the changeset viewer.