Skip to content

Commit

Permalink
Some corrections to the OLCI reader docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrp84 committed Oct 21, 2019
1 parent 24b5c8c commit af639bb
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions satpy/readers/olci_nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,28 @@
This reader supports an optional argument to choose the 'engine' for reading
OLCI netCDF4 files. By default, this reader uses the default xarray choice of
engine, as defined in the `xarray open_dataset documentation`_. As an
alternative, the user may wish to use the 'h5netcdf' engine, but that is
not default as it typically prints many non-fatal but confusing error
messages to the terminal.
To choose between engines the user can do as follows for the default:
engine, as defined in the `xarray open_dataset documentation`_.
As an alternative, the user may wish to use the 'h5netcdf' engine, but that is
not default as it typically prints many non-fatal but confusing error messages
to the terminal.
To choose between engines the user can do as follows for the default::
scn = satpyScene(filenames=my_files, reader='olci_l1b')
or as follows for the h5netcdf engine:
or as follows for the h5netcdf engine::
scn = Scene(filenames=my_files,
reader='olci_l1b'), reader_kwargs={'engine': 'h5netcdf'})
reader='olci_l1b'), reader_kwargs={'engine': 'h5netcdf'})
References:
- `xarray open_dataset documentation`_
.. _xarray open_dataset: http://xarray.pydata.org/en/stable/generated/xarray.open_dataset.html
"""


import logging
from datetime import datetime

Expand Down

0 comments on commit af639bb

Please sign in to comment.