Procedures

ProcedureLocationProcedure TypeDescription
copy_record space_weather_module Function

Copy a single record from the space weather data

date_to_mjd jacchia_roberts_utilities Subroutine

Convert calendar date to Modified Julian Date (MJD)

deflate_polynomial jacchia_roberts_utilities Subroutine

Reduces the order of a polynomial by division

Read more…
exotherm jacchia_roberts_module Function

Compute the temperature of Earth's atmosphere and auxiliary temperature-related quantities at a given altitude

find_cstar_roots jacchia_roberts_module Subroutine

Find the two real roots and the complex conjugate root pair of the degree-4 temperature-profile polynomial c_star(z).

Read more…
find_cstar_roots_original jacchia_roberts_module Subroutine

Original version of root-finding routine using the roots subroutine. This is based on the routine from GMAT.

Read more…
jacchia_roberts_density jacchia_roberts_module Function

Compute atmospheric density using the Jacchia-Roberts model

Read more…
jr_cleanup jacchia_roberts_module Subroutine

Clean up module resources

jr_init jacchia_roberts_module Subroutine

Initialize the Jacchia-Roberts module with central body parameters.

Read more…
julian_day jacchia_roberts_utilities Function

Returns the Julian day number (i.e., the Julian date at Greenwich noon) on the specified YEAR, MONTH, and DAY.

Read more…
parms_to_temp jacchia_roberts_module Function

Compute exospheric temperature from F10.7 values using the Jacchia-Roberts formula

prepare_flux_data jacchia_roberts_module Subroutine

Prepare flux data for the current epoch, accounting for measurement timing. Kp selection matches the GMAT PrepareKpData historic-data branch:

Read more…
rho_100 jacchia_roberts_module Function

Compute density of the atmosphere between 90 and 100 km

rho_125 jacchia_roberts_module Function

Compute density of the atmosphere between 100 and 125 km

rho_cor jacchia_roberts_module Function

Calculates the density correction factor

rho_high jacchia_roberts_module Function

Compute density of the atmosphere between 125 and 2500 km

roots jacchia_roberts_utilities Subroutine

Finds the roots of a polynomial using Newton's method

Read more…
sw_cleanup space_weather_module Subroutine

Clean up allocated memory

sw_get_flux_data space_weather_module Subroutine

Get space weather data for a given Modified Julian Date. Uses direct indexing for daily data and record selection for monthly data

sw_init space_weather_module Subroutine

Initialize the space weather module by reading a CSSI file

call~~graph~~CallGraph proc~copy_record sw_data_type%copy_record proc~date_to_mjd date_to_mjd proc~julian_day julian_day proc~date_to_mjd->proc~julian_day proc~deflate_polynomial deflate_polynomial proc~exotherm jacchia_roberts_type%exotherm proc~find_cstar_roots find_cstar_roots proc~exotherm->proc~find_cstar_roots proc~find_cstar_roots_original find_cstar_roots_original proc~exotherm->proc~find_cstar_roots_original proc~find_cstar_roots_original->proc~deflate_polynomial proc~roots roots proc~find_cstar_roots_original->proc~roots proc~jacchia_roberts_density jacchia_roberts_type%jacchia_roberts_density proc~jacchia_roberts_density->proc~exotherm proc~parms_to_temp jacchia_roberts_type%parms_to_temp proc~jacchia_roberts_density->proc~parms_to_temp proc~prepare_flux_data prepare_flux_data proc~jacchia_roberts_density->proc~prepare_flux_data proc~rho_100 jacchia_roberts_type%rho_100 proc~jacchia_roberts_density->proc~rho_100 proc~rho_125 jacchia_roberts_type%rho_125 proc~jacchia_roberts_density->proc~rho_125 proc~rho_cor rho_cor proc~jacchia_roberts_density->proc~rho_cor proc~rho_high jacchia_roberts_type%rho_high proc~jacchia_roberts_density->proc~rho_high proc~sw_get_flux_data sw_data_type%sw_get_flux_data proc~jacchia_roberts_density->proc~sw_get_flux_data proc~jr_cleanup jacchia_roberts_type%jr_cleanup proc~sw_cleanup sw_data_type%sw_cleanup proc~jr_cleanup->proc~sw_cleanup proc~jr_init jacchia_roberts_type%jr_init proc~sw_init sw_data_type%sw_init proc~jr_init->proc~sw_init proc~prepare_flux_data->proc~sw_get_flux_data proc~sw_get_flux_data->proc~copy_record proc~sw_init->proc~date_to_mjd proc~sw_init->proc~sw_cleanup
Help