Skip to content
Snippets Groups Projects
Commit 231a5aa8 authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Fixed check for Earth frames in tutorials.

parent 3cc4e501
No related branches found
No related tags found
No related merge requests found
......@@ -438,7 +438,8 @@ public class KeyValueFileParser<Key extends Enum<Key>> {
// check the name against predefined frames
for (Predefined predefined : Predefined.values()) {
if (frameName.equals(predefined.getName())) {
if (predefined.toString().startsWith("ITRF")) {
if (predefined.toString().startsWith("ITRF") ||
predefined.toString().startsWith("GTOD")) {
return FramesFactory.getFrame(predefined);
} else {
throw new OrekitException(NOT_EARTH_FRAME, frameName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment