Welcome

Hello, I am Jan Kazil.

I am an atmospheric scientist working at the intersection of weather, climate, and machine learning.

I develop machine learning models to improve weather forecasts, combining numerical simulations, observations, and software to correct forecasts on a daily basis.

My experience includes operational forecasting, developing and operating atmospheric and climate models, developing scientific software to analyze large datasets on high-performance computing systems, and leading teams and collaborative projects.

I focus on finding methods that work and making them work reliably in practice.

This website highlights some of my projects, software, and research.

See my current work in action: Improving Local Weather Forecasts with ML - or explore my other projects using the cards!

01 / ML Forecasting

Improving Local Weather Forecasts with ML

Operational ML correction of NOAA High Resolution Rapid Refresh (HRRR) forecasts using a . Updated daily at 5:00 a.m. Eastern Standard Time.

The transformer is trained to correct HRRR forecasts using observations from the Local Climatological Data version 2 (LCD) station network. An evaluation for 2025-10-01 - 2026-09-29, using models trained on prior data, is available here.

Model specification

For each forecast lead time, an encoder-only transformer is trained with the following hyperparameters:

  • Model dimension = 144
  • Attention heads = 1
  • Encoder layers = 1
  • Activation function: GELU

The transformer uses pre-normalization. Its prediction head is a multilayer perceptron with a hidden layer of 576 neurons, ReLU activation, and a linear output layer.

Training uses the following settings:

  • Loss: mean squared error
  • Optimizer: Adam with decoupled weight decay
  • Training epochs = 1000
  • Batch size = 256
  • Learning rate = 0.00025
  • Dropout probability = 0.1
  • Weight decay = 0.001
  • Training period: 2022-07-01 - 2026-06-30
  • Validation period: 2026-07-01 - 2026-09-29

Dates refer to forecast initialization dates.

For each forecast lead time, the checkpoint with the lowest validation loss is selected for production. A short validation period was chosen to keep the training period closer to forecast dates, with the aim of reducing the impact of a possible HRRR forecast bias drift.

This model setup serves as a baseline for future versions.

Loading available forecasts…

  • ML model locations
  • Selected locations
Contiguous US±1°

Selected locations

Disclaimer of Affiliation

This page displays NOAA High-Resolution Rapid Refresh (HRRR) forecasts alongside independently generated, experimental ML-corrected HRRR forecasts.

The corrected forecasts are not official products of the National Oceanic and Atmospheric Administration (NOAA) or National Weather Service (NWS). This project is not affiliated with, sponsored by, or endorsed by NOAA or the NWS.

See Disclaimer.

02 / Forecast analysis

Evaluation of ML weather forecasts

Evaluation of transformer models trained to correct NOAA High Resolution Rapid Refresh (HRRR) forecasts with Local Climatological Data version 2 (LCD) observations.

The training period is 2021-07-01–2025-06-30, the validation period is 2025-07-01–2025-09-30, and the evaluation period (test period) is 2025-10-01–2026-09-29. The is identical to that used for the operational ML forecast correction, except for the training and validation periods.

Model setup

For each forecast lead time, an encoder-only transformer is trained with the following hyperparameters:

  • Model dimension = 144
  • Attention heads = 1
  • Encoder layers = 1
  • Activation function: GELU

The transformer uses pre-normalization. Its prediction head is a multilayer perceptron with a hidden layer of 576 neurons, ReLU activation, and a linear output layer.

Training uses the following settings:

  • Loss: mean squared error
  • Optimizer: Adam with decoupled weight decay
  • Training epochs = 1000
  • Batch size = 256
  • Learning rate = 0.00025
  • Dropout probability = 0.1
  • Weight decay = 0.001
  • Training period: 2021-07-01 - 2025-06-30
  • Validation period: 2025-07-01 - 2025-09-30
  • Test period: 2025-10-01 - 2026-09-29

Dates refer to forecast initialization dates.

For each forecast lead time, the checkpoint with the lowest validation loss is selected for evaluation. A short validation period was chosen to keep the training period closer to forecast dates, with the aim of reducing the impact of a possible HRRR forecast bias drift.

Loading available analyses…

  • ML model locations
  • Selected locations
Contiguous US±1°

Selected locations

Disclaimer of Affiliation

This page displays NOAA High-Resolution Rapid Refresh (HRRR) forecasts alongside independently generated, experimental ML-corrected HRRR forecasts.

