How masaru-kogure/raytracing works
This repository is a scientific gravity-wave ray-tracing program. A researcher configures a case in the main script; it reads atmospheric fields, computes derived fields, integrates the ray path with RK4, evaluates instability diagnostics, and saves numerical and quicklook outputs. The main script’s imports and calls support the central links. The README is empty, and the plot_ql.py excerpt is GitHub HTML rather than module code, so plotting details and some internal wiring cannot be verified.
Main entry points: main_raytracing_rv2.py Case runner · runge_kutta4_v2.py RK4 integrator · meteo_para_v3.py Meteorological parameters · derivation_v2.py Numerical derivatives
Components 10
Ray workflow
- Case runner
main_raytracing_rv2.py - JAWARA NetCDF
- RK4 integrator
runge_kutta4_v2.py - Instability diagnostics
runge_kutta4_v2.py
Atmospheric physics
- Meteorological parameters
meteo_para_v3.py - Numerical derivatives
derivation_v2.py - Spectral kernels
kernel_box.py
Outputs and diagnostics
- Ray data output
main_raytracing_rv2.py - Quicklook plots
plot_ql.py
Other components
- Researcher
Connections 9
- Researcher → Case runner: runs case
main_raytracing_rv2.py - JAWARA NetCDF → Case runner: provides fields
main_raytracing_rv2.py - Case runner → RK4 integrator: integrates rays
main_raytracing_rv2.py - RK4 integrator → Meteorological parameters: computes parameters
runge_kutta4_v2.py - Case runner → Spectral kernels: builds window
main_raytracing_rv2.py - Case runner → Numerical derivatives: uses derivatives
main_raytracing_rv2.py - Case runner → Instability diagnostics: evaluates stability
main_raytracing_rv2.py - Case runner → Ray data output: saves arrays
main_raytracing_rv2.py - Case runner → Quicklook plots: creates quicklook
main_raytracing_rv2.py