Skip to content

Releases: geospace-code/matlab-stdlib

add [h5,nc]ndims. [h5,nc]size scalar is empty. h5save write scalar size accurately

29 Mar 17:30
63b1e8d
Compare
Choose a tag to compare
  • add functions "h5ndims" and "ncndims" to get rank of disk variables
  • "h5size" and "ncsize" return empty [] if disk variable is scalar. This is like Python etc.
  • "h5save" better respects optional "size" argument to optionally write scalars instead as 1 or more dimensions e.g. [1,1,1]. This is necessary to interface with other languages.

[sha256,md5]sum return string, add mac/windows CI

31 Jan 08:15
9d91f97
Compare
Choose a tag to compare

CI for Matlab now has MacOS, Linux and Windows

improve [sha256,md5]sum by outputting string instead of char, as typical use case is == check.

absolute_path UX, improve test coverage

02 Dec 19:36
e695a2e
Compare
Choose a tag to compare

absolute_path: return UNC paths unmodified, print invalid path if canonicalize fails

add subprocess_run test of env=

test fileio.which: accommodate Matlab on MacOS

use CMake to extract zstd

23 Nov 22:53
bd196c4
Compare
Choose a tag to compare

Most of our users will have CMake already, at least as likely as having zstd without having to use an intermediate temporary file. So it's faster and robust.

improve test coverage, cleanup lint

23 Nov 18:22
87400c9
Compare
Choose a tag to compare

Improve auto-linter, resolve minor issues thereby discovered

which: streamline logic

17 Nov 20:04
47c36b0
Compare
Choose a tag to compare

allow fpath to be a scalar or array

[h5,nc]save: allow bare filename

11 Nov 15:52
3eb91d6
Compare
Choose a tag to compare
[h5,nc]save: allow plain filename without folder

ci: update actions

HDF5 scalar write, Matlab >= R2020b

16 Jul 08:28
fc4d0c4
Compare
Choose a tag to compare

Matlab doesn't have a high-level function to write scalar HDF5 dataset, so we added it to our h5save.

To avoid excess code, we put enhanced argument checks in stdlib.hdf5nc functions that require Matlab >= R2020b.

add fileio.sha256sum

31 May 05:13
de2ec24
Compare
Choose a tag to compare
v4.0.1

add fileio.sha256sum

reorganized as stdlib

30 May 22:57
47aee56
Compare
Choose a tag to compare

combined a few complimentary libraries into this stdlib.

import hdf5nc.* => import stdlib.hdf5nc.*