Commit Graph

38 Commits

Author SHA1 Message Date
Jarle Ladstein
2f26ae3fc6 Do not call nc_close on null object in NcFile destructor 2014-01-10 10:38:58 +01:00
Russ Rew
1d9f9eda36 Merge branch 'exception_code_msg' of https://github.com/jarlela/netcdf-cxx4 into jarlela-exception_code_msg 2014-01-03 13:42:35 -07:00
Jarle Ladstein
951ca46b0d Included missing header for strerror + handle unknown system error code 2014-01-03 10:55:00 +01:00
slayoo
920860a164 NcFile ctor: handling format + open 2013-12-29 01:53:18 +01:00
slayoo
fb1f81ace7 addVar for scalar variables 2013-12-29 01:46:56 +01:00
slayoo
0d1698d09b assuring no exception is thrown from ncFile dtor 2013-12-29 01:13:30 +01:00
slayoo
76a61b9ba7 automatic data/define mode switching for classic files (see example in cxx4/test_classic.cpp) 2013-12-29 01:06:31 +01:00
Russ Rew
92ec0a9f40 Add missing NcFile::enddef() method, so can create files of all format types 2013-12-23 13:04:05 -07:00
Russ Rew
e013ab35f0 Merge branch 'sync' of https://github.com/jarlela/netcdf-cxx4 into jarlela-sync
Conflicts:
	cxx4/ncFile.h
2013-12-17 14:32:27 -07:00
Russ Rew
d3234f85cf Merge pull request #7 from jarlela/vc_debug_assertions
Vc debug assertions
2013-12-17 13:15:13 -08:00
Russ Rew
021f947e33 Merge branch 'vc_warnings' of https://github.com/jarlela/netcdf-cxx4 into jarlela-vc_warnings 2013-12-17 14:05:47 -07:00
Russ Rew
85985bfbb9 Merge branch 'NcFile_copy_assign' of https://github.com/jarlela/netcdf-cxx4 into jarlela-NcFile_copy_assign 2013-12-17 13:50:38 -07:00
Jarle Ladstein
9f06cab078 Added error code member variable to NcException and changed constructor signatures 2013-12-16 17:42:52 +01:00
Jarle Ladstein
a77a11dba7 Added 'NcFile' member function 'sync' to expose nc_sync from netcdf-c 2013-12-13 16:07:37 +01:00
Jarle Ladstein
224e9931f8 Changed NcCompondType::addMemeber 2013-12-13 15:04:53 +01:00
Jarle Ladstein
8737f61d4e Removed some references to element in possibly empty vectors in ncVar.cpp 2013-12-13 14:32:57 +01:00
Jarle Ladstein
3a2635cc33 Removed possible reference to element of empty vector in NcCompound::addMember 2013-12-13 12:55:09 +01:00
Jarle Ladstein
9d8ac73120 Removed several vector out of bounds debug assertion failures in ncGroup.cpp 2013-12-12 16:27:49 +01:00
Jarle Ladstein
5cc79df739 All test running in debug mode 2013-12-12 14:42:01 +01:00
Jarle Ladstein
114301e56f Reference to element of possibly empty vector removed in NcDim::isUnlimited 2013-12-12 14:37:02 +01:00
Jarle Ladstein
ac3d1f0aef Removed some references to elements of empty vectors. Calls from test_att and test_var2 2013-12-12 14:25:12 +01:00
Jarle Ladstein
fce2747f00 NcVar.getChunkingParameters: vector.reserve changed to vector.resize and removed reference to first element of empty verctor in the case of a scalar NcVar 2013-12-12 13:37:50 +01:00
Jarle Ladstein
8924333ad3 Comment 2013-12-11 15:46:45 +01:00
Jarle Ladstein
5e131652be Fixed unsigned/signed mismatch + unsafe type converion warnings in tests 2013-12-11 13:54:31 +01:00
Russ Rew
1b6dae27f3 Merge branch 'test_type' of https://github.com/jarlela/netcdf-cxx4 into jarlela-test_type 2013-12-10 16:21:25 -07:00
Russ Rew
36285f9e73 Merge branch 'compiler_warnings_Wwrite-strings' of https://github.com/jarlela/netcdf-cxx4 into jarlela-compiler_warnings_Wwrite-strings 2013-12-10 16:17:11 -07:00
Russ Rew
3b43a4c012 Merge branch 'compiler_warnings_operators' of https://github.com/jarlela/netcdf-cxx4 into jarlela-compiler_warnings_operators 2013-12-10 16:09:00 -07:00
Russ Rew
e5ccb03f20 Changed nullptr to NULL for compilers not at C++11 yet 2013-12-10 16:00:32 -07:00
Jarle Ladstein
f1d7123f5a Fixed bug in test of compound type fill value 2013-12-10 16:39:58 +01:00
Jarle Ladstein
cf35fe8980 Removed unsafe copy constructor and assignment operator, declared private 2013-12-09 18:43:38 +01:00
Jarle Ladstein
4b57c61161 NcException copy constructor and assignment operators defined 2013-12-09 18:11:50 +01:00
Jarle Ladstein
f5b18947d6 Made ncCheck argument file 'const char*' 2013-12-09 17:15:40 +01:00
Jarle Ladstein
5df2918300 Replaced several bitwise OR with logical OR 2013-12-09 14:34:02 +01:00
Jarle Ladstein
127ff36095 NcException: changed member variables to std::string* 2013-12-06 16:51:39 +01:00
Russ Rew
a9387d320c Implement missing constructor NcCompoundType(const NcType& ncType), fixes Jira issue NCXXF-8 2012-08-28 19:13:36 +00:00
Ed Hartnett
620858025f added pkgconfig file 2011-09-23 11:49:34 +00:00
Ed Hartnett
645ab239b0 fixed netcdf-4 problem, cleaned up some data files left over from testing. 2011-08-18 14:28:42 +00:00
Ed Hartnett
965b61a671 new 2011-08-17 18:56:14 +00:00