{% extends "base.html" %} {% load i18n static ui help %} {% block title %}{% translate "Load station data" %}{% endblock %} {% block steps %}{% include "components/steps.html" %}{% endblock %} {% block content %}

{% translate "Load station data" %}

{% translate "Start with a file of daily temperature and precipitation for one station. Climpact checks it and shows you what it contains before you go on." %}

{% if inspection and not inspection.ok %}{% include "stations/_problems.html" %}{% endif %}
{% csrf_token %}

{% translate "Your station file" %}

{% blocktranslate asvar hint with size=max_upload_mb %}Text or CSV, up to {{ size }} MB.{% endblocktranslate %} {% include "components/dropzone.html" with field=form.station_file hint=hint %}

{{ form.station_file.help_text }}

{% help_topic "station.file" %} {% turnstile %}
{% translate "Load the file" as load_label %} {% include "components/button.html" with label=load_label type="submit" icon_end="arrow-right" size="lg" %}
{% icon "play" %}

{% translate "No file to hand?" %}

{% translate "Try Climpact with daily data for Sydney Observatory Hill, Australia, 1936 to 2015. The station name and location are filled in for you." %}

{% csrf_token %} {% translate "Use the sample data" as sample_label %} {% include "components/button.html" with label=sample_label type="submit" variant="secondary" icon="play" %}

{% icon "download" %} {% blocktranslate %}Download the sample file ({{ sample_name }}){% endblocktranslate %}

{% include "stations/_retention.html" %}
{% icon "help" %}{% translate "What the file must look like" %}{% icon "chevron-down" %}

{% translate "One row per day, in date order, with six columns separated by spaces, tabs or commas:" %}

  1. {% translate "year, month and day (whole numbers);" %}
  2. {% translate "precipitation in millimetres;" %}
  3. {% translate "maximum and minimum temperature in degrees Celsius." %}

{% translate "Write a missing value as -99.9. A first row of column names is allowed and skipped. For example:" %}

year month day prcp tmax tmin
1936 1 1 0.3 23.7 18.7
1936 1 2 0.5 24.1 17.7
1936 1 3 -99.9 25 19.7

{% translate "This is the format of Climpact for R and RClimDex, so files prepared for them work here unchanged." %}

{% translate "Read the guide to preparing a station file" %}

{% if recent %}

{% translate "Continue where you left off" %}

{% endif %}
{% endblock %}