Skip to content

Commit

Permalink
Merge pull request #125 from EdwardBetts/master
Browse files Browse the repository at this point in the history
correct spelling mistakes
  • Loading branch information
dnadeau4 authored Apr 6, 2017
2 parents defeb8b + ae4afe5 commit fa4bbd0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Src/cmor.c
Original file line number Diff line number Diff line change
Expand Up @@ -4166,7 +4166,7 @@ int cmor_write( int var_id, void *data, char type,
zfactors, nc_zfactors,nc_dim_af, &nzfactors);

/* -------------------------------------------------------------------- */
/* Store the dimension id for reuse when writting */
/* Store the dimension id for reuse when writing */
/* over multiple call to cmor_write */
/* -------------------------------------------------------------------- */
cmor_vars[var_id].time_nc_id = nc_vars[0];
Expand Down
2 changes: 1 addition & 1 deletion Src/cmor_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ int cmor_set_dataset_att(cmor_table_t * table, char att[CMOR_MAX_STRING],
if (d > d2) {
snprintf(value2, CMOR_MAX_STRING,
"Table %s is defined for cmor_version %f, "
"this library verson is: %i.%i.%i, %f",
"this library version is: %i.%i.%i, %f",
table->szTable_id, d,
CMOR_VERSION_MAJOR, CMOR_VERSION_MINOR,
CMOR_VERSION_PATCH, d2);
Expand Down
10 changes: 5 additions & 5 deletions Src/cmor_variables.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ int cmor_set_variable_attribute( int id, char *attribute_name, char type,
( strcmp( attribute_name, VARIABLE_ATT_POSITIVE) == 0 ) ||
( strcmp( attribute_name, VARIABLE_ATT_CELLMETHODS ) == 0 ) ) {
snprintf( msg, CMOR_MAX_STRING,
"variable attribute %s (vor variable %s, table %s) must be set via a call to cmor_variable or it is automaticaly set via the tables",
"variable attribute %s (vor variable %s, table %s) must be set via a call to cmor_variable or it is automatically set via the tables",
attribute_name, cmor_vars[id].id,
cmor_tables[cmor_vars[id].ref_table_id].szTable_id );
cmor_handle_error( msg, CMOR_NORMAL );
Expand Down Expand Up @@ -3073,7 +3073,7 @@ int cmor_write_var_to_file( int ncid, cmor_var_t * avar, void *data,
bounds[starts[0] * 2] );
if( ierr != NC_NOERR ) {
snprintf( msg, CMOR_MAX_STRING,
"NCError (%i: %s) writting time bounds values for variable '%s' (table: %s)",
"NCError (%i: %s) writing time bounds values for variable '%s' (table: %s)",
ierr, nc_strerror( ierr ), avar->id,
cmor_tables[avar->ref_table_id].szTable_id );
cmor_handle_error( msg, CMOR_CRITICAL );
Expand Down Expand Up @@ -3110,7 +3110,7 @@ int cmor_write_var_to_file( int ncid, cmor_var_t * avar, void *data,
values[starts[0]] );
if( ierr != NC_NOERR ) {
snprintf( msg, CMOR_MAX_STRING,
"NCError (%i: %s) writting time values for variable '%s' (table: %s)",
"NCError (%i: %s) writing time values for variable '%s' (table: %s)",
ierr, nc_strerror( ierr ), avar->id,
cmor_tables[avar->ref_table_id].szTable_id );
cmor_handle_error( msg, CMOR_CRITICAL );
Expand Down Expand Up @@ -3178,7 +3178,7 @@ int cmor_write_var_to_file( int ncid, cmor_var_t * avar, void *data,

if( ierr != NC_NOERR ) {
snprintf( msg, CMOR_MAX_STRING,
"NCError (%i: %s) writting time bounds values for variable '%s' (table: %s)",
"NCError (%i: %s) writing time bounds values for variable '%s' (table: %s)",
ierr, nc_strerror( ierr ), avar->id,
cmor_tables[avar->ref_table_id].szTable_id );
cmor_handle_error( msg, CMOR_CRITICAL );
Expand All @@ -3196,7 +3196,7 @@ int cmor_write_var_to_file( int ncid, cmor_var_t * avar, void *data,
if( ierr != NC_NOERR ) {

snprintf( msg, CMOR_MAX_STRING,
"NCError (%i: %s) writting time values for variable '%s' (table: %s)",
"NCError (%i: %s) writing time values for variable '%s' (table: %s)",
ierr, nc_strerror( ierr ), avar->id,
cmor_tables[avar->ref_table_id].szTable_id );
cmor_handle_error( msg, CMOR_CRITICAL );
Expand Down

0 comments on commit fa4bbd0

Please sign in to comment.