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

Docu update

parent 22d106a5
......@@ -612,7 +612,7 @@ void setDefaultFileType(char *filetypestr)
fprintf(stderr, "Unexpected character >%c< in file type >%s<!\n", *ftstr, filetypestr);
fprintf(stderr, "Use format[_nbits] with:\n");
fprintf(stderr, " format = grb, grb2, nc, nc2, nc4, nc4c, srv, ext or ieg\n");
fprintf(stderr, " nbits = 32/64 for nc*, srv, ext, ieg; 1 - 24 for grb*\n");
fprintf(stderr, " nbits = 32/64 for nc/nc2/nc4/nc4c/srv/ext/ieg; 1 - 24 for grb/grb2\n");
exit(EXIT_FAILURE);
}
}
......@@ -811,7 +811,7 @@ int main(int argc, char *argv[])
taxisID = vlistInqTaxis(vlistID1);
ntsteps = vlistNtsteps(vlistID1);
if ( Debug ) fprintf(stderr, "nvars = %d\n", nvars);
if ( Debug ) fprintf(stderr, "nvars = %d\n", nvars);
if ( Debug ) fprintf(stderr, "ntsteps = %d\n", ntsteps);
if ( fname2 ) vlistID2 = vlistDuplicate(vlistID1);
......
......@@ -18,7 +18,7 @@ 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\_SRV},
{\tt FILETYPE\_NC2}, {\tt FILETYPE\_NC4}, {\tt FILETYPE\_NC4C}, {\tt FILETYPE\_SRV},
{\tt FILETYPE\_EXT} and {\tt FILETYPE\_IEG}.
\end{deflist}
......@@ -170,7 +170,7 @@ 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\_SRV}, {\tt FILETYPE\_EXT} and {\tt FILETYPE\_IEG}.
{\tt FILETYPE\_NC4}, {\tt FILETYPE\_NC4C}, {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} and {\tt FILETYPE\_IEG}.
......
......@@ -5,14 +5,15 @@ 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 classic (HDF5)
\item[{\large\tt FILETYPE\_SRV}] File type SERVICE
\item[{\large\tt FILETYPE\_EXT}] File type EXTRA
\item[{\large\tt FILETYPE\_IEG}] File type IEG
\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
\end{deflist}
\end{minipage}
\vspace*{3mm}
......
......@@ -18,7 +18,7 @@ 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\_SRV},
{\tt FILETYPE\_NC2}, {\tt FILETYPE\_NC4}, {\tt FILETYPE\_NC4C}, {\tt FILETYPE\_SRV},
{\tt FILETYPE\_EXT} and {\tt FILETYPE\_IEG}.
\end{deflist}
......@@ -170,7 +170,7 @@ 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\_SRV}, {\tt FILETYPE\_EXT} and {\tt FILETYPE\_IEG}.
{\tt FILETYPE\_NC4}, {\tt FILETYPE\_NC4C}, {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} and {\tt FILETYPE\_IEG}.
......
......@@ -4,7 +4,7 @@
!
! Author:
! -------
! Uwe Schulzweida, MPI-MET, Hamburg, March 2011
! Uwe Schulzweida, MPI-MET, Hamburg, April 2011
!
INTEGER CDI_UNDEFID
......@@ -56,12 +56,14 @@
PARAMETER (FILETYPE_NC2 = 4)
INTEGER FILETYPE_NC4
PARAMETER (FILETYPE_NC4 = 5)
INTEGER FILETYPE_NC4C
PARAMETER (FILETYPE_NC4C = 6)
INTEGER FILETYPE_SRV
PARAMETER (FILETYPE_SRV = 6)
PARAMETER (FILETYPE_SRV = 7)
INTEGER FILETYPE_EXT
PARAMETER (FILETYPE_EXT = 7)
PARAMETER (FILETYPE_EXT = 8)
INTEGER FILETYPE_IEG
PARAMETER (FILETYPE_IEG = 8)
PARAMETER (FILETYPE_IEG = 9)
!
! Compress types
!
......
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