Support the Arctic Sea Ice Forum and Blog

Author Topic: Updating the ASIG  (Read 31713 times)

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #100 on: January 13, 2018, 05:47:15 PM »
I know the usage is a bit controversial, but since I tend to keep ASIG as a pinned tab in Chrome, I'd like to see 'target="_blank"' added to all the links.  Half the time I forget to open in new tab, and have to then back and start over in order to have both ASIG and the other site open.  I also occasionally lose ASIG and have to find it in my bookmarks.

I'll change that, DR. I was never sure what was best, and so the links at the top open in a new tab, but the links behind the images don't.

One huge problem I have right now, is that the Climate Reanalyzer people have changed their weather maps (yet again), and the new ones now each get their own link based on date, instead of a hot-linked one. Which means the Forecasts page no longer gets updated automatically! To me personally this is really annoying, because I don't like having to click through forecasts.

I've already mailed them, but no answer as of yet.
Il faut comparer, comparer, comparer, et cultiver notre jardin

Jim Hunt

  • Young ice
  • Posts: 4289
    • View Profile
    • The Arctic sea ice Great White Con
  • Liked: 274
  • Likes Given: 28
Re: Updating the ASIG
« Reply #101 on: January 13, 2018, 10:25:24 PM »
I've already mailed them, but no answer as of yet.

I'm suffering from the same problem. Please let me know their reply once it arrives!

Didn't DungeonMaster create scripts to get around similar issues in the dim and distant past?
Reality is merely an illusion, albeit a very persistent one - Albert Einstein

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #102 on: January 13, 2018, 10:34:38 PM »
I'm suffering from the same problem. Please let me know their reply once it arrives!

I've mailed them again.

Quote
Didn't DungeonMaster create scripts to get around similar issues in the dim and distant past?

Yes, but he's a busy guy and my guess is this would be a lot of work. So, I don't want to bother him with it.
Il faut comparer, comparer, comparer, et cultiver notre jardin

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #103 on: January 15, 2018, 11:12:58 AM »
Okay, I've received an answer:

Quote
Easy solution:  Add javascript to read the file dates.json in the directory for each variable.  This file contains a list of all the dated forecast directories and gets updated with each forecast run:

dates.json <edited the link just in case, N.>

and of course in the directory you can see the complete listing:

t2/ <edited the link just in case, N.>

In short, your js code willl open dates.json and read the first entry in order to get what you need to complete the directory path.

Easy solution...  :D :'(

Does anyone know where I can find such a script, or write one myself? And how do I work that into my HTML code on the ASIG? Will that even work on Google Sites?
Il faut comparer, comparer, comparer, et cultiver notre jardin

Dryland

  • New ice
  • Posts: 16
    • View Profile
  • Liked: 0
  • Likes Given: 2
Re: Updating the ASIG
« Reply #104 on: January 15, 2018, 04:25:57 PM »
Quote
Does anyone know where I can find such a script, or write one myself?

I may be able to help you with this. Will send you a PM.

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #105 on: January 20, 2018, 12:00:58 AM »
I may be able to help you with this. Will send you a PM.

Dryland was able to help me with this and has effectively saved the ASIG Forecasts page!



PS Dharma Rupa, clicking on the images now opens a new tab.
Il faut comparer, comparer, comparer, et cultiver notre jardin

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #106 on: March 07, 2018, 11:55:01 PM »
I've updated the Concentration Maps for March and April (by adding the 2017 maps).
Il faut comparer, comparer, comparer, et cultiver notre jardin

slow wing

  • Grease ice
  • Posts: 792
    • View Profile
  • Liked: 145
  • Likes Given: 400
Re: Updating the ASIG
« Reply #107 on: March 08, 2018, 12:51:13 AM »
Thanks Neven! The graphic comparison is very helpful for getting an impression of year-to-year variations.

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #108 on: June 03, 2019, 04:27:19 PM »
Last week, I updated the Concentration Maps pages, and made all the images clickable again (for a larger view).

