Commit 9a52b1f7 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

Merge branch 'develop' of gitlab.dkrz.de:mpim-sw/cdo into develop

parents 2085f283 a97ad5f3
......@@ -424,4 +424,33 @@ in \htmlref{Appendix D}{appendixgrid}.
% curvilinear (krummlinig)
% generic
% retilinear (geradlinig)
% retilinear (geradlinig)
\subsection{ICON - Grid File Server}
\label{GRID_FILE_SERVER}
The geographic coordinates of the ICON model are located on an unstructured grid.
This grid is stored in a separate grid file independent of the model data.
The grid files are made available to the general public via a file server.
Furthermore, these grid files are located at DKRZ under \texttt{/pool/data/ICON/grids}.
With the {\CDO} function \texttt{setgrid,<gridfile>} this grid information can be added to the data if needed.
Here is an example:
\begin{lstlisting}[frame=single, backgroundcolor=\color{pcolor2}, basicstyle=\ttfamily, columns=flexible]
cdo sellonlatbox,-20,60,10,70 -setgrid,<path_to_gridfile> icondatafile result
\end{lstlisting}
ICON model data in NetCDF format contains the global attribute \texttt{grid\_file\_uri}.
This attribute contains a link to the appropriate grid file on the ICON grid file server.
If the global attribute \texttt{grid\_file\_uri }is present and valid, the grid information is added automatically.
The \texttt{setgrid} function is then no longer necessary.
{\CDO} evaluates this attribute and downloads the grid file on demand if it is not already present.
The grid file is stored in the current directory.
The environment variable \texttt{CDO\_DOWNLOAD\_PATH} can be used to select a different directory for storing the grid file.
If the grid files are available locally, like at DKRZ, they do not need to be fetched from the grid file server.
Use the environment variable \texttt{CDO\_ICON\_GRIDS} to set the root directory of the ICON grids.
Here is an example for the ICON grids at DKRZ:
\begin{lstlisting}[frame=single, backgroundcolor=\color{pcolor2}, basicstyle=\ttfamily, columns=flexible]
CDO_ICON_GRIDS=/pool/data/ICON
\end{lstlisting}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment