Ignore:
Timestamp:
2015-07-15T17:46:12+02:00 (5 years ago)
Author:
andrewryan
Message:

merged in latest version of trunk alongside changes to SAO_SRC to be compatible with latest OBS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4650_UKMO14.12_STAND_ALONE_OBSOPER/DOC/TexFiles/Chapters/Chap_MISC.tex

    r4147 r5600  
    141141computational domain is laid out on local processor memories following a 2D  
    142142horizontal splitting. % (see {\S}IV.2-c) ref to the section to be updated 
     143 
     144\subsection{Simple subsetting of input files via netCDF attributes} 
     145 
     146The extended grids for use with the under-shelf ice cavities will result in redundant rows 
     147around Antarctica if the ice cavities are not active. A simple mechanism for subsetting 
     148input files associated with the extended domains has been implemented to avoid the need to 
     149maintain different sets of input fields for use with or without active ice cavities. The 
     150existing 'zoom' options are overly complex for this task and marked for deletion anyway. 
     151This alternative subsetting operates for the j-direction only and works by optionally 
     152looking for and using a global file attribute (named: \np{open\_ocean\_jstart}) to 
     153determine the starting j-row for input. The use of this option is best explained with an 
     154example: Consider an ORCA1 configuration using the extended grid bathymetry and coordinate 
     155files: 
     156\vspace{-10pt} 
     157\begin{alltt} 
     158\tiny 
     159\begin{verbatim} 
     160eORCA1_bathymetry_v2.nc 
     161eORCA1_coordinates.nc 
     162\end{verbatim} 
     163\end{alltt} 
     164\noindent These files define a horizontal domain of 362x332. Assuming the first row with 
     165open ocean wet points in the non-isf bathymetry for this set is row 42 (Fortran indexing) 
     166then the formally correct setting for \np{open\_ocean\_jstart} is 41. Using this value as the 
     167first row to be read will result in a 362x292 domain which is the same size as the original 
     168ORCA1 domain. Thus the extended coordinates and bathymetry files can be used with all the 
     169original input files for ORCA1 if the ice cavities are not active (\np{ln\_isfcav = 
     170.false.}). Full instructions for achieving this are: 
     171 
     172\noindent Add the new attribute to any input files requiring a j-row offset, i.e: 
     173\vspace{-10pt} 
     174\begin{alltt} 
     175\tiny 
     176\begin{verbatim} 
     177ncatted  -a open_ocean_jstart,global,a,d,41 eORCA1_coordinates.nc  
     178ncatted  -a open_ocean_jstart,global,a,d,41 eORCA1_bathymetry_v2.nc 
     179\end{verbatim} 
     180\end{alltt} 
     181  
     182\noindent Add the logical switch to \ngn{namcfg} in the configuration namelist and set true: 
     183%--------------------------------------------namcfg-------------------------------------------------------- 
     184\namdisplay{namcfg_orca1} 
     185%-------------------------------------------------------------------------------------------------------------- 
     186 
     187\noindent Note the j-size of the global domain is the (extended j-size minus 
     188\np{open\_ocean\_jstart} + 1 ) and this must match the size of all datasets other than 
     189bathymetry and coordinates currently. However the option can be extended to any global, 2D 
     190and 3D, netcdf, input field by adding the: 
     191\vspace{-10pt} 
     192\begin{alltt} 
     193\tiny 
     194\begin{verbatim} 
     195lrowattr=ln_use_jattr 
     196\end{verbatim} 
     197\end{alltt} 
     198optional argument to the appropriate \np{iom\_get} call and the \np{open\_ocean\_jstart} attribute to the corresponding input files. It remains the users responsibility to set \np{jpjdta} and \np{jpjglo} values in the \np{namelist\_cfg} file according to their needs. 
    143199 
    144200%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
Note: See TracChangeset for help on using the changeset viewer.