Now I intend to clean up the ASIG front page. Every time it opens in my browser I get a message from my Avast virus software that the links to the Naval Research Laboratory pages are blocked, because of a lack of certificate. I'm also not capable to surf to their homepage, either with Chrome or Firefox. So, I think I'm just going to remove everything that has to do with NRL (thickness distribution map, ice drift map, etc).

There also seems to be a problem with DMI no longer updating the Greenland maps and graphs they had on their website. Polarportal has the same images, but their addresses are dynamic (ie each date has its own file name) and so I can't hotlink to them. I wish I knew how to write scripts...

I'm also going to replace the Webcams page with something else (probably SAT/SLP maps comparison), but that means I have to change the menus on every page, so may take some time.

If anyone has any suggestions for maps/graphs I can link to, or just has links to the top segment of the ASIG daily graphs page, I'm all eyes.
Il faut comparer, comparer, comparer, et cultiver notre jardin

oren

  • Young ice
  • Posts: 4538
    • View Profile
  • Liked: 916
  • Likes Given: 1307
Re: Updating the ASIG
« Reply #109 on: June 03, 2019, 05:59:01 PM »
If you could add OSI SAF daily sea ice drift, the map with the little arrows that A-Team refers to a lot. I know it can be find here http://osisaf.met.no/p/osisaf_hlprod_qlook.php?year=2019&month=06&day=02&prod=LR-Drift&area=NH&size=100%25 but not sure if there is a permanent placeholder that can be hotlinked to the ASIG.
Also if it's not on the ASIG, Ascat image of the day. Some folks here where to find it.

magnamentis

  • Guest
Re: Updating the ASIG
« Reply #110 on: June 03, 2019, 11:16:48 PM »

If anyone has any suggestions for maps/graphs I can link to, or just has links to the top segment of the ASIG daily graphs page, I'm all eyes.

Neven, is there any way to exclude some pages from this page:

https://forum.arctic-sea-ice.net/index.php?action=unread

recently some guy(s) started to spam the forum with new threads on an almost daily basis and they often last 1-2 pages but one post is enought to make it to that list.

for a long long time one had to deal with 1+ a few posts pages on that list, not it are 2-3 pages and to read which to click takes even more time than to open them in a tap all together and then if one doesn't click them now they stay there and clogg the choice even more.

while it would be a huge effort to keep thread spammers in check (except installing i high threshold) if we could exclude not needed/wanted topics from that list we can keep the list short and exclusive to wanted as well as new topics.

just a suggestion for consideration mid/long-term

cheers

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #111 on: June 03, 2019, 11:29:19 PM »
If you could add OSI SAF daily sea ice drift, the map with the little arrows that A-Team refers to a lot. I know it can be find here http://osisaf.met.no/p/osisaf_hlprod_qlook.php?year=2019&month=06&day=02&prod=LR-Drift&area=NH&size=100%25 but not sure if there is a permanent placeholder that can be hotlinked to the ASIG.
Also if it's not on the ASIG, Ascat image of the day. Some folks here where to find it.

Yes, I had a look at the OSI SAF stuff the other day, and that map would be great, but unfortunately the files get different names every day.

As for Ascat, I have the image in the 'Sea ice thickness, volume & age' category further down the page.
Il faut comparer, comparer, comparer, et cultiver notre jardin

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #112 on: June 03, 2019, 11:34:36 PM »
while it would be a huge effort to keep thread spammers in check (except installing i high threshold) if we could exclude not needed/wanted topics from that list we can keep the list short and exclusive to wanted as well as new topics.

just a suggestion for consideration mid/long-term

cheers

Well, that's a suggestion for the ASIF, not the ASIG, and there's a special thread for suggestions here. I believe we've discussed the Recent Unread Topics-page on and off there. It's difficult for me to control it, as it's a personal thing.

