climateprediction.net (CPDN) home page
Thread 'New tasks, Charts'

Thread 'New tasks, Charts'

Message boards : Number crunching : New tasks, Charts
Message board moderation

To post messages, you must log in.

1 · 2 · 3 · 4 · Next

AuthorMessage
tullus

Send message
Joined: 16 May 13
Posts: 48
Credit: 475,901
RAC: 0
Message 48431 - Posted: 18 Mar 2014, 7:00:18 UTC

Hi! I just put out the following service:

http://ob.cakebox.net/cpdn_status/server_status.html

It is a bit unstable and weird, but pools the server status page on cpdn and graphs the number of tasks available and number of tasks running. The update program currently runs on a raspberry pi without a stable internet connection, so might not capture everything.

Apparently we had around 1000 tasks being released yesterday.

Let me know what you think.
ID: 48431 · Report as offensive     Reply Quote
Profilemo.v
Volunteer moderator
Avatar

Send message
Joined: 29 Sep 04
Posts: 2363
Credit: 14,611,758
RAC: 0
Message 48440 - Posted: 18 Mar 2014, 20:49:35 UTC
Last modified: 18 Mar 2014, 21:02:17 UTC

http://ob.cakebox.net/cpdn_status/server_status.html

I like this. Usually we can't see how long a batch of models takes to be sent out. I think we should sticky it but not yet because it's quite easy not to see new stickies up at the top.

Thank you, Tullus!
Cpdn news
ID: 48440 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4540
Credit: 19,020,584
RAC: 20,684
Message 48453 - Posted: 19 Mar 2014, 12:31:46 UTC - in response to Message 48440.  

Nice, it is showing the new models released today already.
ID: 48453 · Report as offensive     Reply Quote
tullus

Send message
Joined: 16 May 13
Posts: 48
Credit: 475,901
RAC: 0
Message 48494 - Posted: 23 Mar 2014, 13:04:22 UTC - in response to Message 48431.  

Made some updates and moved the code away from the raspberry pi. The code now runs on the cakebox server, which has a more stable internet connection.

As it stands, the code will (likely) crash if new applications are added or old ones are removed...
ID: 48494 · Report as offensive     Reply Quote
ProfileAnanas
Volunteer moderator

Send message
Joined: 31 Oct 04
Posts: 336
Credit: 3,316,482
RAC: 0
Message 48498 - Posted: 23 Mar 2014, 19:07:36 UTC - in response to Message 48494.  
Last modified: 23 Mar 2014, 19:08:48 UTC

In FF 26.0 it cuts the legend off :

data.addColumn('number', ' hadam3p (Global model only) Tasks ready to send')

shows (behind the blue square) as :
hadam3p
(Global mo...

with trailing periods, so max-width is probably somewhat too short.

p.s.: nice work, now we need the same for the beta server :-)
ID: 48498 · Report as offensive     Reply Quote
Richard Haselgrove

Send message
Joined: 1 Jan 07
Posts: 1061
Credit: 36,708,278
RAC: 9,361
Message 48499 - Posted: 23 Mar 2014, 19:55:29 UTC - in response to Message 48498.  

It does that in Chrome as well, but with the full text available in a tooltip on hover over.
ID: 48499 · Report as offensive     Reply Quote
tullus

Send message
Joined: 16 May 13
Posts: 48
Credit: 475,901
RAC: 0
Message 48501 - Posted: 23 Mar 2014, 20:51:20 UTC - in response to Message 48499.  

Thanks for the feedback, I made some more space for the legend.
ID: 48501 · Report as offensive     Reply Quote
ProfileAlan K

Send message
Joined: 22 Feb 06
Posts: 491
Credit: 30,992,465
RAC: 14,585
Message 48523 - Posted: 25 Mar 2014, 14:01:21 UTC - in response to Message 48501.  

Does it in IE as well. Nice graph though.
ID: 48523 · Report as offensive     Reply Quote
tullus

Send message
Joined: 16 May 13
Posts: 48
Credit: 475,901
RAC: 0
Message 48534 - Posted: 26 Mar 2014, 10:52:10 UTC - in response to Message 48523.  

Yes, the legend was not fully visible on my screen as well, I just didn't think too much about it.

I made another update, now the entire legend should be visible and the graph should resize itself for smaller screens (maximum width is now 1024px). Oh, and I turned off the mousewheel zooming feature, nobody was using it right?

Apparently there might be some odd behavior in IE (Internet Explorer) with the method that I have used, could anyone check that it doesn't look totally insane in IE? (I have basically no experience with html and css).

Another potential issue: The graph data will currently grow forever, if (or when) things start slowing down, please let me know. Not sure how much data the google chart can handle.
ID: 48534 · Report as offensive     Reply Quote
ed2353