The corrected forecasts are not official products of the National Oceanic and Atmospheric Administration (NOAA) or National Weather Service (NWS). This project is not affiliated with, sponsored by, or endorsed by NOAA or the NWS.

See Disclaimer.

03 / Open-source software

Machine Learning Software

Training a machine-learning model is only part of its development. Models and optimizers need to be saved and restored, training progress needs to be monitored, and prediction errors need to be examined.

The following software addresses these practical aspects of machine-learning development.

torch-tk

Tools for training and evaluating PyTorch models

torch-tk is a Python toolkit built around PyTorch. It simplifies recurring tasks in machine-learning development, including model training, checkpoint management, and performance diagnostics.

Key capabilities

  • Model management: Save models derived from the toolkit’s model base class together with the information required to reconstruct them, including their configuration and trained parameters.
  • Checkpoint management: Save and restore model and optimizer states, allowing training to continue from a saved checkpoint. Reconstruction requires importable model and optimizer classes that expose the toolkit’s configuration and state interfaces.
  • Training: Train models using PyTorch data loaders or tensors, with facilities for recording training loss and execution time.
  • Missing data: Train models whose target datasets contain missing values represented by NaN, using masked loss functions that exclude invalid targets and skipping batches with no valid targets.
  • Diagnostics: Examine prediction losses for individual samples, identify poorly predicted cases, and visualize loss distributions.
  • Analysis: Save diagnostic results in NetCDF format for subsequent investigation.

Why it is useful

Developing a neural network often involves repeated experiments, interruptions, parameter adjustments, and comparisons between different model configurations. torch-tk provides reusable tools for managing these activities, reducing repetitive implementation work and making it easier to investigate model performance.

It builds on standard PyTorch functionality rather than replacing it, allowing developers to retain familiar modeling and optimization workflows.

04 / Open-source software

Weather & Climate Software

Weather and climate research often begins with data scattered across archives, stored in different formats, and sampled at different times and locations.

These Python tools automate the retrieval and preparation of numerical weather forecasts and surface observations, turning them into datasets that are easier to compare, analyze, visualize, and use in machine learning.

hrrr-data

Retrieves and processes high-resolution weather forecasts

hrrr-data provides tools to retrieve NOAA High-Resolution Rapid Refresh (HRRR) forecasts from public cloud archives and prepare them for analysis.

Key capabilities

  • Download forecasts for selected dates, initialization times, and forecast lead times.
  • Access forecast data stored in GRIB2 or Zarr archives.
  • Extract atmospheric variables such as temperature, humidity, wind, and precipitation into NetCDF files.
  • Generate maps of selected forecast variables.

Why it is useful

Retrieving and processing numerical weather forecasts can involve substantial repetitive work. hrrr-data automates these steps, making it easier to assemble consistent forecast datasets for model evaluation, visualization, and machine-learning applications.

lcd-v2-data

Turns weather station observations into consistent time series

lcd-v2-data downloads and processes NOAA’s Local Climatological Data version 2 (LCD v2) observations into consistently sampled time series.

Key capabilities

  • Retrieve observations for individual stations, U.S. states and territories, or selected electricity-market regions.
  • Convert observation timestamps to Coordinated Universal Time (UTC).
  • Construct full-hourly time series of temperature, dew point, relative humidity, and wind components.
  • Save the processed observations in NetCDF format, with optional diagnostic plots.

Why it is useful

Weather observations and model forecasts must be aligned in time before they can be meaningfully compared. lcd-v2-data automates much of this preparation, producing datasets suitable for forecast verification, regional analysis, and machine-learning development.

madis-data

Prepares surface observations from weather station networks

madis-data retrieves and processes Meteorological Assimilation Data Ingest System (MADIS) Mesonet and METAR observations, creating datasets for selected stations, geographic regions, and time periods.

Key capabilities

  • Retrieve MADIS Mesonet and METAR observations.
  • Select individual stations, U.S. states and territories, or larger geographic regions.
  • Process temperature, dew point, and wind observations, together with solar radiation where available from Mesonet stations.
  • Construct hourly time series and save them in NetCDF files.
  • Generate maps of station locations and reuse previously processed data.

Why it is useful

MADIS brings together observations from numerous sources, providing valuable information about local weather conditions. madis-data simplifies preparing these observations for comparisons with weather forecasts, regional studies, and the development and evaluation of predictive models.

isd-lite-data

Retrieves historical weather observations around the world

isd-lite-data retrieves and organizes NOAA’s Integrated Surface Database Lite (ISD-Lite) observations into analysis-ready datasets.

