You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/sources.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -728,7 +728,7 @@ polytope
728
728
:param int batch_size: used when ``stream=True`` and ``group_by`` is unset. It defines how many GRIB messages are consumed from the stream and kept in memory at a time. ``batch_size=0`` means all the data is read straight to memory. For details see :ref:`stream source <data-sources-stream>`.
729
729
:param group_by: used when ``stream=True`` and can specify one or more metadata keys to control how GRIB messages are read from the stream. For details see :ref:`stream source <data-sources-stream>`.
730
730
:type group_by: str, list of str
731
-
:param dict **kwargs: other keyword arguments specifying the request
731
+
:param dict **kwargs: other keyword arguments, these can include options passed to the polytope-client_
732
732
733
733
734
734
The following example retrieves GRIB data from the "ecmwf-mars" polytope collection:
Copy file name to clipboardExpand all lines: docs/release_notes/version_0.7_updates.rst
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,15 +15,14 @@ New features
15
15
16
16
- implemented the :ref:`parts <parts>` option for :ref:`file <data-sources-file>` sources with :ref:`grib` and :ref:`bufr` data
17
17
- added shapefile support. See the :ref:`/examples/shapefile.ipynb` notebook example.
18
-
- added the :ref:`data-sources-opendap` source to access NetCDF data from OPEnDAP services
18
+
- added the :ref:`data-sources-opendap` source to access NetCDF data from OPEnDAP services. See the :ref:`/examples/netcdf_opendap.ipynb` notebook example.
19
19
- added the :ref:`data-sources-sample` source to access data used in tests and examples
20
20
- added the ``array_backend`` option for :class:`~data.core.fieldlist.FieldList`\ s to allow specifying other array backends than numpy. Also added the :meth:`FieldList.array() <data.core.fieldlist.FieldList.array>` and :meth:`Field.array() <data.core.fieldlist.Field.array>` methods to extract the values using the given array backend. See the :ref:`/examples/grib_array_backends.ipynb` notebook example.
21
21
- added support for Lambert Conformal projection when using :meth:`Field.projection() <data.core.fieldlist.Field.projection>`
22
22
- changed the default of the ``bits_per_value`` option to None in :meth:`NumpyFieldList.save() <data.sources.numpy_list.NumpyFieldList.save>`. None means the original ``bits_per_value`` in the GRIB header is kept when the data is written to disk.
23
23
- added the ``model`` option to the :ref:`data-sources-eod` source
24
-
- added the ``user_email`` and ``user_key`` options to the :ref:`data-sources-polytope` source
25
-
- added the ``prompt`` optional argument to certain retrievals to control whether the prompt is to use. When enabled, the prompt asks the user to provide credentials when none seems to be specified. See e.g. the :ref:`data-sources-cds` or :ref:`data-sources-mars` sources.
26
-
- added the
24
+
- added the ``prompt`` optional argument to certain retrievals to control whether the prompt is to use. When enabled (default), the prompt asks the user to provide credentials when none seems to be specified. See the :ref:`data-sources-cds`, :ref:`data-sources-mars`, :ref:`data-sources-wekeo`, :ref:`data-sources-wekeocds` sources for more information on how the prompt works.
25
+
- added the ``user_email`` and ``user_key`` options to the :ref:`data-sources-polytope` source. This source does not use the prompt any longer.
27
26
- allowed using :func:`save` without specifying a file name. In this case an attempt is made to generate the filename automatically, when it fails an exception is thrown.
28
27
- :func:`from_source` now fails when trying to load an empty file
29
28
- removed the geo submodule. This functionality, including the :func:`nearest_point_haversine` and :func:`nearest_point_haversine` methods, is now available in the :xref:`earthkit-geo` package
0 commit comments