Skip to content

Commit

Permalink
various changes in different contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
h-dh committed Dec 7, 2015
1 parent 60fa9e1 commit 84c30cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/NcAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4773,6 +4773,7 @@ NcAPI::putData(size_t rec, int varid, Type *arr )

exceptionHandling(key, capt, text, checkType, getVarnameFromVarID(varid));
}

return ;
}

Expand Down Expand Up @@ -4800,9 +4801,6 @@ NcAPI::putData(size_t rec_beg, size_t rec_count, int varid, Type *arr )
layout.rec_start[varid], layout.rec_count[varid],
(void*)arr);

// restore the record counter
layout.rec_count[varid][ layout.rec_index[varid] ] = 1 ;

if(status)
{
std::string key("NC_8_2");
Expand All @@ -4815,8 +4813,12 @@ NcAPI::putData(size_t rec_beg, size_t rec_count, int varid, Type *arr )
checkType.push_back("meta");

exceptionHandling(key, capt, text, checkType, getVarnameFromVarID(varid));
return;
}

// restore the record counter
layout.rec_count[varid][ layout.rec_index[varid] ] = 1 ;

return ;
}

Expand Down
2 changes: 2 additions & 0 deletions src/QA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,8 @@ QA::init(void)
// exclude user-defined data variables from any checking
pIn->excludeVars();

qaTime.init(optStr);

// DRS and CV specifications
drs_cv_table.read(table_DRS_CV);

Expand Down

0 comments on commit 84c30cf

Please sign in to comment.