Commit 89771d78 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Docu update

parent 76e2d031
......@@ -32,7 +32,7 @@ int main(void)
// Get the Time axis from the variable list
taxisID = vlistInqTaxis(vlistID1);
// Open the output dataset (GRIB fromat)
// Open the output dataset (GRIB format)
streamID2 = streamOpenWrite("example.grb", FILETYPE_GRB);
if ( streamID2 < 0 )
{
......
......@@ -32,7 +32,7 @@
! Get the Time axis from the variable list
taxisID = vlistInqTaxis(vlistID1)
! Open the output dataset (GRIB fromat)
! Open the output dataset (GRIB format)
streamID2 = streamOpenWrite("example.grb", FILETYPE_GRB)
IF ( streamID2 < 0 ) THEN
WRITE(0,*) cdiStringError(streamID2)
......
......@@ -39,7 +39,7 @@ int main(int argc, char *argv[])
vardata = (double *) malloc(gridsize*MAX_LEVEL*sizeof(double));
/* Open the output dataset (GRIB fromat) */
/* Open the output dataset (GRIB format) */
streamID2 = streamOpenWrite(ofile, FILETYPE_GRB);
if ( streamID2 < 0 )
{
......
......@@ -49,7 +49,7 @@ int main(void)
// Assign the Time axis to the variable list
vlistDefTaxis(vlistID, taxisID);
// Create a dataset in netCDF fromat
// Create a dataset in netCDF format
streamID = streamOpenWrite("example.nc", FILETYPE_NC);
if ( streamID < 0 )
{
......
......@@ -53,7 +53,7 @@
! Assign the Time axis to the variable list
CALL vlistDefTaxis(vlistID, taxisID)
! Create a dataset in netCDF fromat
! Create a dataset in netCDF format
streamID = streamOpenWrite("example.nc", FILETYPE_NC)
IF ( streamID < 0 ) THEN
WRITE(0,*) cdiStringError(streamID)
......
......@@ -57,7 +57,7 @@
! Assign the Time axis to the variable list
CALL vlistDefTaxis(vlistID, taxisID)
! Create a dataset in netCDF fromat
! Create a dataset in netCDF format
streamID = streamOpenWrite(C_CHAR_"example.nc"//C_NULL_CHAR, FILETYPE_NC)
IF ( streamID < 0 ) THEN
msg = cdiStringError(streamID)
......
......@@ -1811,7 +1811,7 @@ void gribapiDefInstitut(grib_handle *gh, int vlistID, int varID)
GRIB_CHECK(grib_get_long(gh, "centre", &center0), 0);
GRIB_CHECK(grib_get_long(gh, "subCentre", &subcenter0), 0);
if ( center != center0 )
GRIB_CHECK(grib_set_long(gh, "centre", center), 0);
if ( subcenter != subcenter0 )
......
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