# Checking for successful forecast submission

**URL:** <https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862>\
**Category:** AI Weather Quest\
**Tags:** announcements\
**Created:** [22 July 2025 16:12 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862 "2025-07-22T16:12:36Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joshua\_Talib](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/joshua_talib/32/987_2.png) [@Joshua\_Talib](https://forum.ecmwf.int/u/Joshua_Talib)\
**Post date:** [22 July 2025 16:12 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862/1 "2025-07-22T16:12:36Z")

</div>

Dear all,

I have created a function that enables you to check whether your forecast has been successfully submitted. To use this function you must first upgrade the AI Weather Quest Python package:

`python3 -m pip install --upgrade AI_WQ_package`

You can then call the `AI_WQ_check_submission` function within the `forecast_submission` component of the `AI_WQ_package`. The function takes all the same variables as creating an empty data array and checks whether the appropriate forecast file is found on our server.

Below is an example checking for a forecast with the initialisation date on the 17th July 2025:

```auto
from AI_WQ_package.forecast_submission import AI_WQ_check_submission
AI_WQ_check_submission('tas','20250717','1','ECMWFtest','dynamicalEC',password)

```

Documentation has been updated on ReadTheDocs: [Submitting a Forecast — AI\_Weather\_Quest 1.0 documentation](https://ecmwf-ai-weather-quest.readthedocs.io/en/latest/submit_forecast.html#checking-for-a-successful-forecast-submission)

I hope this is helpful for participants.

Thanks,  
Josh

---

<div class="post-metadata">

**Author:** ![Dale\_Durran](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/d/f08c70/32.png) [@Dale\_Durran](https://forum.ecmwf.int/u/Dale_Durran)\
**Post date:** [24 July 2025 15:27 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862/2 "2025-07-24T15:27:24Z")

</div>

Thanks Joshua, we will give this a try.

---

<div class="post-metadata">

**Author:** ![Joshua\_Talib](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/joshua_talib/32/987_2.png) [@Joshua\_Talib](https://forum.ecmwf.int/u/Joshua_Talib)\
**Post date:** [24 July 2025 15:40 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862/3 "2025-07-24T15:40:28Z")

</div>

Hi Dale,

I know that this function will state that NDIVIA’s contribution to the AI Weather Quest has **not** been submitted, as I cannot see the files on the dedicated FTP site.

I have asked David to send me his code for submission asap, so we can try and solve the issue.

Kind regards,  
Josh

---

<div class="post-metadata">

**Author:** ![Peng\_Lu](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/p/8dc957/32.png) [@Peng\_Lu](https://forum.ecmwf.int/u/Peng_Lu)\
**Post date:** [25 July 2025 03:23 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862/4 "2025-07-25T03:23:54Z")

</div>

Dear Joshua  
I have upgrade the version 2.4.1, when run the code, it shown “ImportError: cannot import name ‘AI\_WQ\_check\_submission’ from ‘AI\_WQ\_package.forecast\_submission’”

---

<div class="post-metadata">

**Author:** ![Joshua\_Talib](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/joshua_talib/32/987_2.png) [@Joshua\_Talib](https://forum.ecmwf.int/u/Joshua_Talib)\
**Post date:** [25 July 2025 08:05 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862/5 "2025-07-25T08:05:02Z")

</div>

Strange. I’ve just updated the package again (v. 2.4.2).

The following code is working fine for me after upgrading the package:

```auto
from AI_WQ_package.forecast_submission import AI_WQ_check_submission
AI_WQ_check_submission('tas','20250703','1','AIFS','AIFSgaia',password)

```

I have asked someone else to also check they can use the function after downloading the latest package version.

Josh

---

<div class="post-metadata">

**Author:** ![Peng\_Lu](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/p/8dc957/32.png) [@Peng\_Lu](https://forum.ecmwf.int/u/Peng_Lu)\
**Post date:** [25 July 2025 08:29 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862/6 "2025-07-25T08:29:18Z")

</div>

Thank you very much. It works well now.

---

<div class="post-metadata">

**Author:** ![Joshua\_Talib](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/joshua_talib/32/987_2.png) [@Joshua\_Talib](https://forum.ecmwf.int/u/Joshua_Talib)\
**Post date:** [28 July 2025 06:26 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862/7 "2025-07-28T06:26:50Z")

</div>

Hi Dale,

I see a successful submission from your team this morning. Do you know what the error when previously attempting submission, so we can make sure other teams don’t make the same mistake.

Thanks,  
Josh

---

<div class="post-metadata">

**Author:** ![Peng\_Lu](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/p/8dc957/32.png) [@Peng\_Lu](https://forum.ecmwf.int/u/Peng_Lu)\
**Post date:** [30 July 2025 01:19 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862/8 "2025-07-30T01:19:54Z")

</div>

Dear Joshua\_Talib  
I have a question to confirm: If I have already submitted once during a submission cycle, will my submission result be updated to the new one or remain as the original when I submit again.

---

<div class="post-metadata">

**Author:** ![Joshua\_Talib](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/joshua_talib/32/987_2.png) [@Joshua\_Talib](https://forum.ecmwf.int/u/Joshua_Talib)\
**Post date:** [30 July 2025 07:40 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862/9 "2025-07-30T07:40:30Z")

</div>

Hi @Peng_Lu ,

If you resubmit a forecast in the same submission window (i.e. 14th to 17th August inclusive), then the original forecast will be removed and the new forecast will be submitted. Here’s the relevant code in [forecast\_submission.AI\_WQ\_forecast\_submission](https://github.com/ecmwf/AI_weather_quest/blob/src/src/AI_WQ_package/forecast_submission.py):

```auto
file = open(final_filename,'rb') # read the forecast file
    
# as of 6th Dec 2024 - couldn't rewrite over old files so delete if already existing
try:
    session.delete(remote_path)
    print(f"Existing file '{final_filename}' deleted.")
except ftplib.error_perm:
    pass

```

Best wishes,  
Josh

---

<div class="post-metadata">

**Author:** ![Peng\_Lu](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/p/8dc957/32.png) [@Peng\_Lu](https://forum.ecmwf.int/u/Peng_Lu)\
**Post date:** [30 July 2025 08:39 UTC](https://forum.ecmwf.int/t/checking-for-successful-forecast-submission/13862/10 "2025-07-30T08:39:50Z")

</div>

Thank you for your clear explanation.
