Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > Navigation
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 05-07-2018, 02:29   #1
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Denmark (Winter), Helsinki (Summer); Cruising the Baltic Sea this year!
Boat: Cutter-Rigged Moody 54
Posts: 33,865
Ice Charts via SailDocs Or Other Low-Res Source?

We are using ice charts from the Danish Weather Service, here: East Greenland: DMI

You can download them in color or B&W, and the size of the files is very reasonable.

But the link is not fixed, such that you could order the download via SailDocs with the "send" webpage command. I guess we could get the main page and then parse the link out of it, and request that -- maybe not a big deal since we have the Iridium unlimited data plan.

Does anyone have a better way to do this?

I guess we could simply have the charts emailed to us by someone on land.
__________________
"You sea! I resign myself to you also . . . . I guess what you mean,
I behold from the beach your crooked inviting fingers,
I believe you refuse to go back without feeling of me;
We must have a turn together . . . . I undress . . . . hurry me out of sight of the land,
Cushion me soft . . . . rock me in billowy drowse,
Dash me with amorous wet . . . . I can repay you."
Walt Whitman
Dockhead is offline   Reply With Quote
Old 05-07-2018, 03:35   #2
Moderator
 
Pete7's Avatar

Cruisers Forum Supporter

Join Date: Aug 2009
Location: Solent, England
Boat: Moody 31
Posts: 18,458
Images: 22
Re: Ice Charts via SailDocs Or Other Low-Res Source?

I wonder if they realise that folk are downloading over limited bandwidths and if they made the chart link a standard format by skipping the time and just go with the date it would make life a lot easier to guess the next chart. Shame it isn't a daily service, then it would be really easy.

How about sending them an e mail, after all a lot of folk near Greenland who needs these are gong to be on limited bandwidths.

Pete
Pete7 is offline   Reply With Quote
Old 05-07-2018, 03:52   #3
Registered User
 
Auspicious's Avatar

Join Date: Jun 2003
Location: Chesapeake Bay
Boat: HR 40
Posts: 3,651
Send a message via Skype™ to Auspicious
Re: Ice Charts via SailDocs Or Other Low-Res Source?

NOAA has Atlantic ice edge as a weather fax product. UK MET has ice accretion as a weather fax.
__________________
sail fast and eat well, dave
AuspiciousWorks
Beware cut and paste sailors
Auspicious is offline   Reply With Quote
Old 05-07-2018, 03:59   #4
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Ice Charts via SailDocs Or Other Low-Res Source?

I've just had a play around on https://www.pythonanywhere.com

Almost but not quite got it to send an email with the parsed b/w link addresses, works with python on the laptop, code if anyone is interested >

Code:
from bs4 import BeautifulSoup
import urllib.request as urllib2
import re
import smtplib
 
fromaddr = '****'
toaddrs  = '******' 
server = smtplib.SMTP("smtp.gmail.com:587")
server.starttls()
server.login('***gmail.com','******')
  
html_page = urllib2.urlopen("http://www.dmi.dk/en/hav/groenland-og-arktis/iskort/oestgroenland/")
soup = BeautifulSoup(html_page, 'html.parser')

msg = ''
for link in soup.findAll('a', attrs={'href': re.compile("^/uploads/tx_dmidatastore/webservice/W/B")}):
     print('http://www.dmi.dk' +link.get('href'))
    msg +='http://www.dmi.dk' + link.get('href') + '\n'
server.sendmail(fromaddr, toaddrs, msg)
results in >

I should be able to get the authentication working on pythonanywhere and then if you like I could either auto email to you once a day or probably save the results as a webpage then you could get it with sailmail.
conachair is offline   Reply With Quote
Old 05-07-2018, 04:22   #5
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Denmark (Winter), Helsinki (Summer); Cruising the Baltic Sea this year!
Boat: Cutter-Rigged Moody 54
Posts: 33,865
Re: Ice Charts via SailDocs Or Other Low-Res Source?

Quote:
Originally Posted by conachair View Post
I've just had a play around on https://www.pythonanywhere.com

Almost but not quite got it to send an email with the parsed b/w link addresses, works with python on the laptop, code if anyone is interested >

Code:
from bs4 import BeautifulSoup
import urllib.request as urllib2
import re
import smtplib
 
fromaddr = '****'
toaddrs  = '******' 
server = smtplib.SMTP("smtp.gmail.com:587")
server.starttls()
server.login('***gmail.com','******')
  
html_page = urllib2.urlopen("http://www.dmi.dk/en/hav/groenland-og-arktis/iskort/oestgroenland/")
soup = BeautifulSoup(html_page, 'html.parser')

msg = ''
for link in soup.findAll('a', attrs={'href': re.compile("^/uploads/tx_dmidatastore/webservice/W/B")}):
     print('http://www.dmi.dk' +link.get('href'))
    msg +='http://www.dmi.dk' + link.get('href') + '\n'
server.sendmail(fromaddr, toaddrs, msg)
results in >



I should be able to get the authentication working on pythonanywhere and then if you like I could either auto email to you once a day or probably save the results as a webpage then you could get it with sailmail.

That would be great!! Either of those variants would be great and would solve the problem. A bottle from me for that.
__________________
"You sea! I resign myself to you also . . . . I guess what you mean,
I behold from the beach your crooked inviting fingers,
I believe you refuse to go back without feeling of me;
We must have a turn together . . . . I undress . . . . hurry me out of sight of the land,
Cushion me soft . . . . rock me in billowy drowse,
Dash me with amorous wet . . . . I can repay you."
Walt Whitman
Dockhead is offline   Reply With Quote
Old 05-07-2018, 04:40   #6
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Ice Charts via SailDocs Or Other Low-Res Source?

