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
STAC talks about items and assets. These are equivalent to datasets and files in ESGF.
The client should allow the user to specify whether they are searching on items or assets by using: doctype=(item|asset)
And we should allow aliases for ESGF users, who can specify: doctype=(dataset|file)
Specific test requirements
client.search(doctype="item") should return items, so it should be identical to client.search() (because item is the default)
client.search(doctype="dataset") should behave the same as (1).
client.search(doctype="asset") should re-route to a call to client.asset_search() and should return assets.
client.search(doctype="file") should behave the same as (3).
If doctype is not in the known list: ["item", "asset", "dataset", "file"] then the client should raise an Exception that explains the error.
The text was updated successfully, but these errors were encountered:
Overview
STAC talks about
items
andassets
. These are equivalent todatasets
andfiles
in ESGF.The client should allow the user to specify whether they are searching on
items
orassets
by using:doctype=(item|asset)
And we should allow aliases for ESGF users, who can specify:
doctype=(dataset|file)
Specific test requirements
client.search(doctype="item")
should returnitems
, so it should be identical toclient.search()
(becauseitem
is the default)client.search(doctype="dataset")
should behave the same as (1).client.search(doctype="asset")
should re-route to a call toclient.asset_search()
and should returnassets
.client.search(doctype="file")
should behave the same as (3).doctype
is not in the known list:["item", "asset", "dataset", "file"]
then the client should raise an Exception that explains the error.The text was updated successfully, but these errors were encountered: