×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Building the induino MeteoStation with 3d printed housing

  • Posts: 2247
  • Thank you received: 223
I'd like to see the variation, not an almost flat line. If you Google rrd pressure atmospheric and look at images, some have managed to do what I'm after.
6 years 6 months ago #19690

Please Log in or Create an account to join the conversation.

  • Posts: 271
  • Thank you received: 72
So.. i googled it.

1 hPa = 1mbar (think dht22 is mbar)

On this screenshot from the meteostation graphs
raw.githubusercontent.com/magnue/induino...-meteoweb_graphs.png

You can see that 1/3 up on the graph is 1k (1000), so I googled a little.

From en.wikipedia.org/wiki/Atmospheric_pressure (scroll down to Records)

The highest adjusted-to-sea level barometric pressure ever recorded on Earth (above 750 meters) was 1085.7 hPa
and
The lowest non-tornadic atmospheric pressure ever measured was 870 hPa

So if the scale of the graph is 0 - 3000, and the actual variation is 870 - 1085.7, then there is not much variation to see!
The line drawn would never use more than ~7.5% of the height of the graph.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 6 months ago #19692

Please Log in or Create an account to join the conversation.

  • Posts: 271
  • Thank you received: 72
Code a update to set the graph Y to 850 - 1100, and good to go? :cheer:
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 6 months ago #19693

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223

which file have you modified? The meteoRRD_graph.py ?
ret = rrdtool.graph( CHARTPATH+"pressure"+str(time)+".png","-A","--start","-"+str(time)+"h","-E",
          preamble,
         "--title","Pressure",
         "--vertical-label=mBars",
         "-u","1100",
         "-l","850",
         "-r",
         "DEF:P=meteo.rrd:P:AVERAGE",
         "HRULE:"+str(P0)+"#"+red+"AA:standard",
         "LINE1:P#"+blue+":P\\r",
         "COMMENT:\\n",
         "GPRINT:P:AVERAGE:Avg P\: %6.2lf %S\\r")


edit:
getting there



edit 2:
changed
"COMMENT:\\n",
         "GPRINT:P:AVERAGE:Avg P\: %6.2lf %S\\r")

to
"COMMENT:\\n",)
to remove the average line.
Last edit: 6 years 6 months ago by Gonzothegreat.
6 years 6 months ago #19694
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 271
  • Thank you received: 72
Looks like you are getting closer.

I have not modified any of it. In meteostationWEB, I have only modified meteoconfig.py, and [stop,start]METEO.sh
Have you tried changing the i=i++1 to i += 1? and if so, then no MinMax fail?
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 6 months ago #19695

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223

I have updated it yes.
Still getting this:
6 years 6 months ago #19696

Please Log in or Create an account to join the conversation.

  • Posts: 271
  • Thank you received: 72
That's a bummer!
It should be changed anyways, as i=++1 is no good, but do not know what it does.

In the pressure graph you removed the average line.
Is this a calculated line, that will change over time, or just a fixed value?

If you look at the graph over a week, could it be usefull to see the average?
If the weather is unstable with many local pressure variations, it could be nice to see if the average is high or low?
Just asking as I don't know a lot about meteorology.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 6 months ago #19697

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
It is a calculated value, not a fixed one.

I do not think the Pressure average is really useful in the current state as it shows: 1.02k
Need to find out how to show for example: 1020 instead of 1.02k
Last edit: 6 years 6 months ago by Gonzothegreat.
6 years 6 months ago #19698

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
OCD alert !!!!!



check out the bottom legend :huh: :ohmy:
6 years 6 months ago #19700
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 271
  • Thank you received: 72
So all my updates was merged into Indi master 6 days ago, so no need to clone my fork of indilib and change between branches anymore.

So here's the first week of weather data :)


Looks like my corrected sky temp is -18 for clear skies, and +7.75 for 100% clouds, so I'll have to update that in my firmware.

As to the pressure graph. Even thoug only 1.0k is marked, the graph shows values from 986 - 1036 (like thae gauge. Would be nice to show that more clearly, but over a week there is visible variations. I might have to calibrate the sensor some, as it went off the chart for a while.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 5 months ago #19921
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 271
  • Thank you received: 72
Jasem, I just added the full howto as html to the subbmit article page.

If anyone like to know a good way of converting markdown to html, then this page is the best bet. dillinger.io/
Select Export as > Styled html, and you are good to go :)

My meteostation dropped out after a full on rain storm a few nights ago. Could be something random, but i'll have to visit the observatory and inspect.
Hopefully a easy fix.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 5 months ago #19974

Please Log in or Create an account to join the conversation.

Hi Magnus, thanks for the submission, but the article is not readable at all! Please try to correct the issue and break it down into several pages. Use <h3> for main headers and <h4> for sub-headers so we can have a proper Table-Of-Contents for easy navigation by users.
6 years 5 months ago #19977

Please Log in or Create an account to join the conversation.

Time to create page: 0.440 seconds