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 3051 for branches/2011/dev_MERCATOR_2011_MERGE/DOC/TexFiles/Chapters/Chap_DIA.tex – NEMO

Ignore:
Timestamp:
2011-11-07T16:03:29+01:00 (12 years ago)
Author:
cbricaud
Message:

add changes from dev_r2802_MERCATOR9_floats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_MERCATOR_2011_MERGE/DOC/TexFiles/Chapters/Chap_DIA.tex

    r3049 r3051  
    681681numeric of the code, so that the trajectories never intercept the bathymetry.  
    682682 
     683\subsubsection{ Input data: initial coordinates } 
     684 
     685Initial coordinates can be given with Ariane Tools convention ( IJK coordinates ,(\np{ln\_ariane}=true) ) 
     686or with longitude and latitude. 
     687 
     688 
     689In case of Ariane convention, input filename is \np{"init\_float\_ariane"}. Its format is: 
     690 
     691\texttt{ I J K nisobfl itrash itrash } 
     692 
     693\noindent with:  
     694 
     695 - I,J,K  : indexes of initial position 
     696 
     697 - nisobfl: 0 for an isobar float, 1 for a float following the w velocity   
     698 
     699 - itrash : set to zero; it is a dummy variable to respect Ariane Tools convention 
     700 
     701 - itrash :set to zero; it is a dummy variable to respect Ariane Tools convention 
     702 
     703\noindent Example:\\ 
     704\noindent \texttt{ 100.00000  90.00000  -1.50000 1.00000   0.00000}\\ 
     705\texttt{ 102.00000  90.00000  -1.50000 1.00000   0.00000}\\ 
     706\texttt{ 104.00000  90.00000  -1.50000 1.00000   0.00000}\\ 
     707\texttt{ 106.00000  90.00000  -1.50000 1.00000   0.00000}\\ 
     708\texttt{ 108.00000  90.00000  -1.50000 1.00000   0.00000}\\ 
     709 
     710 
     711In the other case ( longitude and latitude ), input filename is \np{"init\_float"}. Its format is: 
     712 
     713\texttt{ Long Lat depth nisobfl ngrpfl itrash} 
     714 
     715\noindent with: 
     716 
     717 - Long, Lat, depth  : Longitude, latitude, depth 
     718 
     719 - nisobfl: 0 for an isobar float, 1 for a float following the w velocity 
     720 
     721 - ngrpfl : number to identify searcher group 
     722 
     723 - itrash :set to 1; it is a dummy variable. 
     724 
     725\noindent Example: 
     726 
     727\noindent\texttt{  20.0 0.0 0.0 0 1 1 }\\ 
     728\texttt{ -21.0 0.0 0.0 0 1 1 }\\ 
     729\texttt{ -22.0 0.0 0.0 0 1 1 }\\ 
     730\texttt{ -23.0 0.0 0.0 0 1 1 }\\ 
     731\texttt{ -24.0 0.0 0.0 0 1 1 }\\ 
     732 
     733\np{jpnfl} is the total number of floats during the run. 
     734When initial positions are read in a restart file ( \np{ln\_rstflo= .TRUE.} ),  \np{jpnflnewflo} 
     735can be added in the initialization file.  
     736 
     737\subsubsection{ Output data } 
     738 
     739\np{nn\_writefl} is the frequency of writing in float output file and \np{nn\_stockfl}  
     740is the frequency of creation of the float restart file. 
     741 
     742Output data can be written in ascii files (\np{ln\_flo\_ascii = .TRUE.} ). In that case,  
     743output filename is \np{is trajec\_float}. 
     744 
     745Another possiblity of writing format is Netcdf (\np{ln\_flo\_ascii = .FALSE.} ). There are 2 possibilities: 
     746 
     747 - if (\key{iomput}) is used, outputs are selected in  \np{iodef.xml}. Here it is an example of specification  
     748   to put in files description section: 
     749 
     750\vspace{-30pt} 
     751\begin{alltt}  {{\scriptsize 
     752\begin{verbatim} 
     753 
     754     <group id="1d\_grid\_T" name="auto" description="ocean T grid variables" >   } 
     755       <file id="floats"  description="floats variables"> }\\ 
     756           <field ref="traj\_lon"   name="floats\_longitude"   freq\_op="86400" />} 
     757           <field ref="traj\_lat"   name="floats\_latitude"    freq\_op="86400" />} 
     758           <field ref="traj\_dep"   name="floats\_depth"       freq\_op="86400" />} 
     759           <field ref="traj\_temp"  name="floats\_temperature" freq\_op="86400" />} 
     760           <field ref="traj\_salt"  name="floats\_salinity"    freq\_op="86400" />} 
     761           <field ref="traj\_dens"  name="floats\_density"     freq\_op="86400" />} 
     762           <field ref="traj\_group" name="floats\_group"       freq\_op="86400" />} 
     763       </file>} 
     764  </group>} 
     765 
     766\end{verbatim} 
     767}}\end{alltt} 
     768 
     769 
     770 -  if (\key{iomput}) is not used, a file called \np{trajec\_float.nc} will be created by IOIPSL library. 
     771 
     772 
     773 
    683774See also \href{http://stockage.univ-brest.fr/~grima/Ariane/}{here} the web site describing  
    684775the off-line use of this marvellous diagnostic tool. 
Note: See TracChangeset for help on using the changeset viewer.