Myself, I let the ASIF send me notifications when there's a new comment on threads I'm interested in. And when on the Forum, I also check the Recent Posts-list on the front page. This I can control, and I usually remove threads from there that have little to do with Arctic sea ice and that dominate the list too much (like the Tesla thread or one of the political threads).
Il faut comparer, comparer, comparer, et cultiver notre jardin

magnamentis

  • Guest
Re: Updating the ASIG
« Reply #113 on: June 03, 2019, 11:46:40 PM »
while it would be a huge effort to keep thread spammers in check (except installing i high threshold) if we could exclude not needed/wanted topics from that list we can keep the list short and exclusive to wanted as well as new topics.

just a suggestion for consideration mid/long-term

cheers

Well, that's a suggestion for the ASIF, not the ASIG, and there's a special thread for suggestions here. I believe we've discussed the Recent Unread Topics-page on and off there. It's difficult for me to control it, as it's a personal thing.

Myself, I let the ASIF send me notifications when there's a new comment on threads I'm interested in. And when on the Forum, I also check the Recent Posts-list on the front page. This I can control, and I usually remove threads from there that have little to do with Arctic sea ice and that dominate the list too much (like the Tesla thread or one of the political threads).

thx, well explained, gonna manage, sorry for wrong thread, not always easy to find one that fits among so many ;)

Tealight

  • Frazil ice
  • Posts: 431
    • View Profile
    • CryosphereComputing
  • Liked: 133
  • Likes Given: 14
Re: Updating the ASIG
« Reply #114 on: June 04, 2019, 01:13:32 AM »
There also seems to be a problem with DMI no longer updating the Greenland maps and graphs they had on their website. Polarportal has the same images, but their addresses are dynamic (ie each date has its own file name) and so I can't hotlink to them. I wish I knew how to write scripts...

I haven't used googlesites in a while, but I know how to write html image references with a variable url. The following solution works with a generic html file (copy everything into a text file, rename ending to html and open in a browser)
You can try putting it into an HTML box in google sites and maybe it will work.

Code: [Select]
<html>
<img id="Greenland">

<script>
var today = new Date();
yesterday = new Date(today - 68400000); //set off time in milliseconds
var dd = String(yesterday.getUTCDate()).padStart(2, '0');
var mm = String(yesterday.getUTCMonth() + 1).padStart(2, '0'); //January is 0!
var yyyy = yesterday.getFullYear();

yesterdaystring = yyyy+mm+dd;

var imageid = "http://polarportal.dk/fileadmin/polarportal/surface/SMB_map_LA_day_EN_"+yesterdaystring+".png";
document.getElementById("Greenland").src = imageid;
</script>

</html>

Edit: changed getDate() to getUTCDate() for same execution worldwide
« Last Edit: June 08, 2019, 12:43:23 AM by Tealight »

Stephan

  • Grease ice
  • Posts: 805
    • View Profile
  • Liked: 274
  • Likes Given: 141
Re: Updating the ASIG
« Reply #115 on: June 04, 2019, 07:14:00 PM »
On the very low part of the ASIG there are two web links "Sea Ice Temperature" and "Istykkelse", both from Danish sources, which could be moved upwards into the section "Sea Surface Temperature" and "Sea Ice Thickness", respectively, where they fit much better than under "Miscellanous".
It is too late just to be concerned about Climate Change

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #116 on: July 08, 2019, 11:31:43 PM »
I've finally come around to updating the ASIG front page, and it just keeps looking better and better.  :)

- I've kicked off the NRL stuff.
- I've added a few links at the top (RAMMB SLIDER)
- I've added a new category called 'melting momentum', with Tealight's AWP graphs, Wipneus compactness and melt extent ratio graphs
- Speaking of Tealight, he helped me out in a fantastic way with a script that allows me to hotlink to maps/graphs with dynamic links. That way I was able to add a lot of Polar Portal stuff in the Greenland category, as well as DMI ice thickness map and graph. Maybe the OSI-SAF sea ice drift map can be added as well, but the URL is more difficult to script.
- I've also made some changes to the Regional Graphs page, removing the compactness graphs, and adding NSIDC regional graphs, as well as the Arctic Basin area and extent graphs.

