{% extends "dashboard/base.html" %} {% load static browse_extras %} {% block title %}Wind Data{% endblock %} {% block content %}

Wind Data

air
Wind Data
Upload and manage turbine wind HDF5 files for use in simulations
upload_file Upload .h5 / .hdf5 files from the drag-and-drop area below
link Link a file to a simulation via a WindInput component
folder_open Files are saved to the configurable storage directory
public
Visit the R2H2 online data library for ready-to-use wind datasets (https://www.renewabletools.co.uk/r2h2/data-resources/).
upload_file Upload HDF5 files
cloud_upload

Drag & drop .h5 files here

or click to browse

    upload Upload
    dataset Stored files ({{ files|length }} file{{ files|length|pluralize }}) {% if files %}
    {% for f in files %} {# ── filename ── #} {# ── size ── #} {# ── modified ── #} {# ── WindInput link ── #} {# ── duration / resolution ── #} {# ── HDF5 datasets ── #} {% endfor %}
    File name Size (MB) Last modified WindInput Duration HDF5 datasets
    data_object {{ f.name }} {{ f.size_mb }}{{ f.modified }} {% if f.wind_input %} link #{{ f.wind_input.id }} {{ f.wind_input.name }} {% else %} not linked {% endif %} {% if f.ts_n_hours %}
    {# implied years #} {% with years=f.ts_n_hours|floatformat:"-2" %} calendar_month {{ f.ts_n_hours }} h {% if f.ts_n_hours >= 8760 %}  (~{% widthratio f.ts_n_hours 8760 1 %} yr) {% endif %} {% endwith %} {# resolution #} {% if f.ts_resolution %} step {% if f.ts_resolution < 60 %}{{ f.ts_resolution|floatformat:1 }} s {% elif f.ts_resolution < 3600 %}{% widthratio f.ts_resolution 60 1 %} min {% else %}hourly{% endif %} {% endif %}
    {% else %} {% endif %}
    {% if f.h5_datasets %}
    {% for ds in f.h5_datasets|parse_h5_datasets %} {{ ds.path }} {% if ds.shape %}{{ ds.shape }}{% endif %} {% if ds.dtype %}{{ ds.dtype }}{% endif %} {% endfor %}
    {% else %} {% endif %}
    {% else %}

    No HDF5 files found in the storage directory.

    {% endif %}
    {% endblock %}