{% extends "base.html" %} {% load i18n static ui %}{% comment %} The workspace's Files (#239, the Files board): the workspace's context bar with Files current, then the three workspace files (Everything, Trends and Indices of all stations, each with its size), "What is in the zip", the By station table of R's files (a link with its size, or why the file is missing), then the provenance file with "Copy methods text" beside how long the files are kept. While a station is still being calculated the workspace files wait for it. "Keeping the files" ends with Keep 7 more days (a plain POST, where workspaces expire) and Delete workspace now (the Workspaces list's confirmation page, #274). Context from views_files.files_page. {% endcomment %} {% block title %}{% blocktranslate with name=space_name %}Files: {{ name }}{% endblocktranslate %}{% endblock %} {% block head %}{% endblock %} {% block content %}
{% include "stations/_space_bar.html" %}
{% if busy %}

{% translate "The workspace files are made once every station has been calculated." %} {% translate "See how the stations are going" %}

{% elif not has_results %}

{% translate "No station has results yet, so there are no workspace files." %}

{% endif %}

{% translate "Whole workspace" %}

{% icon "folder" %}{% translate "What is in the zip" %}{% icon "chevron-down" %}

{% translate "Each station's results are in a folder of their own, as Climpact for R writes them. A station that could not be calculated has a file named after it ending in .errors.txt, with the reason." %}

  • {% translate "plots: an image of each index (when plots were drawn), and all of them in one PDF;" %}
  • {% translate "indices: a CSV file of each index's values;" %}
  • {% translate "trend: the linear trend of each index;" %}
  • {% translate "thres: the percentile thresholds calculated for each variable;" %}
  • {% translate "qc: the quality-control diagnostics." %}

{% translate "Beside the folders: climpact_run.json (how the files were made), and the trends and indices of all stations as above. The indices file has every yearly and monthly value; the daily tables (EHF, ECF) and TX95t are only in the stations' folders." %}

{% translate "By station" %}

{% blocktranslate trimmed %}The same files Climpact for R writes, named <station>_<file>.csv{% endblocktranslate %}

{% for column in columns %}{% endfor %} {% for row in rows %} {% for cell in row.cells %}{% endfor %} {% endfor %}
{% translate "Station" %}{{ column }}
{{ row.entry.name }}{% if cell.has %}{% if cell.text %}{{ cell.text }}{% else %}{{ cell.size|filesizeformat }}{% endif %} {% blocktranslate with label=cell.label name=row.entry.name %}{{ label }}, {{ name }}{% endblocktranslate %}{% else %}{{ cell.why }}{% if cell.why == "–" %}{% translate "none" %}{% endif %}{% endif %}

{% translate "Provenance" %} {% blocktranslate %}· written as climpact_run.json into every zip{% endblocktranslate %}

{% if built %}
{% translate "Methods text" %}

{{ methods_text }}

{% endif %}
{% if built %}
{{ provenance_text }}
{% else %}

{% translate "Written when the workspace files are made." %}

{% endif %}

{% translate "Keeping the files" %}

{% if space.expires_at %}{% blocktranslate with date=space.expires_at|date:"j M Y" trimmed %} Input files and results are deleted on {{ date }}. Download what you need before then; the provenance file lets you rerun the same calculation. {% endblocktranslate %}{% else %}{% translate "Input files and results stay on this computer until you delete them. The provenance file lets you rerun the same calculation." %}{% endif %}

{% if space.expires_at %}
{% csrf_token %}
{% endif %} {% translate "Delete workspace now" %}
{% endblock %}