Skip to content

CRTM Interface

StegmannJCSDA edited this page May 29, 2025 · 3 revisions

Introduction

This mirs wiki page documents the CRTM interface of MiRS.

CRTM Source Code Location

In the mirs repository, the CRTM code is located in the directory mirs/src/crtm/REL-2.1.1. This indicates that the current CRTM release version used in MiRS is REL-2.1.1, i.e. this version is completely outdated. The directory is included as a subdirectory in src/CMakeLists.txt.

MiRS Source Code using the CRTM

The CRTM is initialized in MiRS using CRTM_Init in the following locations:

  • ./fwd/fwd.f90
  • ./lib/FwdOperProcess/FwdOperator.f90
  • ./testbed/nwp/colocNWPwRad.f90 <- This file processes the ECMWF background profiles.

The CRTM_Forward procedure is only called in ./lib/FwdOperProcess/FwdOperator.f90, just as CRTM_K_Matrix for the Jacobian. This module has the following description:

Module that contains all subroutines needed for the interface with the forward operator.

In ./lib/FwdOperProcess/FwdOperator.f90, the procedure CRTM_Init is called in SUBROUTINE Init_CRTM. The remaining functions are called in SUBROUTINE FwdOper. This MiRS procedure is then called in the 1DVAR retrieval PROGRAM retr1dvar inside the source file ./1dvar/1dvar.f90.

Clone this wiki locally