offset in coastline

7 views
Skip to first unread message

Thanasis Karagiannidis

unread,
Jan 29, 2022, 4:59:40 AMJan 29
to pyt...@googlegroups.com

Dear all

 

I have noticed a weird behavior when adding coastlines in my seviri images. The coastline is a bit “off”. The problem becomes apparent when I zoom in small areas. Please check the example I attach.

 

Below is the line that calls the coastline shapefile and my area definition. The shapfile dirs (GSHHS_shp and WDBII_shp) are inside “/home/thankar/Pytroll/aux/”.

 

How can I correct that offset?

 

Best regards Sakis

 

coast = {'coast_dir': '/home/thankar/Pytroll/aux/','color': (0, 0, 0), 'width': 0.5, 'resolution': 'f'}

 

Greece_Attica:

   description: Global equal latitude/longitude grid

   projection:

     init: EPSG:4326

   shape:

     width: 1900

     height: 1700

   area_extent:

     lower_left_xy: [22, 36.9]

     upper_right_xy: [25, 39.4]

 

 

20211010140000_EastSterea_VisSharpIR.jpg

David Hoese

unread,
Jan 29, 2022, 4:37:26 PMJan 29
to pyt...@googlegroups.com
Sakis,

I'm not really sure about the offset, but could you provide your entire
script that generates these images? Or a small example that reproduces
this issue?

Dave
> --
> You received this message because you are subscribed to the Google
> Groups "pytroll" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to pytroll+u...@googlegroups.com
> <mailto:pytroll+u...@googlegroups.com>.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/pytroll/CAJ5NJ7z0LSGj83_dZS2DZT20mci%3D0ykDVUoM829Hx264pdc1QQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/pytroll/CAJ5NJ7z0LSGj83_dZS2DZT20mci%3D0ykDVUoM829Hx264pdc1QQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Raspaud Martin

unread,
Jan 31, 2022, 9:04:35 AMJan 31
to pyt...@googlegroups.com
Dear Sakis,

Thanks for reporting this to us. We have spent a lot of time making
sure that the coastlines match the actual data, but unfortunately
SEVIRI data is know to wobble quite a bit, so please check that the
offset is consistent across multiple scene around the day.

If you feel there is still a problem, please sent us the exact script
you use to generate this image as Dave asked :)

Best regards,
Martin
Reply all
Reply to author
Forward
0 new messages