Key capabilities

  • Retrieve observations for individual stations, countries, U.S. states and territories, or selected regions.
  • Select stations based on geographic location and data availability.
  • Process hourly observations of temperature, humidity, wind, atmospheric pressure, precipitation, and sky conditions.
  • Save observations in NetCDF files for further analysis.

Why it is useful

Historical weather observations are essential for examining atmospheric conditions, evaluating numerical forecasts, and developing data-driven models. isd-lite-data makes it easier to assemble regional or international observational datasets without repeatedly handling the original archive files.

Status update (2026): NOAA discontinued updates to ISD-Lite after August 24, 2025, and announced the retirement of its original download service. Historical data remain available through the NOAA Open Data Dissemination (NODD) archive. For current observations and more extensive historical records, NOAA recommends the Global Historical Climatology Network–Hourly (GHCNh) dataset. See the official NOAA notice for details.

05 / RESEARCH

Dynamical Downscaling

From global models to detailed cloud simulations that follow clouds as they evolve.

A coarse atmospheric grid off Namibia connects to a fine three-dimensional simulation grid containing broken stratocumulus clouds.
Conceptual illustration of dynamical downscaling over the southeastern Atlantic, off Namibia.

Global models provide the big picture. I developed a method that allows high-resolution models use global model data to simulate clouds and follow their evolution as they move and change.

Explore the cloud evolution observed by satellite (left) and simulated with three high-resolution simulations (panels on the right). The colored squares in the satellite view mark the location of the high resolution simulations as the cloud field moves north-west:

Comparisons with satellite and aircraft measurements show that this approach can realistically reproduce clouds and their evolution, providing a tool for studying how they work.

Read the research paper: Kazil et al. (2021).

06 / Professional profile

Résumé

Download PDF

Jan Kazil, PhD

Web

LinkedIn | GitHub | ORCID | Web of Science

Skills

ML/AI Development (PyTorch), Python (NumPy, Xarray, and Pandas), Global, Regional, and High-Resolution Atmospheric Model Development and Operation, Operational Forecasting, Fortran, IDL, MPI, OpenMP, AI-assisted software development (Codex), Git, netCDF, Bash, Parallelization, High-Performance Computing.

Experience and Projects

Atmospheric scientist with 15+ years of experience in atmospheric research, machine learning, developing and operating models for weather forecasting, research, and climate simulation, analyzing in situ and remote-sensing data, and operational forecasting.

Designed, secured funding for, and led research projects; supervised scientists. Led institutional and international research projects and interdisciplinary teams supporting field campaigns (NOAA, NASA).

ML for Weather & Climate

Developed and operationalized a transformer model that improves NOAA High-Resolution Rapid Refresh (HRRR) forecasts of temperature, humidity, and wind speed using Local Climatological Data observations.

Machine Learning and Artificial Intelligence Development

Designed and implemented torch-tk, an open-source PyTorch toolkit for model training, checkpoint management, and diagnostics. Trained and applied a deep-learning model for instance segmentation in satellite imagery and created a neural-network emulator for an atmospheric radiative-transfer model.

Atmospheric and Climate Model Development and Evaluation

Developed and implemented process representations in climate, regional numerical weather prediction, and large-eddy simulation models. Developed a downscaling framework coupling high-resolution simulations with reanalysis and climate-model meteorology. Led and contributed to model evaluations using in situ and remote-sensing observations.

Senior Research Scientist, University of Colorado

Led the "Clouds, Aerosol, and Climate" project embedded at NOAA; supervised university scientists, managed hiring and evaluations, and coordinated project objectives, delivery, and reporting.

Cold Pool Model Intercomparison Project

Created and led an international comparison of SAM, MicroHH, DALES, SCALE, and ICON simulations to investigate inter-model divergence, disagreement with observations, and opportunities to improve cloud and boundary-layer process representations.

Operational Forecasting

Built and deployed a Python system for near-real-time extraction and analysis of satellite and numerical weather prediction data from Amazon Web Services. Developed the forecast methodology and led the forecast team for the 2023 NOAA/NASA AEROMMA Marine aircraft campaign, communicating guidance for flight planning and operations.

Scientific Computing and Large Dataset Analysis

Built and deployed Message Passing Interface- and OpenMP-parallelized software to process and analyze large atmospheric-model datasets on Linux high-performance computing systems. Developed Python software to automate evaluation of High-Resolution Rapid Refresh forecasts against surface observations.

