Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
a53177c7
Commit
a53177c7
authored
May 11, 2006
by
Uwe Schulzweida
Browse files
rename *New functions to *Create
parent
d44205ff
Changes
30
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
a53177c7
2006-06-15 Uwe Schulzweida <schulzweida@dkrz.de>
* using GRIB library version 1.0.0
* rename *New functions to *Create
* Version 1.0.0 released
2006-05-04 Uwe Schulzweida <schulzweida@dkrz.de>
* using GRIB library version 0.6.6
...
...
configure
View file @
a53177c7
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for cdi
0.9.7
.
# Generated by GNU Autoconf 2.59 for cdi
1.0.0
.
#
# Report bugs to <
s
chulzweida@
dkrz
.de>.
# Report bugs to <
Uwe.S
chulzweida@
zmaw
.de>.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
...
...
@@ -269,9 +269,9 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME
=
'cdi'
PACKAGE_TARNAME
=
'cdi'
PACKAGE_VERSION
=
'
0.9.7
'
PACKAGE_STRING
=
'cdi
0.9.7
'
PACKAGE_BUGREPORT
=
'
s
chulzweida@
dkrz
.de'
PACKAGE_VERSION
=
'
1.0.0
'
PACKAGE_STRING
=
'cdi
1.0.0
'
PACKAGE_BUGREPORT
=
'
Uwe.S
chulzweida@
zmaw
.de'
# Factoring default headers for most tests.
ac_includes_default
=
"
\
...
...
@@ -795,7 +795,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat
<<
_ACEOF
\`
configure' configures cdi
0.9.7
to adapt to many kinds of systems.
\`
configure' configures cdi
1.0.0
to adapt to many kinds of systems.
Usage:
$0
[OPTION]... [VAR=VALUE]...
...
...
@@ -862,7 +862,7 @@ fi
if
test
-n
"
$ac_init_help
"
;
then
case
$ac_init_help
in
short
|
recursive
)
echo
"Configuration of cdi
0.9.7
:"
;;
short
|
recursive
)
echo
"Configuration of cdi
1.0.0
:"
;;
esac
cat
<<
\
_ACEOF
...
...
@@ -910,7 +910,7 @@ Some influential environment variables:
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <
s
chulzweida@
dkrz
.de>.
Report bugs to <
Uwe.S
chulzweida@
zmaw
.de>.
_ACEOF
fi
...
...
@@ -1006,7 +1006,7 @@ fi
test
-n
"
$ac_init_help
"
&&
exit
0
if
$ac_init_version
;
then
cat
<<
\
_ACEOF
cdi configure
0.9.7
cdi configure
1.0.0
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
...
...
@@ -1020,7 +1020,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by cdi
$as_me
0.9.7
, which was
It was created by cdi
$as_me
1.0.0
, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0
$@
...
...
@@ -1707,7 +1707,7 @@ fi
# Define the identity of the package.
PACKAGE
=
cdi
VERSION
=
0.9.7
VERSION
=
1.0.0
cat
>>
confdefs.h
<<
_ACEOF
...
...
@@ -4323,9 +4323,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo
"
$as_me
: WARNING:
$ac_header
: in the future, the compiler will take precedence"
>
&2
;
}
(
cat
<<
\
_ASBOX
## ---------------------------------- ##
## Report this to
s
chulzweida@
dkrz
.de ##
## ---------------------------------- ##
## ----------------------------------
----
##
## Report this to
Uwe.S
chulzweida@
zmaw
.de ##
## ----------------------------------
----
##
_ASBOX
)
|
sed
"s/^/
$as_me
: WARNING: /"
>
&2
...
...
@@ -4950,9 +4950,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo
"
$as_me
: WARNING:
$ac_header
: in the future, the compiler will take precedence"
>
&2
;
}
(
cat
<<
\
_ASBOX
## ---------------------------------- ##
## Report this to
s
chulzweida@
dkrz
.de ##
## ---------------------------------- ##
## ----------------------------------
----
##
## Report this to
Uwe.S
chulzweida@
zmaw
.de ##
## ----------------------------------
----
##
_ASBOX
)
|
sed
"s/^/
$as_me
: WARNING: /"
>
&2
...
...
@@ -5230,9 +5230,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo
"
$as_me
: WARNING:
$ac_header
: in the future, the compiler will take precedence"
>
&2
;
}
(
cat
<<
\
_ASBOX
## ---------------------------------- ##
## Report this to
s
chulzweida@
dkrz
.de ##
## ---------------------------------- ##
## ----------------------------------
----
##
## Report this to
Uwe.S
chulzweida@
zmaw
.de ##
## ----------------------------------
----
##
_ASBOX
)
|
sed
"s/^/
$as_me
: WARNING: /"
>
&2
...
...
@@ -5515,9 +5515,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo
"
$as_me
: WARNING:
$ac_header
: in the future, the compiler will take precedence"
>
&2
;
}
(
cat
<<
\
_ASBOX
## ---------------------------------- ##
## Report this to
s
chulzweida@
dkrz
.de ##
## ---------------------------------- ##
## ----------------------------------
----
##
## Report this to
Uwe.S
chulzweida@
zmaw
.de ##
## ----------------------------------
----
##
_ASBOX
)
|
sed
"s/^/
$as_me
: WARNING: /"
>
&2
...
...
@@ -5795,9 +5795,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo
"
$as_me
: WARNING:
$ac_header
: in the future, the compiler will take precedence"
>
&2
;
}
(
cat
<<
\
_ASBOX
## ---------------------------------- ##
## Report this to
s
chulzweida@
dkrz
.de ##
## ---------------------------------- ##
## ----------------------------------
----
##
## Report this to
Uwe.S
chulzweida@
zmaw
.de ##
## ----------------------------------
----
##
_ASBOX
)
|
sed
"s/^/
$as_me
: WARNING: /"
>
&2
...
...
@@ -6400,7 +6400,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
This file was extended by cdi
$as_me
0.9.7
, which was
This file was extended by cdi
$as_me
1.0.0
, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES =
$CONFIG_FILES
...
...
@@ -6463,7 +6463,7 @@ _ACEOF
cat
>>
$CONFIG_STATUS
<<
_ACEOF
ac_cs_version="
\\
cdi config.status
0.9.7
cdi config.status
1.0.0
configured by
$0
, generated by GNU Autoconf 2.59,
with options
\\
"`echo "
$ac_configure_args
" | sed 's/[
\\
""
\`\$
]/
\\\\
&/g'`
\\
"
...
...
configure.ac
View file @
a53177c7
# Process this file with autoconf to produce a configure script.
AC_INIT(cdi,
0.9.7, s
chulzweida@
dkrz
.de)
AC_INIT(cdi,
1.0.0, Uwe.S
chulzweida@
zmaw
.de)
CONFIG_ABORT=yes
...
...
doc/tex/c_quick_ref.tex
View file @
a53177c7
...
...
@@ -4,6 +4,15 @@
This appendix provide a brief listing of the C language bindings of the
CDI library routines:
\section*
{
\tt
\htmlref
{
gridCreate
}{
gridCreate
}}
\begin{verbatim}
int gridCreate (intgridtype, intsize);
\end{verbatim}
Create a new Grid.
\section*
{
\tt
\htmlref
{
gridDefNvertex
}{
gridDefNvertex
}}
\begin{verbatim}
...
...
@@ -319,22 +328,13 @@ Get one value of a Y-axis.
Get all values of a Y-axis.
\section*
{
\tt
\htmlref
{
gridNew
}{
gridNew
}}
\begin{verbatim}
int gridNew (intgridtype, intsize);
\end{verbatim}
Create a new Grid.
\section*
{
\tt
\htmlref
{
streamClose
}{
streamClose
}}
\begin{verbatim}
void streamClose (intstreamID);
\end{verbatim}
Close an
O
pen
file
.
Close an
o
pen
dataset
.
\section*
{
\tt
\htmlref
{
streamDefVlist
}{
streamDefVlist
}}
...
...
@@ -358,19 +358,19 @@ Get the Vlist of a stream.
\section*
{
\tt
\htmlref
{
streamOpenRead
}{
streamOpenRead
}}
\begin{verbatim}
int streamOpenRead (char *
filename
);
int streamOpenRead (char *
path
);
\end{verbatim}
Open a
file
for reading.
Open a
dataset
for reading.
\section*
{
\tt
\htmlref
{
streamOpenWrite
}{
streamOpenWrite
}}
\begin{verbatim}
int streamOpenWrite (char *
filename
, intfiletype);
int streamOpenWrite (char *
path
, intfiletype);
\end{verbatim}
Open a file for writing
.
Create a new dataset
.
\section*
{
\tt
\htmlref
{
streamReadVar
}{
streamReadVar
}}
...
...
@@ -411,6 +411,15 @@ Write a variable.
Write a horizontal slice of a variable.
\section*
{
\tt
\htmlref
{
taxisCreate
}{
taxisCreate
}}
\begin{verbatim}
int taxisCreate (inttimetype);
\end{verbatim}
Create a new T-axis.
\section*
{
\tt
\htmlref
{
taxisDefCalendar
}{
taxisDefCalendar
}}
\begin{verbatim}
...
...
@@ -501,15 +510,6 @@ Get the verification date.
Get the verification time.
\section*
{
\tt
\htmlref
{
taxisNew
}{
taxisNew
}}
\begin{verbatim}
int taxisNew (inttimetype);
\end{verbatim}
Create a new T-axis.
\section*
{
\tt
\htmlref
{
vlistCat
}{
vlistCat
}}
\begin{verbatim}
...
...
@@ -537,6 +537,15 @@ Copy a variable list.
Copy some entries of a variable list.
\section*
{
\tt
\htmlref
{
vlistCreate
}{
vlistCreate
}}
\begin{verbatim}
int vlistCreate (
\end{verbatim}
Create a variable list.
\section*
{
\tt
\htmlref
{
vlistDefVar
}{
vlistDefVar
}}
\begin{verbatim}
...
...
@@ -552,7 +561,7 @@ Create a new Variable.
void vlistDefVarCode (intvlistID, intvarID, intcode);
\end{verbatim}
Define the
C
ode number of a
v
ariable.
Define the
c
ode number of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistDefVarDatatype
}{
vlistDefVarDatatype
}}
...
...
@@ -561,7 +570,7 @@ Define the Code number of a variable.
void vlistDefVarDatatype (intvlistID, intvarID, intdatatype);
\end{verbatim}
Define the data type of a
v
ariable.
Define the data type of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistDefVarLongname
}{
vlistDefVarLongname
}}
...
...
@@ -570,7 +579,7 @@ Define the data type of a variable.
void vlistDefVarLongname (intvlistID, intvarID, char *longname);
\end{verbatim}
Define the long name of a
v
ariable.
Define the long name of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistDefVarMissval
}{
vlistDefVarMissval
}}
...
...
@@ -579,7 +588,7 @@ Define the long name of a variable.
void vlistDefVarMissval (intvlistID, intvarID, doublemissval);
\end{verbatim}
Define the missing value of a
v
ariable.
Define the missing value of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistDefVarName
}{
vlistDefVarName
}}
...
...
@@ -588,7 +597,7 @@ Define the missing value of a variable.
void vlistDefVarName (intvlistID, intvarID, char *name);
\end{verbatim}
Define the name of a
v
ariable.
Define the name of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistDefVarUnits
}{
vlistDefVarUnits
}}
...
...
@@ -597,25 +606,25 @@ Define the name of a variable.
void vlistDefVarUnits (intvlistID, intvarID, char *units);
\end{verbatim}
Define the units of a
v
ariable.
Define the units of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistD
uplicate
}{
vlistDuplicate
}}
\section*
{
\tt
\htmlref
{
vlistD
estroy
}{
vlistDestroy
}}
\begin{verbatim}
int
vlistD
uplicate
(intvlistID);
void
vlistD
estroy
(intvlistID);
\end{verbatim}
D
uplica
te a variable list.
D
ele
te a variable list.
\section*
{
\tt
\htmlref
{
vlist
Free
}{
vlistFre
e
}}
\section*
{
\tt
\htmlref
{
vlist
Duplicate
}{
vlistDuplicat
e
}}
\begin{verbatim}
void
vlist
Fre
e (intvlistID);
int
vlist
Duplicat
e (intvlistID);
\end{verbatim}
D
ele
te a variable list.
D
uplica
te a variable list.
\section*
{
\tt
\htmlref
{
vlistMerge
}{
vlistMerge
}}
...
...
@@ -627,15 +636,6 @@ Delete a variable list.
Merge two variable lists.
\section*
{
\tt
\htmlref
{
vlistNew
}{
vlistNew
}}
\begin{verbatim}
int vlistNew (
\end{verbatim}
Create a variable list.
\section*
{
\tt
\htmlref
{
vlistNgrids
}{
vlistNgrids
}}
\begin{verbatim}
...
...
@@ -663,6 +663,15 @@ Number of variables in a variable list.
Number of zaxis in a variable list.
\section*
{
\tt
\htmlref
{
zaxisCreate
}{
zaxisCreate
}}
\begin{verbatim}
int zaxisCreate (intleveltype, intsize);
\end{verbatim}
Create a new Z-axis.
\section*
{
\tt
\htmlref
{
zaxisDefLevel
}{
zaxisDefLevel
}}
\begin{verbatim}
...
...
@@ -780,12 +789,3 @@ Get the type of a Z-axis.
Get the units of a Z-axis.
\section*
{
\tt
\htmlref
{
zaxisNew
}{
zaxisNew
}}
\begin{verbatim}
int zaxisNew (intleveltype, intsize);
\end{verbatim}
Create a new Z-axis.
doc/tex/cdi_cman.tex
View file @
a53177c7
...
...
@@ -24,6 +24,13 @@
\renewcommand
{
\headrulewidth
}{
0pt
}
}
\usepackage
{
exscale
}
\usepackage
{
array,colortbl
}
% color table
\usepackage
{
listings
}
\usepackage
{
color
}
\definecolor
{
zebg
}{
rgb
}{
1,1,.8
}
%elfenbeinfarbig
%\usepackage{ae} % fuer die "almost european" computer modern fonts
%\usepackage{url} % Standard-Paket fuer WWW-Adressen
...
...
@@ -183,6 +190,8 @@
%\chapter{Model}
\input
{
bib
}
\chapter*
{
Quick Reference
\markboth
{
Quick Reference
}{}}
\addcontentsline
{
toc
}{
chapter
}{
Quick Reference
}
...
...
doc/tex/cdi_fman.tex
View file @
a53177c7
...
...
@@ -24,6 +24,13 @@
\renewcommand
{
\headrulewidth
}{
0pt
}
}
\usepackage
{
exscale
}
\usepackage
{
array,colortbl
}
% color table
\usepackage
{
listings
}
\usepackage
{
color
}
\definecolor
{
zebg
}{
rgb
}{
1,1,.8
}
%elfenbeinfarbig
%\usepackage{ae} % fuer die "almost european" computer modern fonts
%\usepackage{url} % Standard-Paket fuer WWW-Adressen
...
...
@@ -183,6 +190,9 @@
%\chapter{Model}
\input
{
bib
}
\chapter*
{
Quick Reference
\markboth
{
Quick Reference
}{}}
\addcontentsline
{
toc
}{
chapter
}{
Quick Reference
}
...
...
doc/tex/f_quick_ref.tex
View file @
a53177c7
...
...
@@ -4,6 +4,15 @@
This appendix provide a brief listing of the Fortran language bindings of the
CDI library routines:
\section*
{
\tt
\htmlref
{
gridCreate
}{
gridCreate
}}
\begin{verbatim}
INTEGER FUNCTION gridCreate (INTEGER gridtype, INTEGER size)
\end{verbatim}
Create a new Grid.
\section*
{
\tt
\htmlref
{
gridDefNvertex
}{
gridDefNvertex
}}
\begin{verbatim}
...
...
@@ -319,22 +328,13 @@ Get one value of a Y-axis.
Get all values of a Y-axis.
\section*
{
\tt
\htmlref
{
gridNew
}{
gridNew
}}
\begin{verbatim}
INTEGER FUNCTION gridNew (INTEGER gridtype, INTEGER size)
\end{verbatim}
Create a new Grid.
\section*
{
\tt
\htmlref
{
streamClose
}{
streamClose
}}
\begin{verbatim}
SUBROUTINE streamClose (INTEGER streamID)
\end{verbatim}
Close an
O
pen
file
.
Close an
o
pen
dataset
.
\section*
{
\tt
\htmlref
{
streamDefVlist
}{
streamDefVlist
}}
...
...
@@ -358,19 +358,19 @@ Get the Vlist of a stream.
\section*
{
\tt
\htmlref
{
streamOpenRead
}{
streamOpenRead
}}
\begin{verbatim}
INTEGER FUNCTION streamOpenRead (CHARACTER*(*)
filename
)
INTEGER FUNCTION streamOpenRead (CHARACTER*(*)
path
)
\end{verbatim}
Open a
file
for reading.
Open a
dataset
for reading.
\section*
{
\tt
\htmlref
{
streamOpenWrite
}{
streamOpenWrite
}}
\begin{verbatim}
INTEGER FUNCTION streamOpenWrite (CHARACTER*(*)
filename
, INTEGER filetype)
INTEGER FUNCTION streamOpenWrite (CHARACTER*(*)
path
, INTEGER filetype)
\end{verbatim}
Open a file for writing
.
Create a new dataset
.
\section*
{
\tt
\htmlref
{
streamReadVar
}{
streamReadVar
}}
...
...
@@ -413,6 +413,15 @@ Write a variable.
Write a horizontal slice of a variable.
\section*
{
\tt
\htmlref
{
taxisCreate
}{
taxisCreate
}}
\begin{verbatim}
INTEGER FUNCTION taxisCreate (INTEGER timetype)
\end{verbatim}
Create a new T-axis.
\section*
{
\tt
\htmlref
{
taxisDefCalendar
}{
taxisDefCalendar
}}
\begin{verbatim}
...
...
@@ -503,15 +512,6 @@ Get the verification date.
Get the verification time.
\section*
{
\tt
\htmlref
{
taxisNew
}{
taxisNew
}}
\begin{verbatim}
INTEGER FUNCTION taxisNew (INTEGER timetype)
\end{verbatim}
Create a new T-axis.
\section*
{
\tt
\htmlref
{
vlistCat
}{
vlistCat
}}
\begin{verbatim}
...
...
@@ -539,6 +539,15 @@ Copy a variable list.
Copy some entries of a variable list.
\section*
{
\tt
\htmlref
{
vlistCreate
}{
vlistCreate
}}
\begin{verbatim}
INTEGER FUNCTION vlistCreate (
\end{verbatim}
Create a variable list.
\section*
{
\tt
\htmlref
{
vlistDefVar
}{
vlistDefVar
}}
\begin{verbatim}
...
...
@@ -555,7 +564,7 @@ Create a new Variable.
SUBROUTINE vlistDefVarCode (INTEGER vlistID, INTEGER varID, INTEGER code)
\end{verbatim}
Define the
C
ode number of a
v
ariable.
Define the
c
ode number of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistDefVarDatatype
}{
vlistDefVarDatatype
}}
...
...
@@ -564,7 +573,7 @@ Define the Code number of a variable.
SUBROUTINE vlistDefVarDatatype (INTEGER vlistID, INTEGER varID, INTEGER datatype)
\end{verbatim}
Define the data type of a
v
ariable.
Define the data type of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistDefVarLongname
}{
vlistDefVarLongname
}}
...
...
@@ -574,7 +583,7 @@ Define the data type of a variable.
CHARACTER*(*) longname)
\end{verbatim}
Define the long name of a
v
ariable.
Define the long name of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistDefVarMissval
}{
vlistDefVarMissval
}}
...
...
@@ -584,7 +593,7 @@ Define the long name of a variable.
DOUBLEPRECISION missval)
\end{verbatim}
Define the missing value of a
v
ariable.
Define the missing value of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistDefVarName
}{
vlistDefVarName
}}
...
...
@@ -593,7 +602,7 @@ Define the missing value of a variable.
SUBROUTINE vlistDefVarName (INTEGER vlistID, INTEGER varID, CHARACTER*(*) name)
\end{verbatim}
Define the name of a
v
ariable.
Define the name of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistDefVarUnits
}{
vlistDefVarUnits
}}
...
...
@@ -602,25 +611,25 @@ Define the name of a variable.
SUBROUTINE vlistDefVarUnits (INTEGER vlistID, INTEGER varID, CHARACTER*(*) units)
\end{verbatim}
Define the units of a
v
ariable.
Define the units of a
V
ariable.
\section*
{
\tt
\htmlref
{
vlistD
uplicate
}{
vlistDuplicate
}}
\section*
{
\tt
\htmlref
{
vlistD
estroy
}{
vlistDestroy
}}
\begin{verbatim}
INTEGER FUNCTION vlistDuplicate
(INTEGER vlistID)
SUBROUTINE vlistDestroy
(INTEGER vlistID)
\end{verbatim}
D
uplica
te a variable list.
D
ele
te a variable list.
\section*
{
\tt
\htmlref
{
vlist
Free
}{
vlistFre
e
}}
\section*
{
\tt
\htmlref
{
vlist
Duplicate
}{
vlistDuplicat
e
}}
\begin{verbatim}
SUBROUTINE vlistFre
e (INTEGER vlistID)
INTEGER FUNCTION vlistDuplicat
e (INTEGER vlistID)
\end{verbatim}
D
ele
te a variable list.
D
uplica
te a variable list.
\section*
{
\tt
\htmlref
{
vlistMerge
}{
vlistMerge
}}
...
...
@@ -632,15 +641,6 @@ Delete a variable list.
Merge two variable lists.
\section*
{
\tt
\htmlref
{
vlistNew
}{
vlistNew
}}
\begin{verbatim}
INTEGER FUNCTION vlistNew (
\end{verbatim}
Create a variable list.
\section*
{
\tt
\htmlref
{
vlistNgrids
}{
vlistNgrids
}}
\begin{verbatim}
...
...
@@ -668,6 +668,15 @@ Number of variables in a variable list.
Number of zaxis in a variable list.
\section*
{
\tt
\htmlref
{
zaxisCreate
}{
zaxisCreate
}}
\begin{verbatim}
INTEGER FUNCTION zaxisCreate (INTEGER leveltype, INTEGER size)
\end{verbatim}