Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Mar 10, 2020
1 parent d367304 commit d6354d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ meson test -C build
```

Meson ≥ 0.53.0 has enhanced NetCDF dependency finding and is recommended.
To include nc4fotran as a Meson subproject, in the master project meson.build (that uses nc4fortran) have like:
To include nc4fortran as a Meson subproject, in the master project meson.build (that uses nc4fortran) have like:

```meson
nc4_proj = subproject('nc4fortran')
nc4_interface = nc4_proj.get_variable('nc4_interface')
my_exe = exectuable('myexe', 'main.f90', dependencies: nc4_interface)
my_exe = executable('myexe', 'main.f90', dependencies: nc4_interface)
```

and have a file in the master project `subprojects/nc4fortran.wrap` containing:
Expand Down Expand Up @@ -128,12 +128,12 @@ use nc4fortran, only: netcdf_file
type(netcdf_file) :: hf
```

* gzip compression may be applied for rank ≥ 2 arrays by setting `comp_lvl` to a value betwen 1 and 9.
* gzip compression may be applied for rank ≥ 2 arrays by setting `comp_lvl` to a value between 1 and 9.
Shuffle filter is automatically applied for better compression
* string attributes may be applied to any variable at time of writing or later.
* `chunk_size` option may be set for better compression

`integer, intent(out) :: ierr` is opttional.
`integer, intent(out) :: ierr` is optional.
It will be non-zero if error detected.
This value should be checked, particularly for write operations to avoid missing error conditions.
If `ierr` is omitted, nc4fortran will `error stop` on error.
Expand Down

0 comments on commit d6354d6

Please sign in to comment.