- Move all unit tests into
tests.rs
files to not reduce the code coverage involuntarily. - Upgrade the version of the dependency
nom
to 7.1.0.
- Add the
struct error::ParseHeaderError
to the public API.
- Improve and debug the method
FileReader::parse_header
, can parse truncated NetCDF-3 headers without panics.
- Rename methods
FileReader::read_var_to_XX
toFileReader::read_var_XX
, namely :read_var_i8
read_var_u8
read_var_i16
read_var_i32
read_var_f32
read_var_f64
-
Add methods
FileReader::read_record_XX
, namely :read_record
read_record_i8
read_record_u8
read_record_i16
read_record_i32
read_record_f32
read_record_f64
-
Add methods
FileWriter::write_record_XX
, namely:write_record_i8
write_record_u8
write_record_i16
write_record_i32
write_record_f32
write_record_f64
- Manage the indeterminated value of the number of records (
numrecs = 2^32 - 1
) while the reading and the writing (File Format Specifications). - Manage the indeterminated value of the chunk size for each variable (
vsize = 2^32 - 1
) while the reading and the writing (File Format Specifications). - Set the maximum size of the NetCDF-3 names (
NC_MAX_NAME_SIZE = 256
).
- Correct the file
README.md
.
- Set the library is under the licenses
MIT OR Apache-2.0
. - Change the
struct DataSet
. It does not contain the variable data. - Change the error
enum
s. - Set the maximum size of the fixed-size dimensions (
NC_MAX_DIM_SIZE = 2_147_483_644
). - Set the maximum number of dimensions per variable (
NC_MAX_VAR_DIMS = 1_024
).
- Add the
struct FileWriter
. It allows to write the NetCDF-3 file.
- Change the error
enum
s. - Change the
struct DataSet
. - Change the
struct FileReader
.
- Initial release