spaceteams.SC_Compute_Server.ProcPlanet.horizon
¶
HorizonDataGen
¶
HorizonDataGen()
LoadFromCSV
¶
LoadFromCSV(filepath: PathLike | str | bytes) -> list[list[float]]
Load horizon data from a CSV file. The CSV is expected to have this structure per row: latitude, longitude, altitude, horizon angle at azimuth 0, at azimuth 1, at azimuth 2, etc.
SaveToCSV
¶
SaveToCSV(horizon_data: Sequence[Sequence[SupportsFloat]], filepath: PathLike | str | bytes) -> None
Save horizon data to a CSV file. The CSV will have this structure per row: latitude, longitude, altitude, horizon angle at azimuth 0, at azimuth 1, at azimuth 2, etc.