Quote:
Originally Posted by Dockhead View Post
That would be great!! Either of those variants would be great and would solve the problem. A bottle from me for that.
PMed a link, might even work No bottle required, learning bit more python is reward enough
conachair is offline   Reply With Quote
Old 05-07-2018, 04:48   #7
Moderator
 
Pete7's Avatar

Cruisers Forum Supporter

Join Date: Aug 2009
Location: Solent, England
Boat: Moody 31
Posts: 18,458
Images: 22
Re: Ice Charts via SailDocs Or Other Low-Res Source?

Alternatively this image is 329kb. However, the path looks like the old file is over written each day so the link will always be the same.

https://nsidc.org/greenland-today/im...daily_melt.png
Pete7 is offline   Reply With Quote
Old 05-07-2018, 04:59   #8
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Denmark (Winter), Helsinki (Summer); Cruising the Baltic Sea this year!
Boat: Cutter-Rigged Moody 54
Posts: 33,865
Re: Ice Charts via SailDocs Or Other Low-Res Source?

Quote:
Originally Posted by Pete7 View Post
Alternatively this image is 329kb. However, the path looks like the old file is over written each day so the link will always be the same.

https://nsidc.org/greenland-today/im...daily_melt.png
That's cool! But unfortunately not an ice chart which can be used for navigation, which looks like this:

chart3_East_201807032000_Colour.pdf
__________________
"You sea! I resign myself to you also . . . . I guess what you mean,
I behold from the beach your crooked inviting fingers,
I believe you refuse to go back without feeling of me;
We must have a turn together . . . . I undress . . . . hurry me out of sight of the land,
Cushion me soft . . . . rock me in billowy drowse,
Dash me with amorous wet . . . . I can repay you."
Walt Whitman
Dockhead is offline   Reply With Quote
Old 05-07-2018, 05:21   #9
Moderator
 
Pete7's Avatar

Cruisers Forum Supporter

Join Date: Aug 2009
Location: Solent, England
Boat: Moody 31
Posts: 18,458
Images: 22
Re: Ice Charts via SailDocs Or Other Low-Res Source?

Ah yes. Those longitude lines get close quick don't they.

Pete
Pete7 is offline   Reply With Quote
Old 05-07-2018, 05:30   #10
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Ice Charts via SailDocs Or Other Low-Res Source?

That link looks like it will hopefully update the links once an hour forever, with a UTC timestamp at the top of the page.
conachair is offline   Reply With Quote
Old 05-07-2018, 06:02   #11
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Ice Charts via SailDocs Or Other Low-Res Source?

Quote:
Originally Posted by conachair View Post
That link looks like it will hopefully update the links once an hour forever, with a UTC timestamp at the top of the page.
Was it black n white you wanted?
conachair is offline   Reply With Quote
Old 05-07-2018, 06:04   #12
Registered User
 
deblen's Avatar

Join Date: Oct 2014
Location: Bay of Fundy,Grand Manan,N.B.,Canada N44.40 W66.50
Boat: Mascot 28 pilothouse motorsailer 28ft
Posts: 3,256
Images: 1
Re: Ice Charts via SailDocs Or Other Low-Res Source?

https://seaice.uni-bremen.de/sea-ice-concentration/
__________________
My personal experience & humble opinions-feel free to ignore both
.
deblen is offline   Reply With Quote
Old 05-07-2018, 06:19   #13
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Denmark (Winter), Helsinki (Summer); Cruising the Baltic Sea this year!
Boat: Cutter-Rigged Moody 54
Posts: 33,865
Re: Ice Charts via SailDocs Or Other Low-Res Source?

Quote:
Originally Posted by conachair View Post
Was it black n white you wanted?
Yes, thank you.
__________________
"You sea! I resign myself to you also . . . . I guess what you mean,
I behold from the beach your crooked inviting fingers,
I believe you refuse to go back without feeling of me;
We must have a turn together . . . . I undress . . . . hurry me out of sight of the land,
Cushion me soft . . . . rock me in billowy drowse,
Dash me with amorous wet . . . . I can repay you."
Walt Whitman
Dockhead is offline   Reply With Quote
Old 05-07-2018, 06:34   #14
Registered User

Join Date: Jun 2018
Posts: 8
Re: Ice Charts via SailDocs Or Other Low-Res Source?

Thanks for your question, it's difficult and have many answers
inlogo is offline   Reply With Quote
Old 08-07-2018, 07:03   #15
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Ice Charts via SailDocs Or Other Low-Res Source?

Quote:
Originally Posted by Dockhead View Post
Yes, thank you.
Bit more python fun and I have the charts downloaded into pythonanywhere with static filenames, might make it a little easier to download. these will get downloaded from the dmi site once an hour >
https://www.pythonanywhere.com/user/...ce/chart_0.pdf
etc from '.../chart_0' to '.../chart_9'

From a run just now - >

Original file URLs are still in that txt file.

HTH
conachair is offline   Reply With Quote
Reply

Tags
charts, sail


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
building oc from source with high res base map for dummies Andreas29 OpenCPN 25 13-11-2017 09:43
High Res Background Map on Mac LloydW OpenCPN 2 01-10-2016 12:10
Google Earth KAP Large Area Hi Res Charts Steelcat Navigation 36 20-08-2016 23:48
saildocs surface analysis bobsadler General Sailing Forum 8 03-01-2013 05:06
saildocs.com fvn Navigation 5 26-11-2010 17:46

Advertise Here


All times are GMT -7. The time now is 03:45.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.