TIE-GCM PDAF An ensemble data assimilation system for the upper atmosphere (thermosphere and ionosphere). TIE-GCM PDAF combines the Thermosphere-Ionosphere-Electrodynamics General Circulation Model (TIE-GCM) with ensemble-based Kalman filters from the Parallel Data Assimilation Framework (PDAF). It supports assimilation of satellite observations, such as accelerometer-derived mass densities; gridded observations…
Ensemble-based data assimilation system for Earth's upper atmosphere (thermosphere–ionosphere). Fork of NCAR's TIE-GCM with integration of the Parallel Data Assimilation Framework (PDAF).
An ensemble data assimilation system for the upper atmosphere (thermosphere and ionosphere).
TIE-GCM PDAF combines the Thermosphere-Ionosphere-Electrodynamics General Circulation Model (TIE-GCM) with ensemble-based Kalman filters from the Parallel Data Assimilation Framework (PDAF). It supports assimilation of satellite observations, such as accelerometer-derived mass densities; gridded observations (for example, from empirical models); and integrated observations such as VTEC. Adding new observation types to the existing code is straightforward.
a compiler supporting Fortran 2018 features (e.g., GCC 11)
an MPI implementation supporting mpi_f08 interface (e.g., openMPI 4.1.4)
OpenMP
a LAPACK implementation (e.g., OpenBLAS-0.3.20)
NetCDF-fortran with nc4 support and parallel IO (requires HDF)
Important 重要
This software has been tested and developed with gfortran (gcc) only. Other compilers may fail to compile it.
Note 注意
The model error is represented by an ensemble of TIE-GCM 3.0 instances. All instances are computed in parallel. A typical ensemble size is 72, which accordingly requires 72 cores. To exploit the parallelization of the TIE-GCM, even more cores are required. For example, 288 cores would be required to compute 72 instances, each running on 4 cores.
Install submodules
Pull dependencies, e.g., using git submodule update --init
cd deps/geodetic-fortran-utilities/deps
./get_deps.sh
cd ..
make
pdaf-binding-tiegcm
pdaf-binding-tiegcm contains the source code for integrating PDAF into TIE-GCM. The Makefile of TIE-GCM PDAF builds the source code provided in pdaf-binding-tiegcm. Thus, this submodule does not require installation.
Install TIE-GCM
Change to the root directory of this repository.
First, you need to set the correct paths in Make.hostname. hostname is the name of the computer where you compile the program. Use the file Make.gfortran as a template.
Note 注意
When using PDAF >= 3.1, TIE-GCM PDAF has to be compiled with -fopenmp flag
makefile options
The make process is controlled by a few environment variables
variable
default
description
WITH_PDAF
TRUE
if true compile TIE-GCM with PDAF coupling
EXE_NAME
tiegcm-pdaf
controls the name of the executable
BUILD_DIR
build
controls the location of build directory
HIGH_RES
FALSE
If true use 2.5° instead of 5.0° horizontal resolution
ALT_EXT
FALSE
if true use altitude extension
Try first to install TIE-GCM without PDAF binding and using the lowest resolution
WITH_PDAF=FALSE EXE_NAME=tiegcm5.0 BUILD_DIR=build/tiegcm5.0 HIGH_RES=FALSE make
Tip 提示
You can speed up the execution of make using the -j option, enabling parallel compilation. For example, make -j 8 will compile up to 8 files in parallel.
If no error occurs, install TIE-GCM with PDAF binding
WITH_PDAF=TRUE EXE_NAME=tiegcm5.0-pdaf BUILD_DIR=build/tiegcm5.0-pdaf HIGH_RES=FALSE make
Data
Tip 提示
The minimal working example (mwe) works without downloading any additional data
The executable takes two positional arguments: the namelist file containing the TIE-GCM configuration and the namelist file containing the assimilation system configuration (explained below in section Configuration).
the path to the TIE-GCM namelist file ${tiegcm_nml},
and the path to the assimilation system namelist file ${pdaf_nml}
Tip 提示
Use the mpirun option --output-filename ./out --merge-stderr-to-stdout to write the output of each rank into a different file. This makes reading the log much easier.
Note 注意
At 2.5-deg resolution, it is not recommended to use more than 8 cores per model instance, as the speed-up is low above this number.
Configuration
TIE-GCM settings are controlled by a namelist file. The path to this file is the first argument to the executable. When using TIE-GCM PDAF, the executable takes a second argument: the path to another namelist file that controls the assimilation setup. All namelist parameters of the assimilation system are documented on the configuration page.
评论