Re: [weewx-user] Re: National Weather Service location IDs

2022-07-09 Thread MIchael Cumbee
I finally found one that works but same as another user pointed out the 
only one I can get the extension to pull a forecast from is the Airport, 
there are actually about 12 point forecasts available but it will not 
download the others. The 6 digit ID that you need is on the forecasts, for 
instance mine is SCZ027 which is the Airport in Columbia SC. The reports 
refer to Columbia as KCAE the CAE is the part that you use for the FOID.  
My initial confusion was I was looking for a table/list of location IDs to 
use and they dont seem to refer to it that way anymore

On Saturday, July 9, 2022 at 4:26:56 PM UTC-4 wfs...@gmail.com wrote:

> Very neat, John/Chauncey!  I think I was aware of your extension at some 
> point, I have your website bookmarked as a really good model.
>  But I don't see your extension listed in the wiki.  
>
> Walt
>
> On Saturday, July 9, 2022 at 2:08:58 PM UTC-5 jo...@johnkline.com wrote:
>
>> The newer api.weather.gov can return a lot of detailed forecast 
>> information for quite specific locations using gridpoints, but that's not 
>> integrated into weewx AFAIK.
>>
>>
>> https://github.com/chaunceygardiner/weewx-nws
>>
>> On Jul 9, 2022, at 11:22 AM, wfs...@gmail.com  wrote:
>>
>> Yes, Mike I think you're right.  The weewx forecasting extension looks 
>> to be scraping those PFM reports for its data, so you can only choose from 
>> those zones where a PFM is generated.
>>
>> The newer api.weather.gov can return a lot of detailed forecast 
>> information for quite specific locations using gridpoints, but that's not 
>> integrated into weewx AFAIK.
>>
>> Walt
>>
>> On Friday, July 8, 2022 at 10:56:16 AM UTC-5 MikeQ wrote:
>>
>>> Does someone here understand how the NWS generates a forecast for a 
>>> specific location?  I used the API link above and it says my forecast zone 
>>> is IDZ033.  When I put this in weewx I get the following error:
>>>
>>> Jul  8 09:30:20 weatherpi weewxd: forecast: NWSThread: NWS: no PFM found 
>>> for IDZ033 in forecast from BOI
>>> Jul  8 09:30:20 weatherpi weewxd: forecast: NWSThread: NWS: terminating 
>>> thread
>>>
>>> If I go to the PFM link above, there are only 5 PFMs for the BOI 
>>> forecast office all located at airports.  If I go to weather.gov, put 
>>> in my zip code, and click on the map, it puts my lat/lon in URL and 
>>> generates a forecast for that location.  The forecast for the closest PFM, 
>>> which is over 90 miles away, is different than the one generated on the 
>>> forecast web page.  I would like the more accurate forecast, but it doesn't 
>>> look like the forecast module in weewx supports anything other than PFMs?
>>>
>>> On Friday, July 8, 2022 at 6:18:51 AM UTC-6 mcu...@gmail.com wrote:
>>>
 I appreciate the helpthank you


 On Wednesday, July 6, 2022 at 10:45:51 PM UTC-4 an oldman wrote:

> if you are looking for the pfm try this address
> https://forecast.weather.gov/product_sites.php?site=NWS=PFM
> it list all the pfms
>
> On Wednesday, July 6, 2022 at 9:11:39 PM UTC-5 vince wrote:
>
>> That is a GREAT find.   Comes up right on the money for me.
>>
>> Forecast office is SEW(foid in weewx.conf)
>> Forecast zone is WAZ558   (lid in weewx.conf)
>>
>> On Wednesday, July 6, 2022 at 6:33:23 PM UTC-7 wfs...@gmail.com 
>> wrote:
>>
>>> if you plug your lat and lon into the weather.gov api, a la
>>> https://api.weather.gov/points/39.7832,-89.6644
>>> you'll get a bunch of info back that might contain what you're 
>>> looking for.  I'm not familiar with the terms LID and FOID
>>> In my case it tells me
>>> my forecast office is ILX
>>> my grid coordinates are 46,54
>>> my forecast zone is ILZ051
>>> my county zone is ILC167
>>> my fire weather zone is ILZ051
>>>
>>> api documentation at 
>>> API Web Service (weather.gov) 
>>> 
>>>
>>> On Wednesday, July 6, 2022 at 3:41:56 PM UTC-5 mcu...@gmail.com 
>>> wrote:
>>>
 I have been relentlessly searching for a list of NWS LIDs for the 
 forecast module and cannot even find a mention of them on their site 
 or 
 Wikican somone push me in the right direction I am trying to get 
 the 
 Foid and lid for Columbia SC.  I beleive the Foid to be CAE but the 6 
 digit 
 ID is the problem. 
 Thank-you

>>> -- 
>>
>> 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.
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/e00b92d8-e852-47f3-b50c-185ecf3aa945n%40googlegroups.com
>>  
>> 

[weewx-user] Re: National Weather Service location IDs

2022-07-08 Thread MIchael Cumbee
I appreciate the helpthank you


On Wednesday, July 6, 2022 at 10:45:51 PM UTC-4 an oldman wrote:

