{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/a-variational-u-net-for-weather-forecasting","title":"A Variational U-Net for Weather Forecasting","arxiv_id":"2111.03476","date":"2021-11-05","proceeding":null,"authors":["Pak Hay Kwok","Qi Qi"],"abstract":"Not only can discovering patterns and insights from atmospheric data enable more accurate weather predictions, but it may also provide valuable information to help tackle climate change. Weather4cast is an open competition that aims to evaluate machine learning algorithms' capability to predict future atmospheric states. Here, we describe our third-place solution to Weather4cast. We present a novel Variational U-Net that combines a Variational Autoencoder's ability to consider the probabilistic nature of data with a U-Net's ability to recover fine-grained details. This solution is an evolution from our fourth-place solution to Traffic4cast 2020 with many commonalities, suggesting its applicability to vastly different domains, such as weather and traffic.","url_abs":"https://arxiv.org/abs/2111.03476v1","url_pdf":"https://arxiv.org/pdf/2111.03476v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"a-variational-u-net-for-weather-forecasting","repo_url":"https://github.com/qiq208/weather4cast2021_stage1","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"weather-forecasting","task_name":"Weather Forecasting"}],"methods":[{"method_slug":"concatenated-skip-connection","method_name":"Concatenated Skip Connection"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"max-pooling","method_name":"Max Pooling"},{"method_slug":"relu","method_name":"ReLU"},{"method_slug":"u-net","method_name":"U-Net"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2111.03476","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2111.03476"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/qiq208/weather4cast2021_stage1","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":14},"by_repo_kind":{"official":{"samples":14,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"536ab8ca119358fe","entry":"AvgPoolDenseBlock","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/vunet_model.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/vunet_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"536ab8ca119358fe"}},{"code_sha256_prefix":"439943bfd600e8db","entry":"ConvBlock","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/vunet_model.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/vunet_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"439943bfd600e8db"}},{"code_sha256_prefix":"2eca3a870f08e32b","entry":"ConvLayer","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/vunet_model.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/vunet_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2eca3a870f08e32b"}},{"code_sha256_prefix":"7cf8c217b5d29bf1","entry":"create_directory_structure","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/inference.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/inference.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7cf8c217b5d29bf1"}},{"code_sha256_prefix":"f98fa87abb75e877","entry":"crop_Dataset","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/context_variables.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/context_variables.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f98fa87abb75e877"}},{"code_sha256_prefix":"1a475de153c69ca4","entry":"get_copies","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/context_variables.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/context_variables.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1a475de153c69ca4"}},{"code_sha256_prefix":"14434257110174a5","entry":"get_double_idxs_w_blacklist","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/data_utils_aio.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/data_utils_aio.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"14434257110174a5"}},{"code_sha256_prefix":"bd0a121f6eb150c6","entry":"get_out_bins","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/inference.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/inference.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bd0a121f6eb150c6"}},{"code_sha256_prefix":"e13ecec6e016f9cd","entry":"get_prod_name","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/config.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/config.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e13ecec6e016f9cd"}},{"code_sha256_prefix":"7d581045bb558e69","entry":"get_test_triplets","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/data_utils_aio.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/data_utils_aio.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7d581045bb558e69"}},{"code_sha256_prefix":"91239796fb381880","entry":"get_triple_idxs_w_blacklist","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/data_utils_aio.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/data_utils_aio.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"91239796fb381880"}},{"code_sha256_prefix":"00f5fdf6c5be3b7a","entry":"n_extra_vars","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/config.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/config.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"00f5fdf6c5be3b7a"}},{"code_sha256_prefix":"6c80d15f55317f5a","entry":"normalize_latlon","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/context_variables.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/context_variables.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6c80d15f55317f5a"}},{"code_sha256_prefix":"45a8ec560b3c2b66","entry":"prepare_crop","repo":"qiq208/weather4cast2021_stage1","repo_kind":"official","path":"weather4cast/utils/config.py","file_url":"https://github.com/qiq208/weather4cast2021_stage1/blob/HEAD/weather4cast/utils/config.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"45a8ec560b3c2b66"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}