@@ -7,15 +7,15 @@ The NetCDF4 functions also work with GNU Octave when
7
7
[ octave-netcdf] ( https://octave.sourceforge.io/netcdf/index.html )
8
8
is installed.
9
9
10
- ## hdf5
10
+ ## HDF5
11
11
12
12
* Check that a dataset exists in file:
13
13
14
14
``` matlab
15
15
h5exists(filename, dataset_name)
16
16
```
17
17
18
- * Save a varable to a dataset. If dataset exists, the existing dataset shape must match the variable.
18
+ * Save a variable to a dataset. If dataset exists, the existing dataset shape must match the variable.
19
19
20
20
```matlab
21
21
h5save(filename, dataset_name, dataset)
@@ -33,15 +33,15 @@ is installed.
33
33
h5variables(filename)
34
34
```
35
35
36
- ### netcdf
36
+ ## NetCDF4
37
37
38
38
* Check that a variable exists in file:
39
39
40
40
```matlab
41
41
ncexists(filename, variable_name)
42
42
```
43
43
44
- * Save a varable to a dataset. If dataset exists, the existing dataset shape must match the variable.
44
+ * Save a variable to a dataset. If dataset exists, the existing dataset shape must match the variable.
45
45
46
46
```matlab
47
47
ncsave(filename, variable_name, variable)
@@ -72,3 +72,15 @@ is installed.
72
72
```matlab
73
73
expanduser(path)
74
74
```
75
+
76
+ ## unit tests
77
+
78
+ The files
79
+ [test_hdf5.m](./test_hdf5.m)
80
+ and
81
+ [test_netcdf.m](./test_netcdf.m)
82
+ are meant to be each run serially.
83
+ That is, if using Matlab
84
+ [runtests](https://www.mathworks.com/help/matlab/ref/runtests.html)
85
+ don't use
86
+ ['UseParallel', true](https://www.mathworks.com/help/parallel-computing/run-matlab-functions-with-automatic-parallel-support.html).
0 commit comments