Commit 55831218 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Renamed FILETYPE_ to CDI_FILETYPE_.

parent 8b291c94
......@@ -69,7 +69,7 @@ This example reads the NetCDF file {\tt example.nc} from \htmlref{Appendix B.1}{
This example reads the NetCDF file {\tt example.nc} from \htmlref{Appendix B.1}{example_write}
and writes the result to a GRIB dataset by simple setting the output file type
to {\tt FILETYPE\_GRB}.
to {\tt CDI\_FILETYPE\_GRB}.
\lstinputlisting[language=C]
{../../examples/cdi_copy.c}
......@@ -763,7 +763,7 @@ The function {\tt gridInqYlongname} returns the longname of a Y-axis.
\subsubsection*{Usage}
\begin{verbatim}
void gridInqXlongname(int gridID, char *longname);
void gridInqYlongname(int gridID, char *longname);
\end{verbatim}
\hspace*{4mm}\begin{minipage}[]{15cm}
......
......@@ -640,7 +640,7 @@ gridInqYlongname
\fi
}
\begin{verbatim}
void gridInqXlongname(int gridID, char *longname);
void gridInqYlongname(int gridID, char *longname);
\end{verbatim}
Get the longname of a Y-axis
......
......@@ -17,9 +17,9 @@ The function {\tt streamOpenWrite} creates a new datset.
The name of the new dataset.
\item[{\tt filetype}]
The type of the file format, one of the set of predefined {\CDI} file format types.
The valid {\CDI} file format types are {\tt FILETYPE\_GRB}, {\tt FILETYPE\_GRB2}, {\tt FILETYPE\_NC},
{\tt FILETYPE\_NC2}, {\tt FILETYPE\_NC4}, {\tt FILETYPE\_NC4C}, {\tt FILETYPE\_SRV},
{\tt FILETYPE\_EXT} and {\tt FILETYPE\_IEG}.
The valid {\CDI} file format types are {\tt CDI\_FILETYPE\_GRB}, {\tt CDI\_FILETYPE\_GRB2}, {\tt CDI\_FILETYPE\_NC},
{\tt CDI\_FILETYPE\_NC2}, {\tt CDI\_FILETYPE\_NC4}, {\tt CDI\_FILETYPE\_NC4C}, {\tt CDI\_FILETYPE\_SRV},
{\tt CDI\_FILETYPE\_EXT} and {\tt CDI\_FILETYPE\_IEG}.
\end{deflist}
\end{minipage}
......@@ -57,7 +57,7 @@ Here is an example using {\tt streamOpenWrite} to create a new NetCDF file named
...
int streamID;
...
streamID = streamOpenWrite("foo.nc", FILETYPE_NC);
streamID = streamOpenWrite("foo.nc", CDI_FILETYPE_NC);
if ( streamID < 0 ) handle_error(streamID);
...
\end{lstlisting}
......@@ -168,8 +168,8 @@ Stream ID, from a previous call to {\htmlref{\tt streamOpenRead}{streamOpenRead}
{\tt streamInqFiletype} returns the type of the file format,
one of the set of predefined {\CDI} file format types.
The valid {\CDI} file format types are {\tt FILETYPE\_GRB}, {\tt FILETYPE\_GRB2}, {\tt FILETYPE\_NC}, {\tt FILETYPE\_NC2},
{\tt FILETYPE\_NC4}, {\tt FILETYPE\_NC4C}, {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} and {\tt FILETYPE\_IEG}.
The valid {\CDI} file format types are {\tt CDI\_FILETYPE\_GRB}, {\tt CDI\_FILETYPE\_GRB2}, {\tt CDI\_FILETYPE\_NC}, {\tt CDI\_FILETYPE\_NC2},
{\tt CDI\_FILETYPE\_NC4}, {\tt CDI\_FILETYPE\_NC4C}, {\tt CDI\_FILETYPE\_SRV}, {\tt CDI\_FILETYPE\_EXT} and {\tt CDI\_FILETYPE\_IEG}.
......@@ -178,7 +178,7 @@ The valid {\CDI} file format types are {\tt FILETYPE\_GRB}, {\tt FILETYPE\_GRB2}
\label{streamDefByteorder}
The function {\tt streamDefByteorder} defines the byte order of a binary dataset
with the file format type {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} or {\tt FILETYPE\_IEG}.
with the file format type {\tt CDI\_FILETYPE\_SRV}, {\tt CDI\_FILETYPE\_EXT} or {\tt CDI\_FILETYPE\_IEG}.
\subsubsection*{Usage}
......@@ -203,7 +203,7 @@ The byte order of a dataset, one of the {\CDI} constants {\tt CDI\_BIGENDIAN} an
\label{streamInqByteorder}
The function {\tt streamInqByteorder} returns the byte order of a binary dataset
with the file format type {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} or {\tt FILETYPE\_IEG}.
with the file format type {\tt CDI\_FILETYPE\_SRV}, {\tt CDI\_FILETYPE\_EXT} or {\tt CDI\_FILETYPE\_IEG}.
\subsubsection*{Usage}
......
......@@ -4,24 +4,24 @@ with one of the following predefined file format types:
\vspace*{3mm}
\hspace*{8mm}\begin{minipage}{15cm}
\begin{deflist}{{\large\tt FILETYPE\_GRB2 \ \ }}
\item[{\large\tt FILETYPE\_GRB}] File type GRIB version 1
\item[{\large\tt FILETYPE\_GRB2}] File type GRIB version 2
\item[{\large\tt FILETYPE\_NC }] File type NetCDF
\item[{\large\tt FILETYPE\_NC2}] File type NetCDF version 2 (64-bit)
\item[{\large\tt FILETYPE\_NC4}] File type NetCDF-4 (HDF5)
\item[{\large\tt FILETYPE\_NC4C}] File type NetCDF-4 classic
\item[{\large\tt FILETYPE\_SRV}] File type SERVICE
\item[{\large\tt FILETYPE\_EXT}] File type EXTRA
\item[{\large\tt FILETYPE\_IEG}] File type IEG
\begin{deflist}{{\large\tt CDI\_FILETYPE\_GRB2 \ \ }}
\item[{\large\tt CDI\_FILETYPE\_GRB}] File type GRIB version 1
\item[{\large\tt CDI\_FILETYPE\_GRB2}] File type GRIB version 2
\item[{\large\tt CDI\_FILETYPE\_NC }] File type NetCDF
\item[{\large\tt CDI\_FILETYPE\_NC2}] File type NetCDF version 2 (64-bit)
\item[{\large\tt CDI\_FILETYPE\_NC4}] File type NetCDF-4 (HDF5)
\item[{\large\tt CDI\_FILETYPE\_NC4C}] File type NetCDF-4 classic
\item[{\large\tt CDI\_FILETYPE\_SRV}] File type SERVICE
\item[{\large\tt CDI\_FILETYPE\_EXT}] File type EXTRA
\item[{\large\tt CDI\_FILETYPE\_IEG}] File type IEG
\end{deflist}
\end{minipage}
\vspace*{3mm}
{\tt FILETYPE\_GRB2} is only available if the {\CDI} library was compiled with GRIB\_API support and all NetCDF file types are only available if the {\CDI} library was compiled with NetCDF support!
{\tt CDI\_FILETYPE\_GRB2} is only available if the {\CDI} library was compiled with GRIB\_API support and all NetCDF file types are only available if the {\CDI} library was compiled with NetCDF support!
To set the byte order of a binary dataset with the file format
type {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} or {\tt FILETYPE\_IEG} use one of the
type {\tt CDI\_FILETYPE\_SRV}, {\tt CDI\_FILETYPE\_EXT} or {\tt CDI\_FILETYPE\_IEG} use one of the
following predefined constants in the call to {\htmlref{\tt streamDefByteorder}{streamDefByteorder}}:
\vspace*{3mm}
......
......@@ -69,7 +69,7 @@ This example reads the NetCDF file {\tt example.nc} from \htmlref{Appendix \ref{
This example reads the NetCDF file {\tt example.nc} from \htmlref{Appendix B.1}{example_write}
and writes the result to a GRIB dataset by simple setting the output file type
to {\tt FILETYPE\_GRB}.
to {\tt CDI\_FILETYPE\_GRB}.
\lstinputlisting[language=Fortran]
{../../examples/cdi_copy_f.f}
......
......@@ -763,7 +763,7 @@ The function {\tt gridInqYlongname} returns the longname of a Y-axis.
\subsubsection*{Usage}
\begin{verbatim}
SUBROUTINE gridInqXlongname(INTEGER gridID, CHARACTER*(*) longname)
SUBROUTINE gridInqYlongname(INTEGER gridID, CHARACTER*(*) longname)
\end{verbatim}
\hspace*{4mm}\begin{minipage}[]{15cm}
......
......@@ -645,7 +645,7 @@ gridInqYlongname
\fi
}
\begin{verbatim}
SUBROUTINE gridInqXlongname(INTEGER gridID, CHARACTER*(*) longname)
SUBROUTINE gridInqYlongname(INTEGER gridID, CHARACTER*(*) longname)
\end{verbatim}
Get the longname of a Y-axis
......
......@@ -17,9 +17,9 @@ The function {\tt streamOpenWrite} creates a new datset.
The name of the new dataset.
\item[{\tt filetype}]
The type of the file format, one of the set of predefined {\CDI} file format types.
The valid {\CDI} file format types are {\tt FILETYPE\_GRB}, {\tt FILETYPE\_GRB2}, {\tt FILETYPE\_NC},
{\tt FILETYPE\_NC2}, {\tt FILETYPE\_NC4}, {\tt FILETYPE\_NC4C}, {\tt FILETYPE\_SRV},
{\tt FILETYPE\_EXT} and {\tt FILETYPE\_IEG}.
The valid {\CDI} file format types are {\tt CDI\_FILETYPE\_GRB}, {\tt CDI\_FILETYPE\_GRB2}, {\tt CDI\_FILETYPE\_NC},
{\tt CDI\_FILETYPE\_NC2}, {\tt CDI\_FILETYPE\_NC4}, {\tt CDI\_FILETYPE\_NC4C}, {\tt CDI\_FILETYPE\_SRV},
{\tt CDI\_FILETYPE\_EXT} and {\tt CDI\_FILETYPE\_IEG}.
\end{deflist}
\end{minipage}
......@@ -57,7 +57,7 @@ Here is an example using {\tt streamOpenWrite} to create a new NetCDF file named
...
INTEGER streamID
...
streamID = streamOpenWrite("foo.nc", FILETYPE_NC)
streamID = streamOpenWrite("foo.nc", CDI_FILETYPE_NC)
IF ( streamID .LT. 0 ) CALL handle_error(streamID)
...
\end{lstlisting}
......@@ -168,8 +168,8 @@ Stream ID, from a previous call to {\htmlref{\tt streamOpenRead}{streamOpenRead}
{\tt streamInqFiletype} returns the type of the file format,
one of the set of predefined {\CDI} file format types.
The valid {\CDI} file format types are {\tt FILETYPE\_GRB}, {\tt FILETYPE\_GRB2}, {\tt FILETYPE\_NC}, {\tt FILETYPE\_NC2},
{\tt FILETYPE\_NC4}, {\tt FILETYPE\_NC4C}, {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} and {\tt FILETYPE\_IEG}.
The valid {\CDI} file format types are {\tt CDI\_FILETYPE\_GRB}, {\tt CDI\_FILETYPE\_GRB2}, {\tt CDI\_FILETYPE\_NC}, {\tt CDI\_FILETYPE\_NC2},
{\tt CDI\_FILETYPE\_NC4}, {\tt CDI\_FILETYPE\_NC4C}, {\tt CDI\_FILETYPE\_SRV}, {\tt CDI\_FILETYPE\_EXT} and {\tt CDI\_FILETYPE\_IEG}.
......@@ -178,7 +178,7 @@ The valid {\CDI} file format types are {\tt FILETYPE\_GRB}, {\tt FILETYPE\_GRB2}
\label{streamDefByteorder}
The function {\tt streamDefByteorder} defines the byte order of a binary dataset
with the file format type {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} or {\tt FILETYPE\_IEG}.
with the file format type {\tt CDI\_FILETYPE\_SRV}, {\tt CDI\_FILETYPE\_EXT} or {\tt CDI\_FILETYPE\_IEG}.
\subsubsection*{Usage}
......@@ -203,7 +203,7 @@ The byte order of a dataset, one of the {\CDI} constants {\tt CDI\_BIGENDIAN} an
\label{streamInqByteorder}
The function {\tt streamInqByteorder} returns the byte order of a binary dataset
with the file format type {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} or {\tt FILETYPE\_IEG}.
with the file format type {\tt CDI\_FILETYPE\_SRV}, {\tt CDI\_FILETYPE\_EXT} or {\tt CDI\_FILETYPE\_IEG}.
\subsubsection*{Usage}
......
Markdown is supported
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