Class FixCardReduction

java.lang.Object
talonsoalbi_at_gmail_dot_com.ssoxmatch.db.PostgresConnection
talonsoalbi_at_gmail_dot_com.ssoxmatch.actions.FixCardReduction
All Implemented Interfaces:
Closeable, AutoCloseable

public class FixCardReduction extends PostgresConnection
To fix the card reduction tables due to incomplete ingestions in the local database
Author:
talonso
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args) throws SQLException, spice.basic.SpiceErrorException, IOException
      Main action program to fix the card reduction tables. Local database is used
      Parameters:
      args - Not used
      Throws:
      SQLException - Database errors
      IOException - File system errors
      spice.basic.SpiceErrorException - Ephemeris/kernel errors
    • doFixCardReduction

      public void doFixCardReduction(boolean numericalIntegration) throws SQLException, InterruptedException, spice.basic.SpiceErrorException, IOException
      Fixes the card reduction tables
      Parameters:
      numericalIntegration - True to use numerical integration in the ingestion of the card reduction tables
      Throws:
      SQLException - Database errors
      IOException - File system errors
      spice.basic.SpiceErrorException - Ephemeris/kernel errors
      InterruptedException - For remote database a confirmation is required from the console