Skip to content

Releases: patrick-zippenfenig/SwiftNetCDF

v1.1.2

07 Jun 09:15
8ade11d
Compare
Choose a tag to compare

1.1.2 (2024-06-07)

What's Changed

New Contributors

Full Changelog: 1.1.1...v1.1.2

1.1.1 Fix inq_grpname string buffer, Swift 5.6 support in CI

30 May 08:50
0cdf2e1
Compare
Choose a tag to compare

Bugfixes:

  • Fix crash in inq_grpname, because swift String(cString: requires a null terminator (#2 Thanks @fred-sch)

Notes:

  • Swift 5.6 is now integrated in the CI testing process and works well

1.1.0 setAttribute supports type

23 Nov 13:54
Compare
Choose a tag to compare

setAttribute now accepts a type parameter to select the netcdf type.

This can be used to write an array of Int8 as char instead of byte type.

// Write attribute as [Char] instead of string with 0 terminator
try file.setAttribute("TITLE_CHAR", Array("My data set".utf8CString), type: .char)

Initial version 1.0.0

20 Sep 10:24
Compare
Choose a tag to compare

First release of SwiftNetCDF! This version is already used at www.meteoblue.com to read and write NetCDF files in production APIs.

Most commonly used features in NetCDF should be available and working. Hopefully no interface changes are required.

Support for user defined data types would be possible, but not on an agenda, because it is really used and more complicated to implement with Swifts fixed type system

If you have any comments and suggestions, feel free to open an issue ticket