# # EXECUTABLE PROGRAM SCEclipseSZACalc v1.10 # 17-SEP-2020 # # History # # Changes with respect SCEclipseSZACalc v1.9 - 21-JAN-2020: # Add SENTINEL1/SENTINEL2/SENTINEL3 C models, FLEX New function to initialize time_correlations in case orbit file does not have TAI-UTC # # Executable program linked against EO CFI v4.15 # # Mission files (orbit, attitude, swath definition) for ESA EO missions can be found in http://eop-cfi.esa.int/Repo/PUBLIC/DOCUMENTATION/MISSION_DATA/ORBIT_SWATH_DATA/ # # EXECUTABLE PROGRAM SCEclipseSZACalc # It calculates the eclipse entry/exit times as well as the SZA up/down times (2 separate output files) # The SZA used in the example is 90 deg, but it can be set to other values (between 0 and 180 degrees) # SZA = 90 would be equivalent to calculate eclipse times at sub-satellite point # For an orbit like Sentinel-3, with ANX MLST at 22:00h, ANX is in eclipse, so we would have the sequence: # ANX --> Eclipse Exit --> SZA 90 deg Down --> SZA 90 deg Up --> Eclipse Entry --> ANX # Usage: SCEclipseSZACalc satellite_name orbit_filename sza start_time stop_time # # Example command Windows 10 64-bit (from Command Prompt window) SCEclipseSZACalc.exe SENTINEL3A S3A_OPER_MPL_ORBSCT_20160216T191845_99999999T999999_0004.EOF 90.0 2018-05-01T00:00:00 2018-06-01T00:00:00 # Example command macOS / Linux 64-bit (from Terminal) ./SCEclipseSZACalc SENTINEL3A S3A_OPER_MPL_ORBSCT_20160216T191845_99999999T999999_0004.EOF 90.0 2018-05-01T00:00:00 2018-06-01T00:00:00 # # Inputs: Satellite ID (allowed values: SENTINEL1A, SENTINEL1B, SENTINEL2A, SENTINEL2B, SENTINEL3A, SENTINEL3B, SENTINEL5P, SENTINEL6, SEOSAT, GENERIC) Orbit Filename Satellite (orbit filename1 types supported: MPL_ORBSCT or MPL_ORBPRE, MPL_ORBRES) SZA (Sun Zenith Angle), value calculated at the sub-satellite point Start UTC Time. Expected calendar CCSDS format (without microseconds): YYYY-MM-DDTHH:MM:SS Start UTC Time. Expected calendar CCSDS format (without microseconds): YYYY-MM-DDTHH:MM:SS # # Outputs: File with SZA entry/exit times: S3A_SSP_SZA_90_UP_DOWN_20180501_000000_20180601_000000_0001.CSV File with SC eclipse entry/exit times: S3A_SC_ECLIPSE_ENTRY_EXIT_20180501_000000_20180601_000000_0001.CSV