* On 2023 02 Jun 12:36 -0500, MikeQ wrote: > Did you test the URL from the box running WeeWX? I'm wondering if you have > a DNS or some other connectivity problem on that box. You could try > running: > > curl > -s > https://www.aviationweather.gov/adds/metars?station_ids=KBIE+&std_trans=translated&chk_metars=on&hoursStr=most+recent+only&chk_tafs=on&submitmet=Get+Weather > > and see if you get the html response for the page.
I had to quote the URL to keep the shell from interpreting the special characters and once I did that, I did get the HTML page. This is from the computer running Weewx. Here is the output: ----------------------------8<-------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <HTML> <HEAD> <TITLE>ADDS - METARS form results</TITLE> <!-- LINK REL="StyleSheet" type="text/css" HREF="/layout/awc/mystyle.css"--> </HEAD> <BODY BGCOLOR="#FFFFFF"> <TABLE SUMMARY="This table is used for formatting purposes only" BORDER=0 CELLPADDING=3 CELLSPACING=0> <TR VALIGN="top"> <TD ALIGN="left" COLSPAN="2"> <H2>Aviation Digital Data Service (ADDS)</H2> Output produced by METARs form (1746 UTC 02 June 2023)<BR> found at <A HREF="http://www.aviationweather.gov/metar/data/"> http://www.aviationweather.gov/metar/data/</A><BR> <BR> </TD> </TR> <TR VALIGN="top"> <TD ALIGN="left" COLSPAN="2"> <TR VALIGN="top"> <TD ALIGN="right"> <FONT COLOR="#9999CC"><STRONG>METAR text:</STRONG></FONT> </TD> <TD ALIGN="left" BGCOLOR="#CDCDCD"> <STRONG>KMYZ 021735Z AUTO 15003KT 10SM SCT110 27/20 A3000 RMK AO2 LTG DSNT W</STRONG> </TD> </TR> <TR VALIGN="top"> <TD ALIGN="right"> <FONT COLOR="#9999CC"><STRONG>Conditions at:</STRONG></FONT> </TD> <TD ALIGN="left"> KMYZ (MARYSVILLE , KS, US) observed 1735 UTC 02 June 2023 </TD> </TR> <TR VALIGN="top"> <TD ALIGN="right"> <FONT COLOR="#9999CC"><STRONG>Temperature:</STRONG></FONT> </TD> <TD ALIGN="left"> 27.0°C (81°F) </TD> </TR> <TR VALIGN="top"> <TD ALIGN="right"> <FONT COLOR="#9999CC"><STRONG>Dewpoint:</STRONG></FONT> </TD> <TD ALIGN="left"> 20.0°C (68°F) [RH = 66%] </TD> </TR> <TR VALIGN="top"> <TD ALIGN="right"> <FONT COLOR="#9999CC"><STRONG>Pressure (altimeter):</STRONG></FONT> </TD> <TD ALIGN="left"> 30.00 inches Hg (1016.0 mb) </TD> </TR> <TR VALIGN="top"> <TD ALIGN="right"> <FONT COLOR="#9999CC"><STRONG>Winds:</STRONG></FONT> </TD> <TD ALIGN="left"> from the SSE (150 degrees) at 3 MPH (3 knots; 1.5 m/s) </TD> </TR> <TR VALIGN="top"> <TD ALIGN="right"> <FONT COLOR="#9999CC"><STRONG>Visibility:</STRONG></FONT> </TD> <TD ALIGN="left"> 10 or more miles (16+ km) </TD> </TR> <TR VALIGN="top"> <TD ALIGN="right"> <FONT COLOR="#9999CC"><STRONG>Ceiling:</STRONG></FONT> </TD> <TD ALIGN="left"> at least 12,000 feet AGL </TD> </TR> <TR VALIGN="top"> <TD ALIGN="right"> <FONT COLOR="#9999CC"><STRONG>Clouds:</STRONG></FONT> </TD> <TD ALIGN="left"> scattered clouds at 11000 feet AGL </TD> </TR> <TR VALIGN="top"> <TD ALIGN="right"> <FONT COLOR="#9999CC"><STRONG>Weather:</STRONG></FONT> </TD> <TD ALIGN="left"> automated observation with no human augmentation;<BR>there may or may not be significant weather present at this time </TD> </TR> <TR VALIGN="middle"> <TD ALIGN="left" COLSPAN="2"> <HR WIDTH="65%"> </TD> </TR> </TABLE> </BODY> </HTML> ---------------------------->8-------------------------------------- Perhaps the next step is that I need to look at the extension code and try to figure out where it is failing. Sigh... - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: https://www.n0nb.us Projects: https://github.com/N0NB GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819 -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20230602175314.d3y4olbb7rgqptnj%40n0nb.us.
signature.asc
Description: PGP signature