-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature lac #5
Feature lac #5
Conversation
Signed-off-by: Martin Raspaud <[email protected]>
Conflicts: pygac/gac_klm.py pygac/gac_pod.py pygac/reader.py Signed-off-by: Martin Raspaud <[email protected]>
Signed-off-by: Martin Raspaud <[email protected]>
Signed-off-by: Martin Raspaud <[email protected]>
Signed-off-by: Martin Raspaud <[email protected]>
Signed-off-by: Martin Raspaud <[email protected]>
Signed-off-by: Martin Raspaud <[email protected]>
Signed-off-by: Martin Raspaud <[email protected]>
tle1, tle2 = self.get_tle_lines() | ||
|
||
scan_points = np.arange(3.5, 2048, 5) | ||
|
||
if utcs is None: | ||
utcs = self.get_times() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The origin of the timestamp mismatch between feature-lac and develop is here: get_times()
returns a reference to self.utcs
, so that decrementing utcs below (utcs -= ...
) actually modifies self.utcs
. I don't know whether this is intended or not. But I guess it is not, because each time compute_lonlat()
is called, self.utcs
changes its value. Using a local copy utcs = self.get_times().copy()
resolves the timestamp mismatch. However, lat/lon is still different compared to the develop branch. The problem does not occur in the develop branch, because compute_lonlat()
is never called with utcs=None
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing this out. I will have a closer look.
…canline-timestamp Fix travis build
Refactor pygac to merge common gac and lac parts.