{"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/probabilistic-weather-forecasting-with","title":"Probabilistic Weather Forecasting with Hierarchical Graph Neural Networks","arxiv_id":"2406.04759","date":"2024-06-07","proceeding":null,"authors":["Joel Oskarsson","Tomas Landelius","Marc Peter Deisenroth","Fredrik Lindsten"],"abstract":"In recent years, machine learning has established itself as a powerful tool for high-resolution weather forecasting. While most current machine learning models focus on deterministic forecasts, accurately capturing the uncertainty in the chaotic weather system calls for probabilistic modeling. We propose a probabilistic weather forecasting model called Graph-EFM, combining a flexible latent-variable formulation with the successful graph-based forecasting framework. The use of a hierarchical graph construction allows for efficient sampling of spatially coherent forecasts. Requiring only a single forward pass per time step, Graph-EFM allows for fast generation of arbitrarily large ensembles. We experiment with the model on both global and limited area forecasting. Ensemble forecasts from Graph-EFM achieve equivalent or lower errors than comparable deterministic models, with the added benefit of accurately capturing forecast uncertainty.","url_abs":"https://arxiv.org/abs/2406.04759v2","url_pdf":"https://arxiv.org/pdf/2406.04759v2.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":"probabilistic-weather-forecasting-with","repo_url":"https://github.com/mllam/neural-lam","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"probabilistic-weather-forecasting-with","repo_url":"https://github.com/deinal/seacast","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"probabilistic-weather-forecasting-with","repo_url":"https://github.com/joeloskarsson/neural-lam","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"probabilistic-weather-forecasting-with","repo_url":"https://github.com/joeloskarsson/neural-lam-dev","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"weather-forecasting","task_name":"Weather Forecasting"},{"task_slug":"graph-construction","task_name":"graph construction"}],"methods":[{"method_slug":"focus","method_name":"Focus"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2406.04759","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.04759"}},"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/joeloskarsson/neural-lam","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mllam/neural-lam","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/deinal/seacast","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/joeloskarsson/neural-lam-dev","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":8,"unverified":7},"by_repo_kind":{"listed":{"samples":15,"ran":8,"repositories":2}},"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":"be958c03b6706529","entry":"from_networkx_with_start_index","repo":"joeloskarsson/neural-lam-dev","repo_kind":"listed","path":"neural_lam/create_graph.py","file_url":"https://github.com/joeloskarsson/neural-lam-dev/blob/HEAD/neural_lam/create_graph.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"be958c03b6706529"}},{"code_sha256_prefix":"a4132a1a7527faea","entry":"from_networkx_with_start_index","repo":"joeloskarsson/neural-lam","repo_kind":"listed","path":"neural_lam/create_graph.py","file_url":"https://github.com/joeloskarsson/neural-lam/blob/HEAD/neural_lam/create_graph.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a4132a1a7527faea"}},{"code_sha256_prefix":"556864668ef1941e","entry":"make_mlp","repo":"joeloskarsson/neural-lam","repo_kind":"listed","path":"neural_lam/utils/networks.py","file_url":"https://github.com/joeloskarsson/neural-lam/blob/HEAD/neural_lam/utils/networks.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"556864668ef1941e"}},{"code_sha256_prefix":"0baa433c352e2ed1","entry":"mask_and_reduce_metric","repo":"joeloskarsson/neural-lam","repo_kind":"listed","path":"neural_lam/metrics.py","file_url":"https://github.com/joeloskarsson/neural-lam/blob/HEAD/neural_lam/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0baa433c352e2ed1"}},{"code_sha256_prefix":"5fc397ff92181d7e","entry":"plot_graph","repo":"joeloskarsson/neural-lam","repo_kind":"listed","path":"neural_lam/create_graph.py","file_url":"https://github.com/joeloskarsson/neural-lam/blob/HEAD/neural_lam/create_graph.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5fc397ff92181d7e"}},{"code_sha256_prefix":"fd2a817d4ec92933","entry":"sort_nodes_internally","repo":"joeloskarsson/neural-lam-dev","repo_kind":"listed","path":"neural_lam/create_graph.py","file_url":"https://github.com/joeloskarsson/neural-lam-dev/blob/HEAD/neural_lam/create_graph.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fd2a817d4ec92933"}},{"code_sha256_prefix":"89282d125900c2ee","entry":"sort_nodes_internally","repo":"joeloskarsson/neural-lam","repo_kind":"listed","path":"neural_lam/create_graph.py","file_url":"https://github.com/joeloskarsson/neural-lam/blob/HEAD/neural_lam/create_graph.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"89282d125900c2ee"}},{"code_sha256_prefix":"8b48ffe8dfc072b8","entry":"wmse","repo":"joeloskarsson/neural-lam","repo_kind":"listed","path":"neural_lam/metrics.py","file_url":"https://github.com/joeloskarsson/neural-lam/blob/HEAD/neural_lam/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8b48ffe8dfc072b8"}},{"code_sha256_prefix":"626aa0ff377e2739","entry":"get_gnn_class","repo":"joeloskarsson/neural-lam","repo_kind":"listed","path":"neural_lam/gnn_layers.py","file_url":"https://github.com/joeloskarsson/neural-lam/blob/HEAD/neural_lam/gnn_layers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"626aa0ff377e2739"}},{"code_sha256_prefix":"754c85f8fa7a35e7","entry":"get_metric","repo":"joeloskarsson/neural-lam","repo_kind":"listed","path":"neural_lam/metrics.py","file_url":"https://github.com/joeloskarsson/neural-lam/blob/HEAD/neural_lam/metrics.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"754c85f8fa7a35e7"}},{"code_sha256_prefix":"5e4a4870f3bf627d","entry":"get_metric","repo":"joeloskarsson/neural-lam-dev","repo_kind":"listed","path":"neural_lam/metrics.py","file_url":"https://github.com/joeloskarsson/neural-lam-dev/blob/HEAD/neural_lam/metrics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5e4a4870f3bf627d"}},{"code_sha256_prefix":"4e11dd84ee3be9ee","entry":"make_gnn_seq","repo":"joeloskarsson/neural-lam","repo_kind":"listed","path":"neural_lam/utils/networks.py","file_url":"https://github.com/joeloskarsson/neural-lam/blob/HEAD/neural_lam/utils/networks.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4e11dd84ee3be9ee"}},{"code_sha256_prefix":"166d6e6e06a4b039","entry":"mask_and_reduce_metric","repo":"joeloskarsson/neural-lam-dev","repo_kind":"listed","path":"neural_lam/metrics.py","file_url":"https://github.com/joeloskarsson/neural-lam-dev/blob/HEAD/neural_lam/metrics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"166d6e6e06a4b039"}},{"code_sha256_prefix":"a49a2231f1fecb3b","entry":"plot_graph","repo":"joeloskarsson/neural-lam-dev","repo_kind":"listed","path":"neural_lam/create_graph.py","file_url":"https://github.com/joeloskarsson/neural-lam-dev/blob/HEAD/neural_lam/create_graph.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a49a2231f1fecb3b"}},{"code_sha256_prefix":"e743fc22fb615b21","entry":"wmse","repo":"joeloskarsson/neural-lam-dev","repo_kind":"listed","path":"neural_lam/metrics.py","file_url":"https://github.com/joeloskarsson/neural-lam-dev/blob/HEAD/neural_lam/metrics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e743fc22fb615b21"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}