ostk.physics.environment.atmospheric.earth.Manager¶
- class Manager¶
Bases:
Manager
CSSI space weather manager.
The following environment variables can be defined:
"OSTK_PHYSICS_ENVIRONMENT_ATMOSPHERIC_EARTH_MANAGER_MODE" will override "DefaultMode"
"OSTK_PHYSICS_ENVIRONMENT_ATMOSPHERIC_EARTH_MANAGER_LOCAL_REPOSITORY" will override "DefaultLocalRepository"
"OSTK_PHYSICS_ENVIRONMENT_ATMOSPHERIC_EARTH_MANAGER_LOCAL_REPOSITORY_LOCK_TIMEOUT" will override "DefaultLocalRepositoryLockTimeout"
Methods
Clear the local repository.
Fetch latest CSSI Space Weather file.
Get manager singleton.
Get a list of 8 3-hourly Ap solar indices for the day containing instant.
Get daily Ap index for the day containing instant.
Get CSSI Space Weather at instant.
Get CSSI space weather directory.
Get the 81-day average value for F10.7 solar flux centered on instant.
Get the daily value for F10.7 solar flux at instant.
Get a list of 8 3-hourly Kp solar indices for the day containing instant.
Get currently loaded CSSI Space Weather file.
Get the local repository.
Get the local repository lock timeout.
Get the manager mode.
Load CSSI Space Weather.
Reset the manager.
Set the local repository.
Set the manager mode.
- class Mode(self: ostk.physics.Manager.Mode, value: int)¶
Bases:
pybind11_object
Members:
Manual
Automatic
- property name¶
- clear_local_repository(self: ostk.physics.Manager) None ¶
Clear the local repository.
- fetch_latest_cssi_space_weather( ) ostk.core.filesystem.File ¶
Fetch latest CSSI Space Weather file.
- Returns:
Latest CSSI Space Weather file.
- Return type:
File
- static get() ostk.physics.environment.atmospheric.earth.Manager ¶
Get manager singleton.
- Returns:
Reference to manager.
- Return type:
- get_ap_3_hour_solar_indices_at( ) list[ostk.core.type.Integer] ¶
Get a list of 8 3-hourly Ap solar indices for the day containing instant.
- get_ap_daily_index_at( ) ostk.core.type.Integer ¶
Get daily Ap index for the day containing instant.
- Parameters:
instant (Instant) -- An instant.
- Returns:
Daily Ap index.
- Return type:
Integer
- get_cssi_space_weather_at( ) ostk.physics.environment.atmospheric.earth.CSSISpaceWeather ¶
Get CSSI Space Weather at instant.
- Parameters:
instant (Instant) -- An instant.
- Returns:
CSSI Space Weather.
- Return type:
- get_cssi_space_weather_directory( ) ostk.core.filesystem.Directory ¶
Get CSSI space weather directory.
- Returns:
CSSI space weather directory.
- Return type:
Directory
- get_f107_solar_flux_81_day_avg_at( ) ostk.core.type.Real ¶
Get the 81-day average value for F10.7 solar flux centered on instant.
- get_f107_solar_flux_at( ) ostk.core.type.Real ¶
Get the daily value for F10.7 solar flux at instant.
- get_kp_3_hour_solar_indices_at( ) list[ostk.core.type.Integer] ¶
Get a list of 8 3-hourly Kp solar indices for the day containing instant.
- get_loaded_cssi_space_weather( ) ostk.physics.environment.atmospheric.earth.CSSISpaceWeather ¶
Get currently loaded CSSI Space Weather file.
- Returns:
Currently loaded CSSI Space Weather file.
- Return type:
- get_local_repository(
- self: ostk.physics.Manager,
Get the local repository.
- Returns:
Local repository.
- Return type:
Directory
- get_local_repository_lock_timeout(
- self: ostk.physics.Manager,
Get the local repository lock timeout.
- Returns:
Local repository lock timeout.
- Return type:
- get_mode(self: ostk.physics.Manager) ostk.physics.Manager.Mode ¶
Get the manager mode.
- Returns:
Manager mode.
- Return type:
- load_cssi_space_weather(
- self: ostk.physics.environment.atmospheric.earth.Manager,
- cssi_space_weather: ostk.physics.environment.atmospheric.earth.CSSISpaceWeather,
Load CSSI Space Weather.
- Parameters:
cssi_space_weather (CSSISpaceWeather) -- A CSSI Space Weather.
- reset(self: ostk.physics.Manager) None ¶
Reset the manager.
- set_local_repository(
- self: ostk.physics.Manager,
- directory: ostk.core.filesystem.Directory,
Set the local repository.
- Parameters:
directory (Directory) -- Local repository.
- set_mode(self: ostk.physics.Manager, mode: ostk.physics.Manager.Mode) None ¶
Set the manager mode.
- Parameters:
mode (Mode) -- Manager mode.