{% extends "layout/base.html" %} {% block title %}{{ product.name }} definition{% endblock %} {% set fixed_metadata = product_summary.fixed_metadata or {} %} {% block panel %} {% endblock %} {% block content %} {% from "layout/macros.html" import query_param_list, show_raw_document %}

{{ product.name }}

product of type {{ product.metadata_type.name }}
{{ product.definition['description'] }}

{% if product_summary.dataset_count == 0 %} No datasets {% else %} {% if product_summary %} Extending {% if product_summary.time_earliest -%} {{ product_summary.time_earliest.strftime('%B %Y') }} to {{ product_summary.time_latest.strftime('%B %Y') }} {%- endif %} {% else %} Product not summarised (unknown statistics)
{% endif %}
{{ '{:,d}'.format(product_summary.dataset_count) if product_summary else 'View ' }} datasets {% endif %}

Location{% if location_samples | length > 1 %}s{% endif %} (from sampling)

{% for location in location_samples %}
{{ location.common_prefix }}
{% else %}

No recorded locations

{% endfor %}

Metadata

{% if (product.fields | all_values_none) and (product_summary.fixed_metadata == {}) %} No common values {% else %} {{ query_param_list(product.fields, show_nulls=false, wide=true, descriptions=product.metadata_type.dataset_fields, fallback_dict=product_summary.fixed_metadata or {}) }} {% if product_summary.fixed_metadata is none %} Unknown fixed fields {% endif %} {% endif %}

Searchable fields

{% for key, value in product.fields | dictsort if (value is none and key not in fixed_metadata) %}
{% set field = product.metadata_type.dataset_fields[key] %} {{ key }} {{- field.type_name -}} {%- if field.indexed is true %} {%- endif -%} {% if field.description and ('TODO' not in field.description) %} {{ field.description }} {% endif %}
{% endfor %}
{% if product.definition.measurements %}

Measurements

{% for measurement in product.definition.measurements %}
{{ measurement.name }} {%- for a in measurement.aliases %} / {{ a }} {%- endfor %} {{ measurement.dtype }} with units {{ measurement.units }} and nodata {{ measurement.nodata }}
{% endfor %} {% endif %}
{% if product.definition.storage %}
{# These fields are enforced by dataset-type-schema.yaml#}

Storage Parameters

{{ query_param_list(product.definition.storage, show_dicts=true) }}
{% endif %}

Definition

RAW As Stac
{{ show_raw_document(metadata_doc) }}
{% endblock %}