Dear User,

you receive this message because at {{ request.time_request | timestamp2isot }} ( {{ request.time_request | humanize_age }} ago ) you submitted a request
for a {{ request.product_type }} from the service provided by {{ oda_site.site_name }}
available at the URL {{ oda_site.frontend_url }}.

{% if request.status == "submitted" %} Once products will be ready, you will receive a new email.
{% elif request.status == "done" %} Your request is now ready.
{% elif request.status == "failed" %} Your request has failed. Sorry for that! You will be further contacted by our team.
{% endif %}
{% if request.request_url != "" %} You can inspect the status of your job using the following url.
{% if request.permanent_url %} Note that this url is permanent, and can be used to refer to the results as long as the service exists.
{% else %} Note that this url is NOT permanent, and will be valid until {{ request.decoded_token.exp | timestamp2isot }}.
{% endif %} Such link is intended for the recipient of this email, please do NOT share it, since this might contain sensitive information.

{% else %} You can retrieve the results by repeating the request. Unfortunately, due to a known issue with very large requests, a URL with the selected request parameters could not be generated. This might be fixed in a future release. You can retrieve your products by repeating the request. {% endif -%} You can also retrieve the result by repeating the request (either with frontend or with the python API query{% if not request.api_code_too_long %} at the end of this message.{% endif %}).

In case you have questions or issues you can contact us at this email or reply to the current message.

Kind regards,

The ODA team.

{% if not request.api_code_too_long %}
Python API code:

{{ request.api_code | e | replace("\n", "
\n") }}


Note that this code contains your private token. Be careful how you share it!
This token is short-lived, and will expire in {{ request.decoded_token.exp | humanize_future }}.
To learn how to get a new token, please refer to these instructions.

{% else %} Please note the API code for this query was too large to embed it in the email text. Instead, we attach it as a python script. If you think it was a nominal request, please contact us at this email or reply to the current message, and we will try to resolve the problem as soon as possible. {% endif %}