Commit 053b2d3b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Docu update.

parent f441a6cd
......@@ -834,7 +834,7 @@ Define the calendar.
\section*{\tt \htmlref{taxisDefFdate}{taxisDefFdate}}
\begin{verbatim}
void taxisDefFdate (int taxisID, int date);
void taxisDefFdate (int taxisID, int64_t date);
\end{verbatim}
Define the forecast reference date.
......@@ -852,7 +852,7 @@ Define the forecast reference time.
\section*{\tt \htmlref{taxisDefRdate}{taxisDefRdate}}
\begin{verbatim}
void taxisDefRdate (int taxisID, int date);
void taxisDefRdate (int taxisID, int64_t date);
\end{verbatim}
Define the reference date.
......@@ -870,7 +870,7 @@ Define the reference time.
\section*{\tt \htmlref{taxisDefVdate}{taxisDefVdate}}
\begin{verbatim}
void taxisDefVdate (int taxisID, int date);
void taxisDefVdate (int taxisID, int64_t date);
\end{verbatim}
Define the verification date.
......@@ -906,7 +906,7 @@ Get the calendar.
\section*{\tt \htmlref{taxisInqFdate}{taxisInqFdate}}
\begin{verbatim}
int taxisInqFdate (int taxisID);
int64_t taxisInqFdate (int taxisID);
\end{verbatim}
Get the forecast reference date.
......@@ -924,7 +924,7 @@ Get the forecast reference time.
\section*{\tt \htmlref{taxisInqRdate}{taxisInqRdate}}
\begin{verbatim}
int taxisInqRdate (int taxisID);
int64_t taxisInqRdate (int taxisID);
\end{verbatim}
Get the reference date.
......@@ -942,7 +942,7 @@ Get the reference time.
\section*{\tt \htmlref{taxisInqVdate}{taxisInqVdate}}
\begin{verbatim}
int taxisInqVdate (int taxisID);
int64_t taxisInqVdate (int taxisID);
\end{verbatim}
Get the verification date.
......
......@@ -1034,7 +1034,7 @@ taxisDefRdate
\fi
}}
\begin{verbatim}
void taxisDefRdate(int taxisID, int rdate);
void taxisDefRdate(int taxisID, int64_t rdate);
\end{verbatim}
Define the reference date
......@@ -1064,7 +1064,7 @@ taxisDefVdate
\fi
}}
\begin{verbatim}
void taxisDefVdate(int taxisID, int vdate);
void taxisDefVdate(int taxisID, int64_t vdate);
\end{verbatim}
Define the verification date
......@@ -1124,7 +1124,7 @@ taxisInqRdate
\fi
}}
\begin{verbatim}
int taxisInqRdate(int taxisID);
int64_t taxisInqRdate(int taxisID);
\end{verbatim}
Get the reference date
......@@ -1154,7 +1154,7 @@ taxisInqVdate
\fi
}}
\begin{verbatim}
int taxisInqVdate(int taxisID);
int64_t taxisInqVdate(int taxisID);
\end{verbatim}
Get the verification date
......
......@@ -72,7 +72,7 @@ The function {\texttt{taxisDefRdate}} defines the reference date of a Time axis.
\subsubsection*{Usage}
\begin{verbatim}
void taxisDefRdate(int taxisID, int rdate);
void taxisDefRdate(int taxisID, int64_t rdate);
\end{verbatim}
\hspace*{4mm}\begin{minipage}[]{15cm}
......@@ -95,7 +95,7 @@ The function {\texttt{taxisInqRdate}} returns the reference date of a Time axis.
\subsubsection*{Usage}
\begin{verbatim}
int taxisInqRdate(int taxisID);
int64_t taxisInqRdate(int taxisID);
\end{verbatim}
\hspace*{4mm}\begin{minipage}[]{15cm}
......@@ -170,7 +170,7 @@ The function {\texttt{taxisDefVdate}} defines the verification date of a Time ax
\subsubsection*{Usage}
\begin{verbatim}
void taxisDefVdate(int taxisID, int vdate);
void taxisDefVdate(int taxisID, int64_t vdate);
\end{verbatim}
\hspace*{4mm}\begin{minipage}[]{15cm}
......@@ -193,7 +193,7 @@ The function {\texttt{taxisInqVdate}} returns the verification date of a Time ax
\subsubsection*{Usage}
\begin{verbatim}
int taxisInqVdate(int taxisID);
int64_t taxisInqVdate(int taxisID);
\end{verbatim}
\hspace*{4mm}\begin{minipage}[]{15cm}
......
......@@ -135,7 +135,7 @@
\end{picture}
\begin{flushright}
{\large\bfseries Climate Data Interface \\ Version 1.9.4 \\ April 2018}
{\large\bfseries Climate Data Interface \\ Version 1.9.5 \\ August 2018}
\end{flushright}
\vfill
......
......@@ -132,7 +132,7 @@
\end{picture}
\begin{flushright}
{\large\bfseries Climate Data Interface \\ Version 1.9.4 \\ April 2018}
{\large\bfseries Climate Data Interface \\ Version 1.9.5 \\ August 2018}
\end{flushright}
\vfill
......
......@@ -321,11 +321,12 @@ sub printproto {
print CDOCFILE ");\n";
# fortran proto
if ( "$ftype" eq "void" ) { $ftype = "SUBROUTINE"; }
if ( "$ftype" eq "int" ) { $ftype = "INTEGER FUNCTION"; }
if ( "$ftype" eq "size_t" ) { $ftype = "INTEGER FUNCTION"; }
if ( "$ftype" eq "double" ) { $ftype = "REAL*8 FUNCTION"; }
if ( "$ftype" eq "float" ) { $ftype = "REAL*4 FUNCTION"; }
if ( "$ftype" eq "void" ) { $ftype = "SUBROUTINE"; }
if ( "$ftype" eq "int" ) { $ftype = "INTEGER FUNCTION"; }
if ( "$ftype" eq "int64_t" ) { $ftype = "INTEGER FUNCTION"; }
if ( "$ftype" eq "size_t" ) { $ftype = "INTEGER FUNCTION"; }
if ( "$ftype" eq "double" ) { $ftype = "REAL*8 FUNCTION"; }
if ( "$ftype" eq "float" ) { $ftype = "REAL*4 FUNCTION"; }
$klen = 0;
$klen += length($ftype) + length($fname) + 6;
print FDOCFILE " $ftype $fname(";
......@@ -340,6 +341,8 @@ sub printproto {
$tag =~ s/char \*/CHARACTER*(*) /og;
$tag =~ s/int \*/INTEGER /og;
$tag =~ s/int /INTEGER /og;
$tag =~ s/int64_t \*/INTEGER /og;
$tag =~ s/int64_t /INTEGER /og;
$tag =~ s/size_t \*/INTEGER /og;
$tag =~ s/size_t /INTEGER /og;
$tag =~ s/double \*/REAL*8 /og;
......@@ -380,6 +383,7 @@ sub printfortran {
$line =~ s/const char \*/CHARACTER\*(\*) /og;
$line =~ s/char \*/CHARACTER\*(\*) /og;
$line =~ s/int /INTEGER /og;
$line =~ s/int64_t /INTEGER /og;
$line =~ s/size_t /INTEGER /og;
$line =~ s/double /REAL*8 /og;
$line =~ s/float /REAL*4 /og;
......
......@@ -626,7 +626,7 @@ void taxisCopyTimestep(int taxisID2, int taxisID1)
@Function taxisInqVdate
@Title Get the verification date
@Prototype int taxisInqVdate(int taxisID)
@Prototype int64_t taxisInqVdate(int taxisID)
@Parameter
@Item taxisID Time axis ID, from a previous call to @fref{taxisCreate} or @fref{vlistInqTaxis}
......
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