cloudy cloudy

Author Topic: WXSIM "EWN-style"  (Read 11818 times)

0 Members and 1 Guest are viewing this topic.

Offline weatherc

  • Posts: 1,977
  • Salo, Finland
  • OS/Browser:
  • Win NT 10.0
  • Firefox 51.0
    • Weatherstation Salo,FI
Re: WXSIM "EWN-style"
« Reply #120 on: March 22, 2017, 09:07:02 PM »
Quote
In the Graphs section it's difficult to see the precipitation amount when it rains several hours. The numbers overlap. Also there is no Y-axis for precipitation. Have you done any thinking about that?

I know that. The "full" graph are not that good, i did the graph initially as daily as it gives more width per timestep and also fits better on narrow screens. Whole "EWN-forecast" design was made with mobile screens in mind.

Quote
Would it be possible to have the days at the X-axis, not only the time? It would make it easier to get an overview of each day.

It would if the days fits. The problem are narrow screens and how to (auto)detect if days fits or not

Quote
I don't quite get how the buttons on the bottom of the graps work? When I enter Graphs, Forecastgraph is marked and the graph is shown. Pressing Show whole forecastperiod shows that graph, but now both buttons are marked. Pressing Forecastgraph now nothing happens. Pressing Show whole forecastperiod switches between the 2 graph each second time.

The left button are actually a leftover from the orginal and could be removed from the WXSIM-version as it do nothing.

Quote
Legends for Dewpoint and Feels Like are greyed out. Do you plan to show them?

I see you figured them out :) I left them hidden as default to keep the initial look clean.

Quote
Do you mean this to be a replacement for the 3-in-1 script? I don't see 3-in-1 on your site anymore.

Yes, i think so. Actually, my own WXSIM have had (and still have) problems with its accuracy with MAE's well above 3C as worst, and it have came in mind a couple of times to scrape whole WXSIM from my site (and then discontinue my WXSIM-related scripts). So the interest about it haven't been the best. But but...That haven't happen yet ;)

Offline i_fiorentino

  • Alessandro Bardi
  • Posts: 1,682
  • 150 mls Candeglia (Pt), Tuscany, Italy
  • OS/Browser:
  • Win NT 10.0
  • Chrome 57.0.2987.133
    • Meteopistoia.it
Re: WXSIM "EWN-style"
« Reply #121 on: April 11, 2017, 09:58:07 PM »
Hi guys,
i've an issue with main icon on wxsim ewn style script.
Main icon shows sunny with patches of fog but details icon shows rain.
The correct icon is rain because in lastret/plaintext there are amount of rain forecasted.

Short forecasts:




Details forecasts:




I've also attached lastret and plaintext files.
Any ideas?
Regards,



Alessandro

Offline i_fiorentino

  • Alessandro Bardi
  • Posts: 1,682
  • 150 mls Candeglia (Pt), Tuscany, Italy
    • Meteopistoia.it
Re: WXSIM "EWN-style"
« Reply #122 on: April 14, 2017, 09:16:06 AM »
Hi guys,
i've an issue with main icon on wxsim ewn style script.
Main icon shows sunny with patches of fog but details icon shows rain.
The correct icon is rain because in lastret/plaintext there are amount of rain forecasted.

Short forecasts:




Details forecasts:




I've also attached lastret and plaintext files.
Any ideas?
Regards,



Alessandro
Nobody have this problem? ... it seems rain icon doesn't found correctly :(

Alessandro


Offline edje1205

  • edje
  • Posts: 1,943
  • Amsterdam Holland, the Netherlands
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Mozilla compatible
    • http://www.weersverwachtingen.eu
Re: WXSIM "EWN-style"
« Reply #123 on: May 28, 2017, 10:00:09 AM »
Sorry I must say I had a working forecast right from the box ! Only updatetime did not work.
Changed the whole paths to the (lastret)/datafiles and everything was oke.

Till I restarted the browser: no forecast(s) what ever I tried. Cookies?, settings?. Did a whole new instalation, suggestions here on the forum, etc but no luck

see att. + lastret.txt

Can I get an other suggestion/solution please

thanx so far !

« Last Edit: May 28, 2017, 12:43:52 PM by edje1205 »
Ed
Woodenshoes,mills,hightech;but random weather
www.weersverwachtingen.eu
P4 2,2Ghz-2GB RAM-Win7-Broadb.connect


