Skip to content

Commit 2cb00e8

Browse files
committed
README: update example
1 parent 95199a1 commit 2cb00e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import netCDF4 as nc
6363
with nc.Dataset("somenetcdf.nc") as nc_in:
6464
v = nc_in.variables["mutidim_variable"]
6565
print(v.shape) # --> (2, 10), is multidim.
66-
w = FlagWrap(v)
66+
w = FlagWrap.init_from_netcdf(v)
6767
print(w.get_flags_set_at_index((0, 0))) # --> ["good_quality_qf"]
6868
```
6969

0 commit comments

Comments
 (0)