Aller au contenu

omnilab/copernicus Référence de l’API

Étage
Fournisseur · Omnilab
Version
1.x
Suite de conformité
non branchée
Vérifié en réel
Son README ne le dit pas
Licence
MIT
composer require omnilab/copernicus:1.x-dev

Lue dans les fichiers PHP du paquet au commit 2f74758fc2b1 : ses espaces de noms, classes, interfaces et énumérations, leurs constantes, propriétés et méthodes publiques avec leur PHPDoc, et les options que prennent ses fabriques. Rien n’en est exécuté.

Omnilab\Copernicus

  • CopernicusSource class

    The Copernicus Data Space Ecosystem's STAC catalogue (stac.dataspace.copernicus.eu/v1): the products of the Sentinel missions, of Landsat, MODIS, the Copernicus DEM and the Copernicus services, by collection, place, period and cloud cover - read without an account.

    4 methods · 2 constants

  • CopernicusSourceFactory class

    The Copernicus Data Space's STAC catalogue: Sentinel and Copernicus products by place, period and cloud cover - no account needed to search.

    2 options

Omnilab\Copernicus

CopernicusSource class

final class CopernicusSource extends HttpSource CopernicusSource.php:30

The Copernicus Data Space Ecosystem's STAC catalogue (stac.dataspace.copernicus.eu/v1): the products of the Sentinel missions, of Landsat, MODIS, the Copernicus DEM and the Copernicus services, by collection, place, period and cloud cover - read without an account.

A product's assets keep the addresses the catalogue gives (s3://eodata/... with an https:// alternate on download.dataspace.copernicus.eu); reading them needs a CDSE access token, which is the application's business: this source only searches. The thumbnail, when there is one, is open.

The catalogue is read by the core's STAC reader (Source\Stac): the cloud cover filtered in CQL2 text, paging by the "next" link's token (the cursor). Without fields selection the catalogue serves at most 100 Sentinel-2 items a page.

const BASE_URI = 'https://stac.dataspace.copernicus.eu/v1/'
const MAX_PER_PAGE = 100

The most per page the catalogue serves whole items for.

CopernicusSource::__construct()

public function __construct(HttpClientInterface $http, readonly array $collections = ['sentinel-2-l2a'], string $baseUri = self::BASE_URI, array $headers = [], float $throttle = 0.0)
$collections

what a query that names none searches

CopernicusSource::getName()

public function getName(): string

CopernicusSource::capabilities()

public function capabilities(): array

CopernicusSource::products()

public function products(ProductQuery $query): Page

CopernicusSourceFactory class

final class CopernicusSourceFactory extends SourceFactory CopernicusSourceFactory.php:18

The Copernicus Data Space's STAC catalogue: Sentinel and Copernicus products by place, period and cloud cover - no account needed to search.

options: collections: [sentinel-2-l2a] # what a query that names none searches base_uri: 'https://stac.dataspace.copernicus.eu/v1/'

Options

OptionDefault
collections['sentinel-2-l2a']
base_uriCopernicusSource::BASE_URI