pytroll / pytroll-schedule

Reception scheduling of polar weather satellites
http://pytroll-schedule.readthedocs.org/
GNU General Public License v3.0
9 stars 12 forks source link

Drawing the ascat outline #27

Closed adybbroe closed 5 years ago

adybbroe commented 5 years ago

Code Sample, a minimal, complete, and verifiable piece of code

from trollsched.satpass import Pass
from trollsched.drawing import show, save_fig
from datetime import datetime
from satpy.utils import debug_on
debug_on()

rtime = datetime(2018, 11, 29, 10, 18, 11)
ftime = datetime(2018, 11, 29, 10, 32, 58)
avhrr = Pass('Metop-B', rtime, ftime, instrument='avhrr')
ascat = Pass('Metop-B', rtime, ftime, instrument='ascat')

save_fig(avhrr, ascat.boundary.contour_poly, outline='o')

Problem description

The ASCAT outline is not really consistent.

Expected Output

Should get an outline (points) with more points on the top and bottom rows

Actual Result, Traceback if applicable

20181129101811metop-b20181129103258

Versions of Python, package at hand and relevant dependencies

python 3.7

pytroll-schedule git hash: c0ddeb41942e40d30dbf5983d47dd8da4216733b

Thank you for reporting an issue !

adybbroe commented 5 years ago

Okay, looks much better now with the latest master after merging #30 20181129101811metop-b20181129103258

Blue outline is AVHRR, blue dots denote the outline of ASCAT (sub-satellite area not scanned by ASCAT included)