Load cache utility for Saskatchewan Weather Network mesomap - V4.03 - 08-Dec-2023


Current time is         Fri, 26-Jul-2024 21:01:01 CST (on host [/] Note: real IP is 74.208.252.86 ) PHP 8.1.29
Cache last updated Fri, 26-Jul-2024 20:56:02 CST (299 seconds ago).

Mesomap uses Metric units: Temp=(°C), Wind=(kph), Baro=(hPa), Rain=(mm) for output to CSKWN-conditions.txt data.

Cache loading status and statistics

More
Info

Area

Station
Temp
°C
Hum
%
DewPt
°C
Wind
kph
Rain
mm
Baro
hPa
Baro
Trend
Curr
Cond
Load
Type
HTTP
RC
Load
Time
Age
Secs

Last updated
Saskatchewan Regina 20.8 47 9.0 Wind from SSESSE 5 G 3 0.3
1009.3Steady
Steady Metar CYQR: Few Clouds CR 200 0.191 2 Fri, 26-Jul-2024 21:00:59 CST
Details for Saskatchewan Regina (CSKWN-stations-cc.txt record 13):

type='CR' RawDataURL = 'http://65.87.224.32/saratoga/realtime/clientraw.txt' Click here to inspect it in a pop-up window.
curl fetching 'http://65.87.224.32/saratoga/realtime/clientraw.txt'
HTTP stats: RC=200 dest=65.87.224.32 port=80 (from sce=74.208.252.86)
Times: dns=0.000 conn=0.090 pxfer=0.090 get=0.100 total=0.190 secs
request_header:
GET /saratoga/realtime/clientraw.txt HTTP/1.1
User-Agent: Mozilla/5.0 (CSKWN Mesonet Conditions Loader V4.03 - 08-Dec-2023 - saratoga-weather.org)
Host: 65.87.224.32
Accept: */*
Referer: http://65.87.224.32/


headers:
HTTP/1.1 200 OK
Date: Sat, 27 Jul 2024 03:01:01 GMT
Server: Apache/2.4.37 (Win32) OpenSSL/1.1.1 PHP/7.2.12
Last-Modified: Sat, 27 Jul 2024 03:00:59 GMT
ETag: "315-61e31d667c309"
Accept-Ranges: bytes
Content-Length: 789
Content-Type: text/plain

CR time to fetch: 0.191 sec (200 OK)
webserver timesync=0 sec 'Sat, 27 Jul 2024 03:01:01 GMT'
age=2 sec 'Sat, 27 Jul 2024 03:00:59 GMT'
metric='12345 2.5 1.7 159 20.8 47 1009.3 0.3 26.4 238.5 0.00 0.00 25.9 45 100.0 1 20.8 0 0 0.0 20.8 22.8 21.2 11.1 21.2 -100.0 47 41 -100 21 00 59 NWR_Weather_LIVE-9:00:59_PM 0 0 26 7 0.00 0.00 100 100 100 100 100 20.8 21.6 26.3 15.5 1 mostly_clear -0.1 3 3 3 4 3 4 4 3 2 3 3 3 3 3 2 2 2 2 2 1 23.5 9.0 6732.1 7/26/2024 28.0 16.8 26.3 14.3 0.0 3 3 3 4 4 4 4 4 2 2 22.8 22.6 22.6 22.4 22.1 21.8 21.5 21.3 21.0 20.8 0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.3 26.3 15.5 20.8 15.9 0 01:04:14 2019/07/03 199 0 0 -100.0 -100.0 -100 49 -100 -100 -100 0.0 26.1 23.9 21.7 1013.4 1008.7 7 8:08_PM 11:22_AM 32.1 14.4 16.9 7.0 3 2024 -5.7 -1 1 -1 218 224 217 216 194 201 207 200 205 189 0.0 255.0 2.4 14.5 50.50167 104.66056 0.0 81 30 0.3 6:54_AM 0.0 0.0 0.0 0.0 0.0 0.0 254.4 5:37_PM 6:58_AM 199 !!C10.37S147!!'
station using CR units C,kts,hPa,mm by default
convertWind(2.5) kts [2.5 kts] to '5' km/h
convertWind(1.7) kts [1.7 kts] to '3' km/h
CR[48]=1 .. trying METAR CYQR for conditions
METAR='CYQR'
curl fetching 'https://tgftp.nws.noaa.gov/data/observations/metar/stations/CYQR.TXT'
HTTP stats: RC=200 dest=140.90.101.79 port=443 (from sce=74.208.252.86)
Times: dns=0.098 conn=0.138 pxfer=0.500 get=0.039 total=0.539 secs
request_header:
GET /data/observations/metar/stations/CYQR.TXT HTTP/1.1
User-Agent: Mozilla/5.0 (CSKWN Mesonet Conditions Loader V4.03 - 08-Dec-2023 - saratoga-weather.org)
Host: tgftp.nws.noaa.gov
Accept: */*
Referer: https://tgftp.nws.noaa.gov/