> if you are looking for the pfm try this address
> https://forecast.weather.gov/product_sites.php?site=NWS=PFM
> it list all the pfms
>
> On Wednesday, July 6, 2022 at 9:11:39 PM UTC-5 vince wrote:
>
>> That is a GREAT find.   Comes up right on the money for me.
>>
>> Forecast office is SEW(foid in weewx.conf)
>> Forecast zone is WAZ558   (lid in weewx.conf)
>>
>> On Wednesday, July 6, 2022 at 6:33:23 PM UTC-7 wfs...@gmail.com wrote:
>>
>>> if you plug your lat and lon into the weather.gov api, a la
>>> https://api.weather.gov/points/39.7832,-89.6644
>>> you'll get a bunch of info back that might contain what you're looking 
>>> for.  I'm not familiar with the terms LID and FOID
>>> In my case it tells me
>>> my forecast office is ILX
>>> my grid coordinates are 46,54
>>> my forecast zone is ILZ051
>>> my county zone is ILC167
>>> my fire weather zone is ILZ051
>>>
>>> api documentation at 
>>> API Web Service (weather.gov) 
>>> 
>>>
>>> On Wednesday, July 6, 2022 at 3:41:56 PM UTC-5 mcu...@gmail.com wrote:
>>>
 I have been relentlessly searching for a list of NWS LIDs for the 
 forecast module and cannot even find a mention of them on their site or 
 Wikican somone push me in the right direction I am trying to get the 
 Foid and lid for Columbia SC.  I beleive the Foid to be CAE but the 6 
 digit 
 ID is the problem. 
 Thank-you

>>>

-- 
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/0492a432-9e4a-4f13-a0da-ba0f2ed0d860n%40googlegroups.com.


[weewx-user] National Weather Service location IDs

2022-07-06 Thread MIchael Cumbee
I have been relentlessly searching for a list of NWS LIDs for the forecast 
module and cannot even find a mention of them on their site or Wikican 
somone push me in the right direction I am trying to get the Foid and lid 
for Columbia SC.  I beleive the Foid to be CAE but the 6 digit ID is the 
problem. 
Thank-you

-- 
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/c888275d-e415-4ac6-91a7-a13fa4124138n%40googlegroups.com.


[weewx-user] Re: weewx opensuse rpm files

2019-02-09 Thread MIchael Cumbee
resolved This worked out the box...thankyou

On Wednesday, February 6, 2019 at 7:07:04 PM UTC-5, mwall wrote:
>
> On Wednesday, February 6, 2019 at 5:21:01 PM UTC-5, MIchael Cumbee wrote:
>>
>>  
>> Any suggestions are appreciated!!
>>
>
> please try the attached 3.9.1-2 suse rpm
>
> it should do the following:
> - use systemd instead of rc script
> - put reports in /srv/www/htdocs/weewx instead of /var/www/html/weewx
>
> btw, if a package fails to install/remove, you can try to help it along 
> with the --noscripts option.  for example:
>
> sudo rpm -e --noscripts weewx
>
> in the case you posted, it looks like the install of 3.9.1-1 is barfing 
> when we try to execute '/etc/init.d/weewx start'.  maybe systemd is not 
> very backward-compatible on suse?
>
> m
>

-- 
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.


[weewx-user] weewx opensuse rpm files

2019-02-06 Thread MIchael Cumbee
 I have been using weewx  for several years and needed to move to another 
server. It is a 32 bit box running opensuse tumbleweed, which is a rolling 
release. I first installed 3.8 and the rpm failed at some point due to a 
scriplet error. when I tried to uninstall it says not there when I try to 
install it says it is already there.  The solution I chose was to grab 3.9 
and run an Upgrade. Well it gave the same error and the same problem. All 
of the basic files are there but I have the following issues:

1) opensuse has never used var for the web server directory and even on 3.6 
I had to move the files from there to the server root. SUSE uses 
/srv/www/htdocs/(your servers directory) 
2) On this version(tumbleweed) the rc files will not start but I found the 
systemd stuff on github  (thankyou)
3) I am not sure what was left undone other than the server root directory 
did not install in /var

Weewx is not running yet but I am going to try to manually repair whatever 
is stopping it as right now I dont know what else to do.

These are the messages that I got during the process


saving previous config as /etc/weewx/weewx.conf-3.8.2
merging configs into /etc/weewx/weewx.conf
Using configuration file /etc/weewx/weewx.conf-3.8.2
Saved configuration to /etc/weewx/weewx.conf
redirecting to systemctl stop weewx.service
Failed to stop weewx.service: Unit weewx.service not loaded.
redirecting to systemctl start weewx.service
Failed to start weewx.service: Unit weewx.service not found.
warning: %post(weewx-3.9.0-1.suse.noarch) scriptlet failed, exit status 5

 rpm -e  weewx-3.9.0-1.suse.noarch.rpm
error: package weewx-3.9.0-1.suse.noarch.rpm is not installed

More info: The machine is an old dell with 4gb ram. It is running opensuse 
tumbleweed  32 bit in headless mode.


Any suggestions are appreciated!!

-- 
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.