# # EXECUTABLE PROGRAM CalcMoonAnglesTime v1.3 # 12-NOV-2021 # # History # # Changes with respect CalcMoonAngles v1.2 - 02-NOV-2021: # Add pitch, roll, yaw to achieve Moon pointing # # Changes with respect CalcMoonAnglesTime v1.1 - 15-NOV-2019: # Linked against EO CFI v4.20 (before EO CFI v4.15) Added CHIME, CIMR, CO2M, CRISTAL, FORUM, LSTM, ROSEL New function to initialize time_correlations in case orbit file does not have TAI-UTC Add SC Eclipse flag to output CSV # # Linked against EO CFI v4.20 # # 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/ # # It calculates Moon Angles for a given UTC time period # It creates one file covering the requested UTC time period # # Usage: CalcMoonAnglesTime satellite_name orbit_filename attitude_filename start_time stop_time time_step # Example command Windows 7 (from Command Prompt window) CalcMoonAnglesTime.exe SENTINEL3A INPUT\OSF\S3A_OPER_MPL_ORBSCT_20160216T191845_99999999T999999_0007.EOF INPUT\ADF\S3_TEST_INT_ATTDEF_SC_NOMINAL_ATT.EOF 2020-07-04T15:02:00.000000 2020-07-04T16:41:00.000000 10.0 # Example command Mac OS X (from Terminal) ./CalcMoonAnglesTime SENTINEL3A ./INPUT/OSF/S3A_OPER_MPL_ORBSCT_20160216T191845_99999999T999999_0007.EOF ./INPUT/ADF/S3_TEST_INT_ATTDEF_SC_NOMINAL_ATT.EOF 2020-07-04T15:02:00.000000 2020-07-04T16:41:00.000000 10.0 # # Inputs: # Satellite ID (allowed values: AEOLUS, BIOMASS, CHIME, CIMR, CO2M, CRISTAL, CRYOSAT2, EARTHCARE, FLEX, FORUM, LSTM, METOPSG, ROSEL, SENTINEL1A, SENTINEL1B, SENTINEL1C, SENTINEL2A, SENTINEL2B, SENTINEL2C, SENTINEL3A, SENTINEL3B, SENTINEL3C, SENTINEL5P, SENTINEL6A, SEOSAT, SMOS, SWARM_A, SWARM_B, SWARM_C, GENERIC, GENERIC_GEO, GENERIC_MEO or DEFAULT) # Orbit Filename (types supported: MPL_ORBSCT or MPL_ORBPRE, MPL_ORBRES) # Attitude Filename (types supported: INT_ATTDEF) # Start UTC Time. Expected calendar CCSDS format (with microseconds): YYYY-MM-DDTHH:MM:SS.UUUUUU # Stop UTC Time. Expected calendar CCSDS format (with microseconds): YYYY-MM-DDTHH:MM:SS.UUUUUU # Time Step in seconds # # Outputs: S3A_MOON_ANGLES_TIME_20200704_150200_20200704_164100_0001.CSV