headers:
HTTP/1.1 200 OK
Date: Sat, 27 Jul 2024 03:01:02 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Last-Modified: Sat, 27 Jul 2024 02:07:24 GMT
Accept-Ranges: bytes
Content-Length: 102
Vary: Accept-Encoding
Content-Type: text/plain; charset=UTF-8
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload

CYQR time to fetch: 0.539 sec
CYQR='2024/07/27 02:00 CYQR 270200Z 19006KT 15SM FEW100 21/12 A2971 RMK AC1 AC TR SLP066 DENSITY ALT 3300FT'
age=3662 sec '2024-07-27 02:00:00 GMT'
metar 'CYQR' saved in local cache
called process_metar
calling 'get_time' part='270200Z' ptr=3 grp=1
calling 'get_station_type' part='19006KT' ptr=4 grp=2
calling 'get_wind' part='19006KT' ptr=4 grp=3
calling 'get_var_wind' part='15SM' ptr=5 grp=4
calling 'get_visibility' part='15SM' ptr=5 grp=5
calling 'get_runway' part='FEW100' ptr=6 grp=6
calling 'get_conditions' part='FEW100' ptr=6 grp=7
conditions='' on entry
calling 'get_cloud_cover' part='FEW100' ptr=6 grp=8
get cloud cover 'FEW100'
get cloud cover 'FEW100'
calling 'get_cloud_cover' part='21/12' ptr=7 grp=8
get cloud cover '21/12'
get cloud cover '21/12'
calling 'get_temperature' part='21/12' ptr=7 grp=9
calling 'get_altimeter' part='A2971' ptr=8 grp=10
wxInfo
Array
(
[STATION] = CYQR
[WIND] = S at 7 mph (11 km/h)
[VISIBILITY] = 15 miles (24 km)
[CONDITIONS] =
[CLOUDS] = Few Clouds
[CLOUD-DETAILS] = Few Clouds 3048 m
[TEMP] = 70F (21C)
[DEWPT] = 54F (12C)
[HUMIDITY] = 57%
[BAROMETER] = 1006 hPa (29.71 in Hg)
)

condition begin: '','FEW CLOUDS','',''
fixupTime in='6:00a' tfixed='6:00a' out='06:00'
fixupTime in='7:00p' tfixed='7:00p' out='19:00'
fixupTime in='21:01' tfixed='21:01' out='21:01'
condition using: time2='21:01' as night for sunrise2='06:00',sunset2='19:00'
METAR condition icon night_partly_cloudy.gif 'Metar CYQR: Few Clouds' used instead of WD icon=1 'mostly_clear'
Saskatchewan Regina 13 data='20.8,47,SSE,5,0.3,1009.3,Steady,night_partly_cloudy.gif,Metar CYQR: Few Clouds,9.0,3,1722049259,0.191'

Total time to load: 0.191    

 

Cache CSKWN-conditions.txt updated successfully with conditions data.

METARs accessed by CSKWN-stations-cc.txt specifications:

CYQR used 1 times age=3662 secs (2024-07-27 02:00:00 GMT) '2024/07/27 02:00 CYQR 270200Z 19006KT 15SM FEW100 21/12 A2971 RMK AC1 AC TR SLP066 DENSITY ALT 3300FT'

Legend:
ST  loaded from stickertag
CR  loaded from Weather-display clientraw.txt
STCU loaded from Cumulus realtime.txt or Meteobridge MBrealtime.txt, WeatherLink WLrealtime.txt or WeatherCat WCT_realtime.txt
SSG loaded from SteelSeries Gauge realtime file
MTJ loaded from MeteoTemplate WebFeeds/index.php?format=json conditions
WLC loaded from WeatherLink.com embedded page JSON url
WDAPI loaded from pwsdashboard ./jsondata/WDapi.txt
BTN loaded from json/weewx_data.json Belchertown weewx skin data
Note: click on Plus icon icon to see additional details for each station.

Generated by NETWORK-mesomap-loadcache.php - V4.03 - 08-Dec-2023 Memory usage 959456 bytes.
Author: Ken True - webmaster@saratoga-weather.org