public final class GtmIO extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
LOGGER
Logger of the application
|
| Modifier and Type | Method and Description |
|---|---|
static void |
printConsole(GtmObjectData tleObj,
List<fr.cnes.sirius.patrius.propagation.analytical.tle.TLE> listOfTles)
Private method to print results on console.
|
static void |
printResultsInFile(String nameFile,
List<GtmDOrbParamsSynthesis> listOfSyn)
Method to print results (differences on orbital parameters and amount of points) in a MADONA like file.
|
static void |
printResultsInFile(String nameFile,
List<GtmDOrbParamsSynthesis> listOfSyn,
boolean isOldFashion)
Method to print results (differences on orbital parameters and amount of points) in a MADONA like file.
|
static void |
printTleInFile(boolean isHierarchical,
GtmObjectData tleObj,
List<fr.cnes.sirius.patrius.propagation.analytical.tle.TLE> listOfTles,
String outputDir)
Private method to print TLEs in file.
|
static List<GtmDOrbParamsSynthesis> |
readDiffInFile(String nameFile)
Method to read differences on orbital parameters in a MADONA like file
|
public static void printConsole(GtmObjectData tleObj, List<fr.cnes.sirius.patrius.propagation.analytical.tle.TLE> listOfTles) throws GtmPrintException
tleObj - TLE characteristicslistOfTles - List of computed TLEsGtmPrintException - occured when printing first line of a TLE.public static void printTleInFile(boolean isHierarchical,
GtmObjectData tleObj,
List<fr.cnes.sirius.patrius.propagation.analytical.tle.TLE> listOfTles,
String outputDir)
throws GtmPrintException
isHierarchical - Hierarchical directory organization if true (may be different of the one inside tleObjtleObj - object characteristicslistOfTles - List of computed TLEsoutputDir - name of the directory to put the file.GtmPrintException - occured when printing first line of a TLE.public static void printResultsInFile(String nameFile, List<GtmDOrbParamsSynthesis> listOfSyn) throws GtmPrintException
nameFile - name of the filelistOfSyn - list of differencesGtmPrintException - occured when creating the filepublic static void printResultsInFile(String nameFile, List<GtmDOrbParamsSynthesis> listOfSyn, boolean isOldFashion) throws GtmPrintException
nameFile - name of the filelistOfSyn - list of differencesisOldFashion - write as before V1.2 if trueGtmPrintException - occured when creating the filepublic static List<GtmDOrbParamsSynthesis> readDiffInFile(String nameFile) throws GtmPrintException
nameFile - name of the fileGtmPrintException - occured when crezting the fileCopyright © 2022. All rights reserved.