Author Topic: Using NANO SD charts on a weather site  (Read 735 times)

0 Members and 1 Guest are viewing this topic.

Offline lobsterman

  • Senior Contributor
  • ****
  • Posts: 164
    • Cape Small Harbor Weather
Using NANO SD charts on a weather site
« on: January 14, 2019, 11:08:02 AM »
I'd be grateful for pointers to anyone's site where you have integrated the charts generated by the NANO SD.

Offline ConligWX

  • Forecaster
  • *****
  • Posts: 836
  • #conligwx
    • conligwx.org
Re: Using NANO SD charts on a weather site
« Reply #1 on: January 16, 2019, 01:41:09 PM »
Have a few charts on my website generated by meteobridge nano SD and NOAA templates too what is it you are looking for.

What type of chart are you wanting to display? Do you know how to create them?

https://www.conligwx.org/wxchart2013.php
https://www.conligwx.org/wxchart2014.php
https://www.conligwx.org/wxchart2015.php
https://www.conligwx.org/wxchart2016.php
https://www.conligwx.org/wxchart2017.php
https://www.conligwx.org/wxchart2018.php

https://www.conligwx.org/wxlastchart.php

https://www.conligwx.org/wxnoaareports.php  (dec 2018 onwards)

« Last Edit: January 16, 2019, 03:57:53 PM by ConligWX »
Regards Simon
Davis Vantage Pro2 Plus (6162UK) • Daytime FARS • WeatherLink Live • AirLink • PurpleAir PA-II-SD • CumulusMX •


Offline lobsterman

  • Senior Contributor
  • ****
  • Posts: 164
    • Cape Small Harbor Weather
Re: Using NANO SD charts on a weather site
« Reply #2 on: January 17, 2019, 11:54:51 AM »
Have a few charts on my website generated by meteobridge nano SD and NOAA templates too what is it you are looking for.

What type of chart are you wanting to display? Do you know how to create them?

https://www.conligwx.org/wxchart2013.php
https://www.conligwx.org/wxchart2014.php
https://www.conligwx.org/wxchart2015.php
https://www.conligwx.org/wxchart2016.php
https://www.conligwx.org/wxchart2017.php
https://www.conligwx.org/wxchart2018.php

https://www.conligwx.org/wxlastchart.php

https://www.conligwx.org/wxnoaareports.php  (dec 2018 onwards)

Very nice site you have there.

I do know how to generate the charts and have that working. I was looking for ideas of how to present them, which your examples provide nicely. Many thanks,

Offline ConligWX

  • Forecaster
  • *****
  • Posts: 836
  • #conligwx
    • conligwx.org
Re: Using NANO SD charts on a weather site
« Reply #3 on: January 18, 2019, 02:55:07 AM »
Thanks.  if you go to this link and click on the video titled: Meteobridge NANO - #04 - Generating and Uploading

Boris (Creator of Meteobridge) will show an example of it. you can practice making charts that way.

the templates are located on the meteobridge nano share. \\<ip-nano>\data\

the charts are created by a template. they are located in \\<ip-nano>\data\templates folder. and charts are the files with *.chart extensions.  they create html files once processed by Meteobridge.

now. my historic graphs (yearly) are only created once since data is old and never changes. so far I only create and upload a 30 day chart.  once January is up I'll create a 2019 chart.

To create a chart log into your nano, go to the Graphs tab at the top. there you will see "Meteobridge Chart Generator". it is failry self explanatory after that.

the time period field has upto 2 years, but if you want to select more than that or older years (if you ahve imported data from existing weather database, you can use the following: - thanks to Boris on this.....

Quote
When you look at the URL that generates the charts, you can easily see how it works.

Example: "chart.cgi?chart=hws-temphum-iso.chart&res=min&lang=en&start=D2&stop=D0"
  • chart=hws-temphum-iso.chart, this specifies which of the chart definitions to use
  • res=min, this specifies which time resolution to take. "min" is only available for the last 2-3 days. alternatives are "hour", "day", "month"
  • start=D2, this tells chart should start at the beginning of the day before today.
  • stop=D0, this tells chart should end at the beginning of tomorrow (equals to end of today).


start/stop parameters can be relative like "Yn" (n years before current year), "Mn" (n months before current month) or Dn (n days before today). But you can also specify the date to start/stop.
Examples:
  • "chart.cgi?chart=hws-temphum-iso.chart&res=month&lang=en&start=2016&stop=2017" will show 2016 in monthly resolution.
  • "chart.cgi?chart=hws-temphum-iso.chart&res=day&lang=en&start=201501&stop=201504" will show first quarter of 2015 in daily resolution.
  • "chart.cgi?chart=hws-temphum-iso.chart&res=hour&lang=en&start=2015011120&stop=2015011223" will show hourly data from Jan 11, 2015 8PM until Jan 12, 2015 11PM.


Remark: As stop date/time is exclusive, the stop date itself will not be part of the chart. End is always one time bucket before the stop date/time. Just in case you are missing the very last time bucket (most users will not even notice).

I hope this helps to fully understand the power of the Meteobridge graphing engine and how I engineered it for flexibility.

any other issues just let us know. I'm sure one of us can help.
Regards Simon
Davis Vantage Pro2 Plus (6162UK) • Daytime FARS • WeatherLink Live • AirLink • PurpleAir PA-II-SD • CumulusMX •