Skip to content

Commit

Permalink
Update release notes for 0.7.0 (#366)
Browse files Browse the repository at this point in the history
* Update release notes for 0.7.0
  • Loading branch information
sandorkertesz authored Apr 17, 2024
1 parent d2f771b commit f2e06d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/guide/sources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ polytope
: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>`.
: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>`.
:type group_by: str, list of str
:param dict **kwargs: other keyword arguments specifying the request
:param dict **kwargs: other keyword arguments, these can include options passed to the polytope-client_

The following example retrieves GRIB data from the "ecmwf-mars" polytope collection:
Expand Down
7 changes: 3 additions & 4 deletions docs/release_notes/version_0.7_updates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@ New features

- implemented the :ref:`parts <parts>` option for :ref:`file <data-sources-file>` sources with :ref:`grib` and :ref:`bufr` data
- added shapefile support. See the :ref:`/examples/shapefile.ipynb` notebook example.
- added the :ref:`data-sources-opendap` source to access NetCDF data from OPEnDAP services
- added the :ref:`data-sources-opendap` source to access NetCDF data from OPEnDAP services. See the :ref:`/examples/netcdf_opendap.ipynb` notebook example.
- added the :ref:`data-sources-sample` source to access data used in tests and examples
- 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.
- added support for Lambert Conformal projection when using :meth:`Field.projection() <data.core.fieldlist.Field.projection>`
- 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.
- added the ``model`` option to the :ref:`data-sources-eod` source
- added the ``user_email`` and ``user_key`` options to the :ref:`data-sources-polytope` source
- 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.
- added the
- 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.
- added the ``user_email`` and ``user_key`` options to the :ref:`data-sources-polytope` source. This source does not use the prompt any longer.
- 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.
- :func:`from_source` now fails when trying to load an empty file
- 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
Expand Down

0 comments on commit f2e06d3

Please sign in to comment.