Offline hrvistaweather

  • Posts: 223
  • Franklin, Huon Valley Southern Tasmania
  • OS/Browser:
  • Win NT 6.3
  • Chrome 59.0.3071.82
    • Huon River Vista Weather - South Franklin - Tasmania
Re: WXSIM "EWN-style"
« Reply #124 on: June 04, 2017, 01:10:54 AM »
Hi,
It seems that "nordicweather.net" is down.
As a result I just realised that my "wxsim_2017.css" was referencing "//static.nordicweather.net/fonts/" so the icons do not display.
I already had the "//mylocalwebsite/wxsim/fonts/ubuntu*" files so just referenced them to local and then downloaded the :
/*!
 *  Weather Icons 2.0.8
 *  Updated September 19, 2015
 *  Maintained at http://erikflowers.github.io/weather-icons
 */
and did same with them "//mylocalwebsite/wxsim/fonts/weathericons-regular-webfont" all works fine now, I noticed many other users have not done this, so just a heads up.
Kind Regards,
Tony

Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Back Online : 2017-11-01

Offline tornadochaser

  • Posts: 22
  • Ober÷wisheim - Germany
  • OS/Browser:
  • Win NT 10.0
  • Firefox 53.0
    • Kraichtal-Wetter
Re: WXSIM "EWN-style"
« Reply #125 on: June 05, 2017, 11:24:53 AM »
Thx! :)

Offline tornadochaser

  • Posts: 22
  • Ober÷wisheim - Germany
  • OS/Browser:
  • Win NT 10.0
  • Firefox 54.0
    • Kraichtal-Wetter
Re: WXSIM "EWN-style"
« Reply #126 on: June 18, 2017, 04:05:58 PM »
Is there any possibility to display an additional warning triangle, whenever the forecast indicates to severe weather conditions?

Offline hrvistaweather

  • Posts: 223
  • Franklin, Huon Valley Southern Tasmania
  • OS/Browser:
  • Win NT 6.3
  • Chrome 60.0.3112.78
    • Huon River Vista Weather - South Franklin - Tasmania
Re: WXSIM "EWN-style"
« Reply #127 on: July 29, 2017, 08:02:16 AM »
Hi,
As I have no live website, just thought I would share my mods.
WXSIM "EWN-style" incorporated into Meteotemplate as a Block as i have to use Lastret.txt due to DST issues with Latest.csv.
Image 1: More Button closed
Image 2: More Button open
Thanks Henkka and Jachym.
regards,
« Last Edit: July 29, 2017, 08:38:57 AM by hrvistaweather »
Tony

Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Back Online : 2017-11-01

Offline hrvistaweather

  • Posts: 223
  • Franklin, Huon Valley Southern Tasmania
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 60.0.3112.90
    • Huon River Vista Weather - South Franklin - Tasmania
Re: WXSIM "EWN-style"
« Reply #128 on: August 09, 2017, 01:43:16 PM »
Hi if you are like me and prefer to see the Snow Cast highlighted in Blue on the "Overview" see code addition below;

The code provided already allows for this in the initial files, however all that is missing is a setting in the config.php

Add a new line in config.php : $snow1color = true;

that's it...
Tony

Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Back Online : 2017-11-01

Offline ardsar

  • Posts: 127
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
    • Plymouth, Devon Weather, including Lightning
Re: WXSIM "EWN-style"
« Reply #129 on: September 06, 2017, 06:47:02 PM »
Guys,

I'm having a problem with addition spacing being added in the top part of the table.  http://www.bearsbythesea.co.uk/wxsimforecast2.php


I have used one of my standard templates and just used include ('wxsim/forecast.php'); in order to ensure the paths are correct (all my web page address are in the root folder).

I'm guessing its a template issue, but I cant work out why it is doing this?

Andy pointers as to whats wrong?


Many thanks

Andy
Plymouth Weather UK, including Lightning data

www.bearsbythesea.co.uk

Online wvdkuil

  • Wim van der Kuil
  • Posts: 748
  • Amsterdam / Netherlands
  • OS/Browser:
  • Mac OS X 10.12.6
  • Chrome 60.0.3112.113
    • My private weatherstation