Send message
Joined: 15 Feb 06
Posts: 137
Credit: 35,300,791
RAC: 13,054
Message 48537 - Posted: 26 Mar 2014, 11:40:30 UTC - in response to Message 48534.  

It looks fine in IE v11.0.4
ID: 48537 · Report as offensive     Reply Quote
Alex Plantema

Send message
Joined: 3 Sep 04
Posts: 126
Credit: 26,610,380
RAC: 3,377
Message 48543 - Posted: 26 Mar 2014, 16:17:35 UTC - in response to Message 48534.  

You might use the same period selection for both graphs.
How often does it interrogate the server status?
The In progress part isn't displayed in IE 8.
ID: 48543 · Report as offensive     Reply Quote
tullus

Send message
Joined: 16 May 13
Posts: 48
Credit: 475,901
RAC: 0
Message 48551 - Posted: 26 Mar 2014, 21:36:44 UTC - in response to Message 48543.  

@Alex Plantema Would you mind trying in IE8 again, I added the line suggested here:
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=936
Do you know if the In progress part has disappeared recently or has it never been there?

The data is currently fetched every half hour.

I will see if I can link the two period selections somehow.
ID: 48551 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 48552 - Posted: 26 Mar 2014, 21:45:41 UTC - in response to Message 48551.  

In Progress has ALWAYS been there.

ID: 48552 · Report as offensive     Reply Quote
Alex Plantema

Send message
Joined: 3 Sep 04
Posts: 126
Credit: 26,610,380
RAC: 3,377
Message 48554 - Posted: 26 Mar 2014, 21:55:12 UTC - in response to Message 48551.  

There seems to be no change, but I can't find this meta tag in the source.
I checked it in IE 8 yesterday for the first time.
ID: 48554 · Report as offensive     Reply Quote
tullus

Send message
Joined: 16 May 13
Posts: 48
Credit: 475,901
RAC: 0
Message 48558 - Posted: 27 Mar 2014, 6:53:49 UTC - in response to Message 48554.  

@Les Bayliss Yes: The problem seems to be isolated to Internet Explorer (IE) 8, are you saying you have IE8 and can see all of the graphs?

The second line of the source should read
<html lang="en" meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">

It might not have done so if you check right after I posted, but it should be there now.

Would you mind looking at:
https://developers.google.com/chart/interactive/docs/gallery
If the "Line Chart" there is not visible, then I will just give up on IE8...
ID: 48558 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 48561 - Posted: 27 Mar 2014, 8:07:30 UTC - in response to Message 48558.  

I use Firefox, not IE.

The only part of our Service Status page that's intermittent, and hasn't worked at all for a LONG time is the bar chart under WU status.

ID: 48561 · Report as offensive     Reply Quote
tullus

Send message
Joined: 16 May 13
Posts: 48
Credit: 475,901
RAC: 0
Message 48562 - Posted: 27 Mar 2014, 8:43:53 UTC - in response to Message 48561.  

I use Firefox, not IE.

The only part of our Service Status page that's intermittent, and hasn't worked at all for a LONG time is the bar chart under WU status.



I hope we are not talking about the same thing, the discussion is around my server status page, which can be found here:
http://ob.cakebox.net/cpdn_status/server_status.html
This page has never featured a bar chart.
ID: 48562 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 48563 - Posted: 27 Mar 2014, 9:01:17 UTC - in response to Message 48562.  

In that case Oops.
To be honest, I've only looked at your chart a couple of times.
The cpdn page is sufficient for a quick look to see the status of work.

Which, right now, is just under 14,000 tasks.

ID: 48563 · Report as offensive     Reply Quote
Alex Plantema

Send message
Joined: 3 Sep 04
Posts: 126
Credit: 26,610,380
RAC: 3,377
Message 48566 - Posted: 27 Mar 2014, 9:17:29 UTC
Last modified: 27 Mar 2014, 9:18:23 UTC

I searched for "<meta" but didn't find it. You made meta a property of an html element instead of a separate element as described in https://code.google.com/p/google-visualization-api-issues/issues/detail?id=936.
ID: 48566 · Report as offensive     Reply Quote
tullus

Send message
Joined: 16 May 13
Posts: 48
Credit: 475,901
RAC: 0
Message 48572 - Posted: 27 Mar 2014, 12:12:14 UTC - in response to Message 48566.  

I searched for "<meta" but didn't find it. You made meta a property of an html element instead of a separate element as described in https://code.google.com/p/google-visualization-api-issues/issues/detail?id=936.


Vops, could you try again, it should now be:
<html lang="en">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
ID: 48572 · Report as offensive     Reply Quote
1 · 2 · 3 · 4 · Next

Message boards : Number crunching : New tasks, Charts

©2024 cpdn.org