The openMWR package#
Note: This documentation is still in development and may contain errors or incomplete sections.
openMWR is a Python package for training a neural network-based retrieval for a Hatpro microwave radiometer.
It includes tools for generating training datasets, training retrieval algorithms, analyzing their performance, and applying the trained algorithms to measurements operationally. It can be used to create multilinear regression retrievals, but it is focused on more complex neural network retrievals. It also supports the training of retrieval algorithms for elevation scans, to study the boundary layer.
openMWR uses torchMWRT, a PyTorch translation of the radiative-transfer
calculation core of PyRTlib. Its results agree
with PyRTlib within numerical tolerances for the tested configurations. Vectorized
calculations can provide substantial speedups when processing many profiles and
frequencies. It also supports GPU acceleration and automatic differentiation
through tensor outputs. Differentiation through the radiative-transfer
calculation is not required for the standard retrieval workflow.
Start with Installation, then
Create a Retrieval. The tutorial uses TOML
recipes and the openMWR commands. The same workflows are available
from Python.
For an existing project, see Upgrading from 0.1.