Re: WXSIM "EWN-style"
« Reply #130 on: September 06, 2017, 07:25:53 PM »
Guys,

I'm having a problem with addition spacing being added in the top part of the table.  http://www.bearsbythesea.co.uk/wxsimforecast2.php
I have used one of my standard templates and just used include ('wxsim/forecast.php'); in order to ensure the paths are correct (all my web page address are in the root folder).
I'm guessing its a template issue, but I cant work out why it is doing this?
Andy pointers as to whats wrong?
Many thanks
Andy
By using that stand-alone script inside your template page there are two sets of head and body definitions.
You can check yourself by (example with Chrome browser) right-click select show source.
This is the end of your menu html directly followed by an extra <html  head and body tags.
Code: [Select]
      </div><!-- end leftSidebar -->
</div><!-- end doNotPrint -->
<!-- end of menubar -->
 
  <!DOCTYPE HTML>
<html><head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<link href="//static.nordicweather.net/css/leaflet-0.7.3.min.css" rel="stylesheet"/>
<link href="//static.nordicweather.net/css/bootstrap_ewn.css?2017.03" rel="stylesheet"/>
<link rel="stylesheet" href="css/wxsim_2017.css?2017.03" />
<link rel="stylesheet" href="css/weather-icons.min.css?2017.03" /> <style>
body {background: #fff;color: #555555;font-family: "Ubuntu","Lucida Grande",Verdana,Helvetica,sans-serif;font-size: 13px;font-weight:300;line-height:1.25em;margin:0}
:focus {outline:0}
I think for less a browser is confused and does not know what you want.

Solution:
Us an iFrame and use this url http://www.bearsbythesea.co.uk/wxsim/forecast.php as the link in the iframe.
Than both your saratoga page and the wxsim page are handled indepently and both will display correctly.

Wim

P.S.  The blank lines come from this directive somewhere in the EWN code
Code: [Select]
<div style="clear:both"></div> If used inside a template page it forces the remaining html to start below the menu.
It should read
Code: [Select]
<div style="clear:right"></div> when used in a Saratoga template.
But as I do not have the script itself, I do not know where that html code is located.
And there can be multiple other influences between Saratoga CSS and EWN css, Better use an iframe in these cases.
« Last Edit: September 06, 2017, 07:35:43 PM by wvdkuil »
Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/

Offline ardsar

  • Posts: 127
  • OS/Browser:
  • Android 7.0
  • Chrome 51.0.2704.106
    • Plymouth, Devon Weather, including Lightning
Re: WXSIM "EWN-style"
« Reply #131 on: September 06, 2017, 07:51:33 PM »
Thank you Wim. Followed your advice and used an iframe. Working now 😀
Plymouth Weather UK, including Lightning data

www.bearsbythesea.co.uk

Offline afasol3

  • Posts: 12
  • OS/Browser:
  • (Linux Mint)
  • Firefox 52.0
    • meteo-molassana.info
Re: WXSIM "EWN-style"
« Reply #132 on: October 17, 2017, 02:51:29 PM »
hi
I've a problem about transltaion from english to italian.
I've tried many settings but teh problem persists.
I'm using PHP 5.6.3
Below is reported a part of config.php
Have you any ideas
Thanks in advance

$wxsimlocation     = "Genova Molassana";                 # Your location
$latitude = 44.46;
$longitude = 8.97;
$tzabb        = "Europe/Rome";
$datestyle    = "d.m.Y";
$timeFormat = "d.m.Y H:i";          # Timeformat
$updatehrs = array(3,5,8,11,14,17,20);  # Hours when wxsim runs
$updateminute = 47;                  # minutes past full hour for upload time
$jqueryload   = true;                             # Should we load JQuery? (Set to false if your site loads it by default)
$bootstrapload = true;                             # Should we load Bootstrap? (Set to false if your site loads it by default)
$mainwidth    = "100%";                           // Use 100% for responsivity

$path_to_langfiles = "lang/";
$path_to_lastret = "lastret.txt";
$path_to_dataphp = "./wxsim/";
$path_to_js = "../wxsim/js/";
$path_to_css = "../wxsim/css/";

$wxsimversion    = 2017.03;   # internal version

this is the link of the page; http://www.meteo-molassana.info/wxtest1/wxsim/forecast.php


Afasol3

 

cumulus