That's it for now.
Il faut comparer, comparer, comparer, et cultiver notre jardin

HapHazard

  • Frazil ice
  • Posts: 172
    • View Profile
  • Liked: 69
  • Likes Given: 1168
Re: Updating the ASIG
« Reply #117 on: July 09, 2019, 11:21:34 AM »
...it just keeps looking better and better.  :)

Damn right it does, great stuff! Thanks for everything.  :D

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #118 on: July 11, 2019, 11:46:42 PM »
If you could add OSI SAF daily sea ice drift, the map with the little arrows that A-Team refers to a lot. I know it can be find here http://osisaf.met.no/p/osisaf_hlprod_qlook.php?year=2019&month=06&day=02&prod=LR-Drift&area=NH&size=100%25 but not sure if there is a permanent placeholder that can be hotlinked to the ASIG.
Also if it's not on the ASIG, Ascat image of the day. Some folks here where to find it.

Yes, I had a look at the OSI SAF stuff the other day, and that map would be great, but unfortunately the files get different names every day.

Tealight managed to tweak his script, so the OSI-SAF ice draft map is now on the ASIG front page as well, under 'Buoys & sea ice drift'.
Il faut comparer, comparer, comparer, et cultiver notre jardin

crandles

  • Young ice
  • Posts: 2552
    • View Profile
  • Liked: 113
  • Likes Given: 47
Re: Updating the ASIG
« Reply #119 on: July 12, 2019, 12:25:47 AM »
Excellent Thanks to you and tealight :)

How good is the script for displaying latest image from a year ago along side?

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #120 on: July 12, 2019, 08:13:26 AM »
Excellent Thanks to you and tealight :)

How good is the script for displaying latest image from a year ago along side?

You mean the OSI-SAF ice drift map?
Il faut comparer, comparer, comparer, et cultiver notre jardin

crandles

  • Young ice
  • Posts: 2552
    • View Profile
  • Liked: 113
  • Likes Given: 47
Re: Updating the ASIG
« Reply #121 on: July 12, 2019, 12:09:46 PM »
You mean the OSI-SAF ice drift map?

I was thinking of several maps particularly first three image boxes, but possibly others as well if there is archive of the images.

Not sure if that breaks up the structure or if that is fixable by displaying latest, year ago, same date from 2012 if available, on a row.

Just a suggestion. If you don't like it or it is too much work, don't worry.

Neven

  • Administrator
  • First-year ice
  • *****
  • Posts: 7209
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 732
  • Likes Given: 478
Re: Updating the ASIG
« Reply #122 on: July 13, 2019, 12:05:36 PM »
You mean the OSI-SAF ice drift map?

I was thinking of several maps particularly first three image boxes, but possibly others as well if there is archive of the images.

Not sure if that breaks up the structure or if that is fixable by displaying latest, year ago, same date from 2012 if available, on a row.

Just a suggestion. If you don't like it or it is too much work, don't worry.

It sounds a bit like what I've done with the Concentration Maps page. But that's all manual work. If I'd have any programming skills, I'd create a site where you can compare everything, and call it the Arctic Archive or something. But just because I would think it's cool, not because I think there is any serious demand for such a thing. I mean, the ASIG gets around 1000 pageviews per day on average, maybe 1500-1800 during peak times.
Il faut comparer, comparer, comparer, et cultiver notre jardin

oren

  • Young ice
  • Posts: 4538
    • View Profile
  • Liked: 916
  • Likes Given: 1307
Re: Updating the ASIG
« Reply #123 on: July 13, 2019, 12:58:22 PM »
TBH, I am sure the graphs have much more demand, but a lot of that is via direct bookmarks.