Recent Posts

Pages: [1] 2 3 ... 10
I'm planing to add a page to my website which incorporates the freely available UK Met Office Fax Charts posted to the NOAA ftp
I'm running Weewx on a Raspberry Pi (Raspbian)and want to do this in a simple script called by cron every few hours.
So the script just gets the tifs from then converts them to png and uploads the resultant files to the website page.

I'm finding though that the resultant png's are larger than the original tifs and was wondering if someone has a better suggestion on how to convert to png/jpg/gif smaller than original size whilst retaining decent quality? Loooking at other sites doing this gif's seem to be popular but my experiments with gif's (converting with ffmpeg  or imagemagick)are giving much bigger files.

As an example at the moment i'm doing the following :

Code: [Select]
convert PPVA89.TIF -depth 2 -type bilevel -rotate 270 -resize 1076 -quality 100 PNG8:PPVA89.png
This gives me a png of around 110kb compared to the original 66kb which while ok I feel could be much better for a black and white image.
Grateful for any advice!
Forum Bugs/Suggestions / Feels like temps too high
« Last post by steviebaby59 on Today at 12:47:34 PM »
My Feels like temperatures run way too high in the peak afternoon. I've had this problem before, but forgot how I solved it. Is there any way I can have this just read the Heat Index from my meteobridge software? I've tried altering my scrips but have been unsuccessful.  :?
Weather Website PHP/AJAX scripting / Re: Missing point forecasts
« Last post by saratogaWX on Today at 12:47:11 PM »
WeatherUnderground / Re: WU - Let us know your issues
« Last post by Eno on Today at 12:46:31 PM »
That's a good feature to have on the tilt and RadarScope allows the same. Myself and some of the other weather guys at the CBS in Charlottesville use this when we aren't in house.

I've been using wX lately, I think it's android only. Free, open source. 4 tilts, screen recorder, SuperRez Reflectivity and Velocity, Echo Tops, Vertically Integrated Liquid, Differential Reflectivity, Correlation Coefficient, Specific Differential Phase, Hydrometeor Classification, Storm Relative Mean Velocity, Digital Storm Total Accumulation, Digital Accumulation Array, VAD wind profile, all GOES 16 bands imagery, Observations, and it has Soundings. I don't think it does the projected radar though.
Weather Website PHP/AJAX scripting / Re: advforecast2.php
« Last post by n7xrd on Today at 12:37:28 PM »
 :grin:  Great job Ken Thank Sir!!
Weather Website PHP/AJAX scripting / Re: advforecast2.php
« Last post by saratogaWX on Today at 12:32:49 PM »
Ok, got the issue fixed.

The cause was a change in how they populate the "geometry" entry.. sometimes it's a string, sometimes an array.

I've rewritten the code for determining whether to use a point or a zone forecast to look for an "icon" in the spec (if present, it's a point forecast, if absent, it's a zone forecast).

advforecast2.php V5.08 (JSON) is now available at the usual haunts:

Template: with query for Base-USA, Plugin-*, 25-May-2018

Best regards,
Davis Instruments Weather Stations / Re: Vibration and the Vantage Vue
« Last post by jas340 on Today at 12:12:59 PM »
The Vue ISS is in no way accurate if there is wind during a rainstorm even if you have slight vibrations/sway . Depending on the wind speed, I may only record 50% of the actual rainfall.
WeatherUnderground / Re: WU - Let us know your issues
« Last post by chief-david on Today at 12:07:32 PM »
Still have not reactivated my webcam. Emailed. No response.
Weather Website PHP/AJAX scripting / Re: Missing point forecasts
« Last post by RickNY on Today at 11:25:04 AM »
Started seeing that message today on my site as well for OKX.. Prior to updating advforecast2 a few days ago, I really hadn't see any issues with point forecasts for quite some time.. Coincidence?
Makes you wonder what OTHER products are also vulnerable...and probably already "infected"?
Pages: [1] 2 3 ... 10