2. https://www.wow.metoffice.gov.uk/ WOW = uk met office
1. sounds as though your station may be losing usb or radio connection (depending on how your station connects to PC) from time to time. a Windows thing??!! - don't you mean a LINUX thing???!!! On Wednesday, 12 September 2018 06:33:57 UTC+3, John Clark wrote: > > *SUCCESS!!!* > > BTW, I am running Linux Mint19 on a Dell Optiplex 790. Now for two > potentially silly questions that don't much matter, but I am curious > > > 1. Occasionally the display of my accurite 5-in-1 says to connect it to a > computer to download the weather data on it.I am assuming this is a hard > coded Windows thing? > > 2. What is the WOW setting in weewx.conf? if I google it all I get is > references to World of Warcraft. Am I crazy, or is it just that? > > On 9/11/2018 7:13 PM, Pat wrote: > > John without knowing your full system setup, let's not do the Python > update right now. The curl command worked for you which is promising. > > I've made some updates to the bin/user/belchertown.py to try and fall > back to curl if the first attempt with urllib2 fails > <https://github.com/poblabs/weewx-belchertown/commit/57f9373e81e1053c3820819c9d8494fcb9f15bb7> > > (which it is for you). This is a beta test to see if it works for you. > > > 1. Download this file attached > 2. Stop weewx > 3. Set debug = 1 in weewx.conf > 4. Rename the bin/user/belchertown.py file to belchertown_0-7.py so > you can revert back if needed > 5. Upload this new file you just downloaded into bin/user. > 6. Restart weewx and see if we get any errors. > > > If it works and is successful, you can stop weewx, set debug = 0 in > weewx.conf and restart weewx again and you should be good to go with the > earthquake data. > > Let me know how it goes... > > > On Tuesday, September 11, 2018 at 5:23:12 PM UTC-4, John Clark wrote: >> >> In response to several requests for info, I got the following >> >> *john@OptiPlex ~ $ python -V* >> *Python 2.7.6* >> >> *john@OptiPlex ~ $ python -c "exec(\"import urllib2\\nprint >> urllib2.__version__\")"* >> *2.7* >> >> *john@OptiPlex ~ $ curl -L >> "http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2" >> >> <http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2>* >> *{"type":"FeatureCollection","metadata":{"generated":1536699478000,"url":"https://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2" >> >> <https://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2>,"title":"USGS >> >> Earthquakes","status":200,"api":"1.5.8","limit":1,"offset":1,"count":1},"features":[{"type":"Feature","properties":{"mag":3.3,"place":"27km >> >> WSW of Perry, >> Oklahoma","time":1536682289070,"updated":1536689583628,"tz":-360,"url":"https://earthquake.usgs.gov/earthquakes/eventpage/us2000hcrq" >> >> <https://earthquake.usgs.gov/earthquakes/eventpage/us2000hcrq>,"detail":"https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=us2000hcrq&format=geojson" >> >> <https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=us2000hcrq&format=geojson>,"felt":2,"cdi":2,"mmi":null,"alert":null,"status":"reviewed","tsunami":0,"sig":168,"net":"us","code":"2000hcrq","ids":",us2000hcrq,","sources":",us,","types":",dyfi,geoserve,origin,phase-data,","nst":null,"dmin":0.28,"rms":0.09,"gap":48,"magType":"mb_lg","type":"earthquake","title":"M >> >> 3.3 - 27km WSW of Perry, >> Oklahoma"},"geometry":{"type":"Point","coordinates":[-97.5769,36.2113,3.79]},"id":"us2000hcrq"}]}john@OptiPlex >> >> ~/Downloads $ * >> >> *john@OptiPlex ~ $ dpkg -s openssl | grep '^Version:'* >> *Version: 1.0.1f-1ubuntu2.26* >> On 9/10/2018 5:55 PM, Pat wrote: >> >> I'm am thinking a sudo apt update python will fix it.... >> Before you do that, what is the output of >> >> python -V >> >> and >> >> dpkg -s openssl | grep '^Version:' >> >> >> So I did the following >> >> *john@OptiPlex ~ $ sudo apt update python* >> *[sudo] password for john: * >> *E: The update command takes no arguments* >> >> *john@OptiPlex ~ $ sudo apt update* >> *Hit http://security.ubuntu.com <http://security.ubuntu.com> >> trusty-security InRelease* >> *Hit http://security.ubuntu.com <http://security.ubuntu.com> >> trusty-security/main amd64 Packages * >> *Hit http://linux.teamviewer.com <http://linux.teamviewer.com> stable >> InRelease * >> *Ign http://archive.ubuntu.com <http://archive.ubuntu.com> trusty >> InRelease * >> *Ign http://archive.canonical.com <http://archive.canonical.com> trusty >> InRelease * >> *Hit http://security.ubuntu.com <http://security.ubuntu.com> >> trusty-security/restricted amd64 Packages * >> *Hit http://linux.teamviewer.com <http://linux.teamviewer.com> preview >> InRelease * >> *Hit http://security.ubuntu.com <http://security.ubuntu.com> >> trusty-security/universe amd64 Packages (with many more, snipped for >> brevity)* >> >> and am still on 2.7.6. Doing a bit of looking around I came upon >> >> >> *Python 2.7.15* >> *Release Date: 2018-05-01* >> >> >> *Python 2.7.15 is a bugfix release in the Python 2.7 series. *so I >> downloaded both >> >> >> >> >> * /home/john/Downloads/Python-2.7.15.tar.xz >> /home/john/Downloads/Python-2.7.15.tgz *just to be sure. So my question >> now is do I do a "sudo apt-get upgrade" or do I upgrade/install one of >> these (I really don't want to break something) or is there another, >> potentially less perilous alternative I should consider? >> >> >> On Monday, September 10, 2018 at 6:51:33 PM UTC-4, John Clark wrote: >>> >>> Must have missed the memo. Yes I am at >>> *john@OptiPlex ~ $ python -c "exec(\"import urllib2\\nprint >>> urllib2.__version__\")"* >>> *2.7* >>> >>> so.... sudo apt-get update python? >>> >>> living about 50 miles from New Madrid, Mo where there were five >>> earthquakes at 8.0 or better in the early 1800's, I do have some small >>> earthquake curiosity. >>> >> >> -- >> *John Clark* >> > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- > *John Clark <javascript:>* > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.