File: assets.rst

package info (click to toggle)
eodag 3.10.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 48,500 kB
  • sloc: python: 41,542; xml: 3,791; makefile: 27; sh: 9
file content (36 lines) | stat: -rw-r--r-- 1,274 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.. module:: eodag.api.product._assets

======
Assets
======

The `Assets` module provides classes and methods to manage and interact with assets associated with :class:`~eodag.api.product._product.EOProduct`.
These assets can include files, metadata, or other resources that are part of a product's data package.
The module offers functionality for accessing, manipulating, and extending asset-related operations.

.. autoclass:: AssetsDict
   :members:

.. autoclass:: Asset
   :members:

Pixel access
------------

.. warning::

   The following methods will only be available with `eodag-cube <https://github.com/CS-SI/eodag-cube>`__ installed.

.. class:: eodag_cube.api.product._assets.AssetsDict
   :canonical: eodag_cube.api.product._assets.AssetsDict

   Inherits from :class:`eodag.api.product._assets.AssetsDict` and implements pixel access related methods.

.. class:: eodag_cube.api.product._assets.Asset

   Inherits from :class:`eodag.api.product._assets.Asset` and implements pixel access related methods.

.. automethod:: eodag_cube.api.product._assets.Asset.to_xarray
.. automethod:: eodag_cube.api.product._assets.Asset.get_file_obj
.. automethod:: eodag_cube.api.product._assets.Asset.rio_env
.. automethod:: eodag_cube.api.product._assets.Asset.get_data