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

{% translate "Calculate indices on gridded data" %}

{% translate "Choose netCDF files of daily maximum and minimum temperature and precipitation. Climpact shows what they contain before anything is calculated, then calculates every index (or a thresholds file) for each cell of the grid." %}

{% include "components/form_errors.html" with form=upload_form %}
{% if local %} {% include "gridded/_chooser.html" %} {% endif %}
{% csrf_token %}

{% if local %}{% translate "Or upload copies" %}{% else %}{% translate "Your netCDF files" %}{% endif %}

{% blocktranslate asvar hint with size=max_upload_mb %}netCDF, up to {{ size }} MB in all. One file with all three variables, or one file for each.{% endblocktranslate %} {% include "components/dropzone.html" with field=upload_form.files hint=hint multiple=True %} {% if not local %}{% help_topic "gridded.files" %}{% endif %} {% if local %}

{% translate "Uploading copies the files into Climpact's data folder. Choosing them by path is quicker for large files." %}

{% endif %}
{% translate "Upload and check" as upload_label %} {% include "components/button.html" with label=upload_label type="submit" icon="upload" variant=local|yesno:"secondary,primary" %}
{% icon "play" %}

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

{% translate "Try a small cut of Climpact's sample grid: 3 by 4 cells over south-eastern Australia, daily from 1991 to 2010. It calculates in about a minute." %}

{% csrf_token %} {% translate "Use the sample grid" 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 "gridded/_retention.html" %}
{% icon "help" %}{% translate "What the files must contain" %}{% icon "chevron-down" %}

{% translate "CF netCDF files (netCDF-3 or netCDF-4) with daily values on a grid, as Climpact for R reads them:" %}

  • {% translate "maximum and minimum temperature in K or degrees_C, and precipitation in kg m-2 d-1, kg m-2 s-1 or mm/day;" %}
  • {% translate "each variable with dimensions time, latitude and longitude (any order), in one file or in separate files that share the same days and grid;" %}
  • {% translate "a time variable with units such as days since 1950-01-01, in the standard, noleap (365_day) or 360_day calendar." %}

{% translate "The variables can have any names: you choose which is which on the next page. All three are needed." %}

{% if recent %}

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

{% endif %}
{% endblock %}