Commit 60736ec5 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

renamed streamWriteVarFloat to streamWriteVarF

parent 25681428
......@@ -5,7 +5,7 @@
2012-03-24 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* added single precision support: streamWriteVarFloat, streamWriteVarSliceFloat
* added single precision support: streamWriteVarF, streamWriteVarSliceF
2012-02-15 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
......
......@@ -4,7 +4,7 @@ CDI NEWS
Version 1.5.5 (?? May 2012):
New features:
* Added single precision support: streamWriteVarFloat, streamWriteVarSliceFloat
* Added single precision support: streamWriteVarF, streamWriteVarSliceF
Version 1.5.4 (30 January 2012):
......
......@@ -985,7 +985,7 @@ int main(int argc, char *argv[])
if ( Move )
streamCopyRecord(streamID2, streamID1);
else
streamWriteRecordDouble(streamID2, data, nmiss);
streamWriteRecord(streamID2, data, nmiss);
}
}
}
......
......@@ -291,16 +291,14 @@ void streamReadVar(int streamID, int varID, double *data_vec, int *nmiss);
/* streamWriteVar: Write a variable */
void streamWriteVar(int streamID, int varID, const double *data_vec, int nmiss);
void streamWriteVarDouble(int streamID, int varID, const double *data_vec, int nmiss);
void streamWriteVarFloat(int streamID, int varID, const float *data_vec, int nmiss);
void streamWriteVarF(int streamID, int varID, const float *data_vec, int nmiss);
/* streamReadVarSlice: Read a horizontal slice of a variable */
void streamReadVarSlice(int streamID, int varID, int levelID, double *data_vec, int *nmiss);
/* streamWriteVarSlice: Write a horizontal slice of a variable */
void streamWriteVarSlice(int streamID, int varID, int levelID, const double *data_vec, int nmiss);
void streamWriteVarSliceDouble(int streamID, int varID, int levelID, const double *data_vec, int nmiss);
void streamWriteVarSliceFloat(int streamID, int varID, int levelID, const float *data_vec, int nmiss);
void streamWriteVarSliceF(int streamID, int varID, int levelID, const float *data_vec, int nmiss);
/* STREAM record I/O routines */
......@@ -309,8 +307,7 @@ void streamInqRecord(int streamID, int *varID, int *levelID);
void streamDefRecord(int streamID, int varID, int levelID);
void streamReadRecord(int streamID, double *data_vec, int *nmiss);
void streamWriteRecord(int streamID, const double *data_vec, int nmiss);
void streamWriteRecordDouble(int streamID, const double *data_vec, int nmiss);
void streamWriteRecordFloat(int streamID, const float *data_vec, int nmiss);
void streamWriteRecordF(int streamID, const float *data_vec, int nmiss);
void streamCopyRecord(int streamIDdest, int streamIDsrc);
void streamInqGinfo(int streamID, int *intnum, float *fltnum);
......
......@@ -1624,12 +1624,7 @@ void streamWriteVar(int streamID, int varID, const double *data, int nmiss)
stream_write_var(streamID, varID, MEMTYPE_DOUBLE, data, nmiss);
}
void streamWriteVarDouble(int streamID, int varID, const double *data, int nmiss)
{
stream_write_var(streamID, varID, MEMTYPE_DOUBLE, data, nmiss);
}
void streamWriteVarFloat(int streamID, int varID, const float *data, int nmiss)
void streamWriteVarF(int streamID, int varID, const float *data, int nmiss)
{
stream_write_var(streamID, varID, MEMTYPE_FLOAT, data, nmiss);
}
......@@ -1812,12 +1807,7 @@ void streamWriteVarSlice(int streamID, int varID, int levelID, const double *dat
stream_write_var_slice(streamID, varID, levelID, MEMTYPE_DOUBLE, data, nmiss);
}
void streamWriteVarSliceDouble(int streamID, int varID, int levelID, const double *data, int nmiss)
{
stream_write_var_slice(streamID, varID, levelID, MEMTYPE_DOUBLE, data, nmiss);
}
void streamWriteVarSliceFloat(int streamID, int varID, int levelID, const float *data, int nmiss)
void streamWriteVarSliceF(int streamID, int varID, int levelID, const float *data, int nmiss)
{
stream_write_var_slice(streamID, varID, levelID, MEMTYPE_FLOAT, data, nmiss);
}
......
......@@ -433,12 +433,7 @@ void streamWriteRecord(int streamID, const double *data, int nmiss)
stream_write_record(streamID, MEMTYPE_DOUBLE, (const void *) data, nmiss);
}
void streamWriteRecordDouble(int streamID, const double *data, int nmiss)
{
stream_write_record(streamID, MEMTYPE_DOUBLE, (const void *) data, nmiss);
}
void streamWriteRecordFloat(int streamID, const float *data, int nmiss)
void streamWriteRecordF(int streamID, const float *data, int nmiss)
{
stream_write_record(streamID, MEMTYPE_FLOAT, (const void *) data, nmiss);
}
......
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