Implements the Scientific Citation Extension.
For a description of Digital Object Identifiers (DOIs), see the DOI Handbook:
A concrete implementation of ScientificExtension
on an Collection
that extends the properties of the Item to include properties defined in the Scientific Citation Extension.
This class should generally not be instantiated directly. Instead, call ScientificExtension.ext()
on an Collection
to extend it.
The Collection
being extended.
The list of Link
objects associated with the Collection
being extended, including links added by this extension.
The Collection
properties, including extension properties.
A concrete implementation of ScientificExtension
on an Item
that extends the properties of the Item to include properties defined in the Scientific Citation Extension.
This class should generally not be instantiated directly. Instead, call ScientificExtension.ext()
on an Item
to extend it.
The Item
being extended.
The list of Link
objects associated with the Item
being extended, including links added by this extension.
The Item
properties, including extension properties.
Helper for Publication entries.
Gets a Link
for the DOI for this publication. If Publication.doi
is None
, this method will also return None
.
An abstract class that can be used to extend the properties of an Item
or a pystac.Collection
with properties from the Scientific Citation Extension. This class is generic over the type of STAC Object to be extended (e.g. Item
, Collection
).
To create a concrete instance of ScientificExtension
, use the ScientificExtension.ext()
method. For example:
>>> item: pystac.Item = ... >>> sci_ext = ScientificExtension.ext(item)
Applies scientific extension properties to the extended Item
.
doi – Optional DOI string for the item. Must not be a DOI link.
citation – Optional human-readable reference.
publications – Optional list of relevant publications referencing and describing the data.
Get or sets the recommended human-readable reference (citation) to be used by publications citing the data.
No specific citation style is suggested, but the citation should contain all information required to find the publication distinctively.
Get or sets the DOI for the item.
This MUST NOT be a DOIs link. For all DOI names respective DOI links SHOULD be added to the links section.
Extends the given STAC Object with properties from the Scientific Extension.
This extension can be applied to instances of Item
or Collection
.
pystac.ExtensionTypeError – If an invalid object type is passed.
Gets the schema URI associated with this extension.
Get or sets the list of relevant publications referencing and describing the data.
Removes the given Publication
from the extended Item
. If the publication
argument is None
, all publications will be removed from the Item
.
Returns the extended summaries object for the given collection.
A list of rel types defined in the Scientific Citation Extension.
See the Scientific Citation Extension Relation types documentation for details.
Used to indicate a link to the publication referenced by the sci:doi
field.
A concrete implementation of SummariesExtension
that extends the summaries
field of a Collection
to include properties defined in the Scientific Citation Extension.
Get or sets the summary of ScientificExtension.citation
values for this Collection.
Get or sets the summary of ScientificExtension.citation
values for this Collection.
Generalized version of Collection
or Item
alias of TypeVar(‘T’, ~pystac.collection.Collection, ~pystac.item.Item)
Converts a DOI to the corresponding URL.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4