Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

temperature.btm

Apr
1,825
17
I can't remember who created the BTM but think it would help if whoever did would also post how to navigate the weather.gov site to get the link used in the copy command near the top. I'm interested in using a modified version here
 
Go to the NWS page for your locale. For me that's

"National Weather Service"

If you start at mine, you'll have the opportunity to change the location, right near the top.

1723054540909.webp

After getting to your location's page, follow the link to MoreInformation\3DayHistory and note its URL. For me it's (using http://, not https://)

forecast.weather.gov/data/obhistory/KSYR.html <=== I reckon you want one like this

That's the page temperature.btm downloads. Yours may only differ in the call letters of your station. The BTM uses TPIPE to extract the information from the downloaded file.
 
I doubt it. All the "Raleigh NC" suggestions in the location drop-down take me to KRDU. I think it's typical that a major metropolitan area have only one station. Back on the main Raleigh page if you "Click Map for Forecast", you can move the forecast area around; it appears in the URL with latitude and longitude, like this.

forecast.weather.gov/MapClick.php?lon=-76.11439704895018&lat=43.037419929547724

Arrange it so your residence is pretty much in the center of that area. The forecast may change a little but I doubt the history that you get from KRDU will change.
 
The BTM I posted is an abbreviated version of the one I use. The one I use also has this.

Code:
copy /q ^
"http://forecast.weather.gov/MapClick.php?CityName=Syracuse&state=NY^
&site=BGM&textField1=43.0446&textField2=-76.1459&e=0" ^
%temp\forecast.tmp

echo ^r^nForecast:^r^n

tpipe /input=%temp\forecast.tmp ^
    /grep=3,0,0,1,0,0,0,0,"High: [-]{0,1}\d+|Low: [-]{0,1}\d+" ^
    /simple=16 ^
    /replace=4,1,0,0,0,1,0,0,0,"High: [-]{0,1}\d+|Low: [-]{0,1}\d+",$0\r\n ^
    /perl=4096,1,0,0 ^
    /replace=0,1,0,1,0,0,0,0,0,"Low: ","Low:  "

which produces the likes of this. Hmmm! No 80/90 degree days for a change!.

Code:
Forecast:

Low:  62
High: 79
Low:  69
High: 78
Low:  66
High: 77
Low:  60
High: 76
Low:  60
 
@vefatica - if the one is appreviated - any chance of posting the full one - in it's entirety, please?
 
It's just two independent chunks. Put the recent one at the end (and remove a QUIT if there is one). It should produce something like this.

1723077392014.webp
 
I'm not sure what you mean. Do you mean where to click to place the green rectangle? You can zoom the map (+/-). As you zoom in, more things are labelled. You know better than I where you live. I zoomed in until I saw North Hills and clicked there. Zoom in further and you'll see street names.
1723150308992.webp
 
This is as close as I could get. Maybe I should try harder or maybe the green square restricted to a predetermined grid.

1723222901894.webp


I can also get this one so the predetermined grid theory sounds good.
1723223007732.webp
 
Back
Top