Metadata

class sds_data_model.metadata.Metadata(title, dataset_language, abstract, topic_category, keyword, lineage, metadata_date, metadata_language, resource_type, file_identifier, quality_scope, spatial_representation_type)

# TODO.

Returns

# TODO

Return type

_type_

Parameters
  • title (Optional[str]) –

  • dataset_language (Optional[Tuple[str, ...]]) –

  • abstract (Optional[str]) –

  • topic_category (Optional[Tuple[str, ...]]) –

  • keyword (Optional[Tuple[str, ...]]) –

  • lineage (Optional[str]) –

  • metadata_date (Optional[str]) –

  • metadata_language (Optional[str]) –

  • resource_type (Optional[str]) –

  • file_identifier (Optional[str]) –

  • quality_scope (Optional[Tuple[str, ...]]) –

  • spatial_representation_type (Optional[Tuple[str, ...]]) –

__init__(title, dataset_language, abstract, topic_category, keyword, lineage, metadata_date, metadata_language, resource_type, file_identifier, quality_scope, spatial_representation_type)
Parameters
  • title (Optional[str]) –

  • dataset_language (Optional[Tuple[str, ...]]) –

  • abstract (Optional[str]) –

  • topic_category (Optional[Tuple[str, ...]]) –

  • keyword (Optional[Tuple[str, ...]]) –

  • lineage (Optional[str]) –

  • metadata_date (Optional[str]) –

  • metadata_language (Optional[str]) –

  • resource_type (Optional[str]) –

  • file_identifier (Optional[str]) –

  • quality_scope (Optional[Tuple[str, ...]]) –

  • spatial_representation_type (Optional[Tuple[str, ...]]) –

Return type

None

Methods

__init__(title, dataset_language, abstract, ...)

from_file(xml_path[, metadata_kwargs])

# TODO.

Attributes

title

dataset_language

abstract

topic_category

keyword

lineage

metadata_date

metadata_language

resource_type

file_identifier

quality_scope

spatial_representation_type

classmethod from_file(xml_path, metadata_kwargs=None)

# TODO.

Parameters
  • xml_path (str) – A remote URL or local file path.

  • metadata_kwargs (Dict[str, Any]) – Key word arguments to be passed to the requests get method when reading xml metadata from a URL.

Returns

# TODO

Return type

MetadataType