Skip to content

Commit c6357b4

Browse files
committed
doc
1 parent adca049 commit c6357b4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,14 @@ compression and chunking are disabled if:
175175
* any element of chunk_size is less than 1
176176
* chunk_size is not given in the initialize() call AND not specified in %write()
177177

178+
### check if a variable exists
179+
180+
the logical method %exists() checks if a dataset (variable) exists in the initialized HDF5 file.
181+
182+
```fortran
183+
exists = h5f%exists("/foo", ierr)
184+
```
185+
178186
### Read scalar, 3-D array of unknown size
179187

180188
```fortran

0 commit comments

Comments
 (0)