NOAA Modeling Strategy (2024–2033)

Served as a subject-matter expert on NOAA’s Modeling Strategy Working Group and co-authored NOAA’s Modeling Strategic Plan 2024–2033.

Funded Projects

Secured $1.3 million in competitive external funding as a lead investigator for multi-year NOAA, Department of Energy, and National Science Foundation research projects.

Professional History

University of Colorado, Cooperative Institute for Research in Environmental Sciences (CIRES), Boulder, CO, USA

05/2024 – 03/2025 Senior Research Scientist
05/2015 – 04/2024 Research Scientist III
12/2008 – 04/2015 Research Scientist II

Max Planck Institute for Meteorology, Hamburg, Germany

08/2007 – 11/2008 Research Scientist

University of Colorado (CIRES), Boulder, CO, USA

03/2007 – 07/2007 Research Scientist I

Professional Service, Honors, and Awards

Elected member of the American Meteorological Society's Committee on Cloud Physics (2019 – 2025).

University of Colorado/CIRES Bronze Medal for "Scientific achievement in the design and implementation of the ATOMIC field campaign" (2023).

NASA Group Achievement Award for "Outstanding achievements in advancing and enabling NASA’s global systems" during the AEROMMA field campaign (2025).

Publications

44 peer-reviewed publications | h-index: 26 | 1800+ citations

ResearcherID: B-7652-2013

Education

PhD in Atmospheric Science

University of Bern, Physics Institute, Bern, Switzerland

MSc in Theoretical Physics

University of Bern, Institute of Theoretical Physics, Bern, Switzerland

07 / Research

Publications

h-index: 26 · Citations: 1,800+

2026

  • Constraints on the Loss of Hydroperoxymethyl Thioformate (HPMTF) to Marine Clouds Using Aircraft Observations

    C. M. Jernigan, G. A. Novak, S. Wang, M. A. Robinson, A. Ahern, O. Ajoku, K. Ball, T. H. Bertram, K. H. Bates, B. Bohn, C. A. Brock, W. S. Chace, M. Coggon, M. Dollner, M. Färber, Z. Finewax, H. Fuchs, G. I. Gkatzelis, H. Huynh, J. Kazil, M. Lyu, A. Novelli, J. Peischl, A. Rollins, N. B. Schafer, A. Stainsby, C. E. Stockwell, P. R. Veres, C. Warneke, E. Waxman, B. Weinzierl, K. Wokosin, L. Xu, K. Zuraski, and S. S. Brown

    ACS ES&T Air, 3, 2699–2709, 2026

2025

2024

  • On Climate Change and Trade Cumulus Organization

    J. Kazil, P. Narenpitak, T. Yamaguchi, and G. Feingold

    JAMES, 16, e2023MS004057, 2024

  • NOAA Modeling Strategy: strategic plan 2024–2033

    M. Morgan, D. Koch, B. Gross, D. Carlis, P. Burke, H. Tolman, J. Vogt, J. Mahoney, J. Kazil, J. Dunne, C. Kongragunta, J. Carmen, M. Huang, K. Garrett, J. Pica, Y.-J. Kim, C. Stawitz, H. Townsend, D. Barrie, Y. Jung, S. Gopalakrishnan, H.-S. Kim, C. Zhang, M. Poti, A. Mariotti, M. Supernaw, M. Brooks, M. Srinivasan, and R. Dempsey

    United States National Oceanic and Atmospheric Administration, 2024

2023

2022

2021

2020

2019

2017

2016

2015

2014

2013

2012

2011

2010

2009

2008

2007

2006

2004

2003

08 / Personal

About me

Portrait of Jan Kazil

I am an atmospheric scientist working at the intersection of weather, climate, and machine learning.

I have studied the atmosphere across many scales, from the tiny airborne particles on which water vapor condenses to form cloud droplets, through turbulent motions that feed moisture to clouds and influence precipitation, to processes that shape Earth’s climate.

Much of this work has involved developing and using atmospheric models to investigate how physical processes interact and how well simulations represent observations.

Along the way, I have built numerical models and scientific software, analyzed large observational datasets, and flown aboard research aircraft. I have led research projects and international collaborations, supervised scientists, and mentored researchers.

Currently, I develop machine learning models to improve weather forecasts, combining numerical simulations, observations, and software to evaluate and correct forecasts on a daily basis.

I grew up in Switzerland, where I studied physics and atmospheric science. I live and work in Colorado.