https://github.com/space-physics/transcar
Blelly, Lilensten, Zettergren Transcar 1D ionosphere precipitation model
https://github.com/space-physics/transcar
fortran geoscience ionosphere ionosphere-modeling python simulation
Last synced: 2 months ago
JSON representation
Blelly, Lilensten, Zettergren Transcar 1D ionosphere precipitation model
- Host: GitHub
- URL: https://github.com/space-physics/transcar
- Owner: space-physics
- License: other
- Created: 2014-08-29T19:07:31.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2026-03-25T12:52:30.000Z (2 months ago)
- Last Synced: 2026-03-26T15:40:55.567Z (2 months ago)
- Topics: fortran, geoscience, ionosphere, ionosphere-modeling, python, simulation
- Language: Fortran
- Homepage:
- Size: 8.81 MB
- Stars: 7
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Transcar 1-D time-dependent ionosphere flux tube model

Fortran Authors: P.L. Blelly, J. Lilensten, M. Zettergren
Python front-end, and Fortran interfacing: Michael Hirsch
TRANSCAR 1D flux tube ionospheric energy deposition flux transport model.
Considers solar input and background conditions via MSIS, HWM.
Models disturbance propagation in ionosphere via models including LCPFCT.
## Prereqs
Because Transcar is Python & Fortran based, it runs on any PC/Mac with Linux, MacOS, Windows, etc.
Most Fortran compilers can be used, including Gfortran and Intel.
* Linux / Windows Subsystem for Linux: `apt install gfortran cmake make`
* MacOS / Homebrew: `brew install gcc cmake make`
### Windows
From native Windows
[install CMake](https://cmake.org/download)
and either of:
* [Gfortran](https://www.scivision.dev/install-msys2-windows/)
* [Intel Parallel Studio](https://www.scivision.dev/install-intel-compiler-icc-icpc-ifort/)
## Install
from Terminal / Command Prompt
```sh
git clone https://github.com/scivision/transcar
python -m pip install -e ./transcar
cmake -B transcar/build -S transcar
cmake --build transcar/build
```
## Usage
Simulations are configured in
[dir.input/DATCAR](./dir.input/DATCAR).
Simulations are run from the top directory.
Python runs Transcar in parallel using
[concurrent.futures.ThreadPoolExecutor](https://docs.python.org/3/library/concurrent.futures.html),
dynamically adapting to the number of CPU cores available:
```sh
python MonoenergeticBeams.py /tmp/tc
```
### Plotting
The simulation results are loaded and plotted by the [transcarread](https://github.com/space-physics/transcarread) Python package.