Package org.orekit.gnss
Class IGSUtils
- java.lang.Object
-
- org.orekit.gnss.IGSUtils
-
public class IGSUtils extends Object
Utility for IGS files.- Since:
- 12.1
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
frameName(Frame frame)
Guess a frame name.static Frame
guessFrame(String name)
static Frame
guessFrame(Frames frames, String name)
-
-
-
Method Detail
-
guessFrame
@DefaultDataContext public static Frame guessFrame(String name)
Default string toFrame
conversion forSP3Parser
orRinexClockParser
.This method uses the
default data context
. If the frame names has a form like IGS##, or ITR##, or ITRF##, or SLR##, where ## is a two digits number, then this number will be used to build the appropriateITRFVersion
. Otherwise (for example if name is UNDEF or WGS84), then a defaultITRF
will be created.- Parameters:
name
- of the frame.- Returns:
- ITRF based on 2010 conventions, with tidal effects considered during EOP interpolation
- Since:
- 12.1
-
guessFrame
public static Frame guessFrame(Frames frames, String name)
Default string toFrame
conversion forSP3Parser
orRinexClockParser
.Various frame names are supported:
- IGS##, or ITR##, or ITRF##, or SLR##,
where ## is a two digits number, then this number will be used to build the
appropriate
ITRFVersion
- GCRF (left or right justified) for GCRF inertial frame
- EME00 or EME2K for EME2000 inertial frame
- for all other names (for example if name is UNDEF or WGS84),
then a default
ITRF
frame will be selected
Note that using inertial frames in classical products like SP3 files is non-standard, it is supported by Orekit, but may not be supported by other programs, so they should be used with caution when writing files.
- Parameters:
frames
- frames factoryname
- of the frame.- Returns:
- guessed frame
- Since:
- 12.1
- IGS##, or ITR##, or ITRF##, or SLR##,
where ## is a two digits number, then this number will be used to build the
appropriate
-
frameName
public static String frameName(Frame frame)
Guess a frame name.If the frame is not compatible with
guessFrame(Frames, String)
, an exception will be triggered- Parameters:
frame
- frame from which we want the name- Returns:
- name compatible with
guessFrame(Frames, String)
- Since:
- 12.1
-
-