OTProf SQF-H (nl)
Pretrained weights of OTProf, which estimates high-resolution vertical profiles of optical turbulence, i.e., the refractive index structure parameter $C_n^2$, from reanalysis data. This model was trained on WRF simulations over the Netherlands with the height-aware SqueezeFormer (SQF-H). It predicts log10 $C_n^2$ and the WRF MYNN turbulence quantities (QKE, TSQ, EL_PBL) from ERA5 pressure-level data; the Fried parameter r0 and the scintillation index follow from the predicted $C_n^2$ profile.
This model is part of a set of repositories:
otprof-wrf: Code to generate the WRF-based $C_n^2$ training data. The generated training dataset and a snapshot of theotprof-wrfcode are available on Zenodo (DOI: 10.5281/zenodo.23733024).otprof: Code to train a new OTProf model or run a pretrained model, such as this one. A snapshot of the code is available on Zenodo (DOI: 10.5281/zenodo.24084350).maxiimilian/otprof-sqfh(this repository): The weights of OTProf, pretrained on the Netherlands.
๐ The article presenting the method in detail and evaluating its performance is available on arXiv: arXiv:2604.09346. Please refer to the License and How to cite sections if you would like to use this model or its predictions for your own work.
This model has been developed by Maximilian Pierzyna, Technische Universiteit Delft.
Use
Install otprof (see its README for the setup with uv), e.g. in your own uv project:
uv add "otprof @ git+https://github.com/mpierzyna/otprof"
otprof downloads this model from Hugging Face and pins the revision it was tested with:
from otprof.models import sqf_h
from otprof.predict import load_model, predict
from otprof.sources import Area, era5
ds = era5.load(["2023-07-01 12:00"], Area(lon_min=3, lon_max=7, lat_min=51, lat_max=53))
predictor = load_model(sqf_h.HF_REPO_ID, revision=sqf_h.HF_REVISION)
X = predictor.make_inputs(ds)
y = predict(predictor, X) # lcn2, QKE, TSQ, EL_PBL, r0, lsi2
The examples predict_era5 and
predict_gfs of otprof show complete runs for a
region from ERA5 and for given locations from GFS forecasts.
Inputs: ERA5 on the 31 pressure levels of otprof.schema (1000 to 20 hPa), from which the model computes its inputs
(otprof.models.sqf_h.inputs.make_inputs, features version 1.0.0, schema version 1.0.0; predict refuses inputs of a
different MAJOR version). Outputs at the query heights above ground (default: the 99 mean WRF target levels of the
training data, 8 to 29043 m); the output quantile mapping (post_y) is applied unless predict(..., oqm=False).
Training
- Domain: Netherlands (nl), WRF 2 km with MYNN; targets: WRF $C_n^2$ and turbulence profiles on the model levels.
- Decoupled training: WRF interpolated to the ERA5 pressure levels as inputs ("WRF-PL"), run on ERA5 at inference.
- Split by year: train 2019-2020, validation 2018, test 2017. Experiment config:
experiment.yaml. - Output quantile mapping (NL-oQM): one map of log10 $C_n^2$ for the whole column, 100 sine-spaced quantiles, fitted on the ERA5-driven predictions of the training years against WRF.
- Training dataset, this model and the code: Zenodo 10.5281/zenodo.23733024.
Performance
The performance of the model is documented in the article (arXiv:2604.09346). Please refer to it before using the predictions.
Files
config.json (architecture, versions, variable order, default heights), model.safetensors (weights),
pipeline.json + steps.json (scalers, target transforms, oQM), experiment.yaml. No pickle.
License
The model weights and the other files of this repository are licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0), like the training dataset they were trained on.
The code to train and run the model, otprof, is licensed separately: mostly
under the GNU General Public License v3.0 or later, except for the SQF-H network, which is derived from third-party
code and licensed under the Apache License 2.0 (see the License section of the otprof README).
Copyright notice
Technische Universiteit Delft hereby disclaims all copyright interest in the program "OTProf" written by the Author(s). Henri Werij, Faculty of Aerospace Engineering, Technische Universiteit Delft.
ยฉ 2026, Maximilian Pierzyna
How to cite
When using this model, please cite the related article and the code repository. Since the model is licensed under CC BY-SA 4.0, you may reuse it and its predictions for your own work given that you attribute the original author as follows.
Article
Pierzyna, M., Basu, S., & Saathof, R. (2026). OTProf: estimating high-resolution profiles of optical turbulence ($C_n^2$) from reanalysis using deep learning. arXiv preprint arXiv:2604.09346. https://doi.org/10.48550/arXiv.2604.09346
Code repository
Pierzyna, M. (2026). OTProf: Estimating High-Resolution Profiles of Optical Turbulence from Reanalysis Using Deep Learning [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.24084350
Training dataset and model
Pierzyna, M. (2026). OTProf: Estimating High-Resolution Profiles of Optical Turbulence (Cn2) from Reanalysis Using Deep Learning (Version 0.2.1) [Dataset]. Zenodo. https://doi.org/10.5281/zenodo.23733024
- Downloads last month
- 47