National Weather Service United States Department of Commerce

This Independence Holiday will be Hot with Storms to Monitor

Record breaking heat wave will continue to affect much of the western United States through this holiday weekend. The heat also lingers for the lower Mississippi Valley and Southern Plains, then shifts over the mid-Atlantic and Southeast. Severe weather and flooding concerns through today for the Midwest, Ohio Valley, and Southern Plains. We continue to closely watch the track of Hurricane Beryl. Read More >

Zoom   Maximize   Zoom

 

 


"; ifrm.document.write(ihtml); ifrm.document.close(); } } function ZoomFzl(HR) { if (document.getElementById('AVcontentZoom') && document.getElementById('AVCZ')) { document.getElementById('AVcontentZoom').style.display=''; MakeFzl(HR,'AVCZ',1.0); } } function MakeFzl(HR,ID,SZ,again) { if (nullundef(document.getElementById(ID)) && nullundef(again)) {setTimeout(function(){MakeFzl(HR,ID,SZ,1);},1000);} if (nullundef(SZ) || SZ=='') {SZ=1;} var IE=document.getElementById(ID); if (HR.match(/4panel/i) && !MAXIMIZED) { IE.innerHTML="

"; MakeFzl('1','h1',0.675); MakeFzl('4','h4',0.675); MakeFzl('7','h7',0.675); MakeFzl('10','h10',0.675); return; } else if (HR.match(/4panel/i)) { IE.innerHTML="
"; MakeFzl('1','h1',0.75); MakeFzl('4','h4',0.75); MakeFzl('7','h7',0.75); MakeFzl('10','h10',0.75); return; } var HT=SZ*612; var WH=SZ*640; IE.style.minHeight=HT+'px'; IE.style.minWidth=WH+'px'; IE.innerHTML=""; var ifrm = document.getElementById('myIframe'+HR); ifrm = ifrm.contentWindow || ifrm.contentDocument.document || ifrm.contentDocument; ifrm.document.open(); var ihtml ="\n"; ihtml+="
 
"; ihtml+="\n"; ihtml+="FzlMap('"+HR+"','MAP',"+SZ+");\n"; ihtml+="
OSZAR »
"; //CL(HR+'/'+ID+'/'+SZ+'/'+again+"\r\n"+ihtml); ifrm.document.write(ihtml); ifrm.document.close(); } function makeOLiframe(URL,again) { if (again==2) {document.getElementById('rightside').innerHTML="
";} if (nullundef(document.getElementById('myIframe'))) { if (again) {setTimeout(function(){makeOLiframe(URL,0);},1000);} } else { if (URL.match(/fixed/i)) { var URLchange=URL.replace(/fixed/i,''); document.getElementById('Iid').innerHTML+=""; } else { try {document.getElementById('LockIcon').style.display='none';} catch (E) {} } try { if (!URL.match(/[\&\?]size=/i) && (SAD||document.URL.match(/SAD/i))) {URL+='&size=2&';} } catch (EE) {} var ifrm = document.getElementById('myIframe'); ifrm = ifrm.contentWindow || ifrm.contentDocument.document || ifrm.contentDocument; ifrm.document.open(); var ihtml ="\n"; // ihtml+="\n"; if (!URL.match(/lat|lon|zm/i)) { ihtml+="var BASEURLSETTINGS='"+MAPBASE+"&area="+SEAPDX+"&full&"+URL+"';\n"; } else { ihtml+="var BASEURLSETTINGS='"+MAPBASE+"&full&"+URL+"';\n"; } ihtml+="
 
"; ihtml+="\n"; ihtml+="
OSZAR »
"; ifrm.document.write(ihtml); ifrm.document.close(); } } function makeSRiframe(URL,again) { var SRtbl=''; SRtbl+="\r\n"; SRtbl+=" \r\n"; SRtbl+=" \r\n"; SRtbl+=" \r\n"; SRtbl+=" \r\n"; SRtbl+="
Radar LegendLightning LegendFlight Category:
\r\n"; SRtbl+=" VFR  MVFR
\r\n"; SRtbl+=" IFR  LIFR\r\n"; SRtbl+="
Weather Shading:
\r\n"; SRtbl+=" Convective  \r\n"; SRtbl+=" Freezing
\r\n"; SRtbl+=" Winter  \r\n"; SRtbl+=" Smoke/Ash
\r\n"; SRtbl+=" Liquid  \r\n"; SRtbl+=" Fog/Haze\r\n"; SRtbl+="
\r\n"; if (again==2) {document.getElementById('rightside').innerHTML="
";} if (nullundef(document.getElementById('myIframe'))) { if (again) {setTimeout(function(){makeOLiframe(URL,0);},1000);} } else { var ifrm = document.getElementById('myIframe'); ifrm = ifrm.contentWindow || ifrm.contentDocument.document || ifrm.contentDocument; ifrm.document.open(); var ihtml ="\n"; ihtml+="var BASEURLSETTINGS='"+"&"+URL+"';\n"; ihtml+="
"; ihtml+="\n"; /// formerly SatRadv6.js /// // ihtml+="\n"; ihtml+=SRtbl; ihtml+="
OSZAR »
"; ifrm.document.write(ihtml); ifrm.document.close(); } } function MakeTAF4p(DEST,LOC) { setTimeout(function(){MakeTAF4pOLv3(DEST,LOC);},1500); var IH="
"; try {document.getElementById(DEST).innerHTML=IH;} catch(E) {} return (IH); } function MakeTAF4pOLv3(DEST,LOC) { var ifrm,ihtml; if (LOC.match(/s46$|sea$|sew$|p80$|pdx$|pqr$|otx$|geg$/i)) {LOC+='7';} for (var H=2; H<=8; H+=2) { ifrm = document.getElementById('tf'+H); ifrm = ifrm.contentWindow || ifrm.contentDocument.document || ifrm.contentDocument; ihtml ="\n"; if (LOC.match(/s46|sea|sew|p80|pdx|pqr|otx|geg/i)) { ihtml+="var BASEURLSETTINGS='/zse/OLv3?&area="+LOC+"&full&fixed¶m=tffcwd,artcc&tfhr="+H+"';\n"; } else { ihtml+="var BASEURLSETTINGS='/zse/OLv3?&area="+LOC+"&full&fixed¶m=tffcwd,artcc&tfhr="+H+"&nolabel';\n"; } ihtml+="
 
"; ihtml+="\n"; ihtml+="
OSZAR »
"; ifrm.document.write(ihtml); ifrm.document.close(); } } function makeMIV() { document.getElementById('rightside').innerHTML=""; } function makeVWPiframe(URL,again) { /// includes Sounding /// if (nullundef(document.getElementById('myIframeVWP'))) { if (again) {setTimeout(function(){makeVWPiframe(URL,0);},1000);} } else { if (URL.match(/\&zse/i)) { if (document.getElementById('VWPbarbrh').innerHTML.match(/wind|barb/i)) {URL=URL.replace(/output=rh/i,'output=barb');} else if (document.getElementById('VWPbarbrh').innerHTML.match(/rh/i)) {URL=URL.replace(/output=barb/i,'output=rh');} else if (document.getElementById('VWPbarbrh').innerHTML.match(/sounding/i)) {URL+='&sounding&';} } var ifrm = document.getElementById('myIframeVWP'); ifrm = ifrm.contentWindow || ifrm.contentDocument.document || ifrm.contentDocument; ifrm.document.open(); var ihtml ="\n"; ihtml+="var BASEURL='&"+URL+"';\n"; if (URL.match(/sounding/i)) { ihtml+="
\n"; ihtml+="\n"; ihtml+="\n"; ihtml+="\n"; ihtml+="\n"; ihtml+="\n"; ihtml+="\n"; } else { ihtml+="\n"; } ihtml+="
OSZAR »
"; ifrm.document.write(ihtml); ifrm.document.close(); } } function LAMPcvnltg(DIV) { var TXT=''; TXT+="\r\n"; TXT+="\r\n"; TXT+="
 
\r\n"; TXT+="\r\n"; TXT+="\r\n"; TXT+="function ChangeLAMP(H) {\r\n"; //// https://www.nws.noaa.gov/mdl/gfslamp/cnvltg_images/CNVLTG_13z_15.png TXT+=" var SRC='https://www.nws.noaa.gov/mdl/gfslamp/cnvltg_images/CNVLTG_'+MR+'z_'+H+'.png';\r\n"; TXT+=" try {console.log(SRC);} catch (ERR) {}\r\n"; TXT+=" document.getElementById('LAMPimg').src=SRC;\r\n"; TXT+="}\r\n"; TXT+="var D=new Date((new Date()).getTime()-1000*60*90);\r\n"; /// 90 minutes ago TXT+="var MR=('0'+D.getUTCHours()).slice(-2);\r\n"; TXT+="var ZH;\r\n"; TXT+="for (var H=1; H<=24; H++) {\r\n"; // TXT+=" ZH=(H+parseInt(MR))%24;\r\n"; TXT+=" ZH=('0'+( (H+parseInt(MR))%24) ).slice(-2);\r\n"; TXT+=" document.getElementById('LAMPbuttons').innerHTML+=' '+ZH+'z ';\r\n"; TXT+="}\r\n"; TXT+="\r\n"; TXT+="
\r\n"; document.getElementById(DIV).innerHTML=""; var ifrm = document.getElementById('LAMPifrm'); ifrm = ifrm.contentWindow || ifrm.contentDocument.document || ifrm.contentDocument; ifrm.document.open(); ifrm.document.write(TXT); ifrm.document.close(); } function SLday(D) { if (SEAPDX.match(/s46|sea/i)) {document.getElementById('AVcontent').innerHTML="
 
";} if (nullundef(document.getElementById('rightside')) && !nullundef(document.getElementById('AVcontent'))) {document.getElementById('AVcontent').innerHTML="
 
";} D=parseInt(D); if (D<1 || D>2) {D=1;} //CL(SEAPDX+' '+D+' '+nullundef(document.getElementById('rightside'))+' '+nullundef(document.getElementById('AVcontent'))); display4p('4panel','https://www.weather.gov/images/sew/graphidss/SnowLevel_SFC'+(D*4-2)+'.jpg','https://www.weather.gov/images/sew/graphidss/SnowLevel_SFC'+(D*4-1)+'.jpg','https://www.weather.gov/images/sew/graphidss/SnowLevel_SFC'+(D*4)+'.jpg','https://www.weather.gov/images/sew/graphidss/SnowLevel_SFC'+(D*4+1)+'.jpg'); document.getElementById('rightside').innerHTML="
          

"+document.getElementById('rightside').innerHTML; //CL(document.getElementById('rightside').innerHTML); } function makeSLiframe(URL,again,LOC) { if (!nullundef(document.getElementById('rightside')) && nullundef(document.getElementById('myIframeSL'))) { try {document.getElementById('rightside').innerHTML="";} catch (ERR) {} } if (nullundef(document.getElementById('myIframeSL'))) { if (again) {setTimeout(function(){makeSLiframe(URL,0);},1500);} } else { if (URL.match(/s46contour/i)) { SLday(1); return; } var ifrm = document.getElementById('myIframeSL'); ifrm = ifrm.contentWindow || ifrm.contentDocument.document || ifrm.contentDocument; ifrm.document.open(); var ihtml ="\n"; ihtml+=" "; ifrm.document.write(ihtml); ifrm.document.close(); } } function GetRadarOutages(I) { if (nullundef(I)) {I='RadarOutages';} var xmlhttp2 = new XMLHttpRequest(); xmlhttp2.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { try{document.getElementById(I).innerHTML='NEXRAD Outage '+this.responseText.replace(/\r\n|\n/g,' ');}catch(E){} } }; xmlhttp2.open("GET", "/source/zse/RadarOutage.txt?"+rndtm(), true); //// "https://www.weather.gov"+ xmlhttp2.send(); } function makeSATiframe(URL,again) { if (SEAPDX.match(/zse/i)) {document.getElementById('rightside').innerHTML="";} if (nullundef(document.getElementById('myIframeSAT'))) { if (again) {setTimeout(function(){makeSATiframe('&'+SatRads[Sub],0);},1000);} } else if (URL.match(/fog/i)) { URL=URL.replace(/^[&?]/,''); var ifrm = document.getElementById('myIframeSAT'); ifrm = ifrm.contentWindow || ifrm.contentDocument.document || ifrm.contentDocument; ifrm.document.open(); var ihtml=""; ihtml+="\n"; ihtml+=" \n"; ihtml+=" Fog\n"; ihtml+="
OSZAR »
\n"; ihtml+="\n"; ifrm.document.write(ihtml); ifrm.document.close(); } else if (URL.match(/ramsdis/i)) { URL=URL.replace(/^[&?]/,''); var ifrm = document.getElementById('myIframeSAT'); ifrm = ifrm.contentWindow || ifrm.contentDocument.document || ifrm.contentDocument; ifrm.document.open(); var ihtml=""; ihtml+="\n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+="
 
\n"; ihtml+="
\n"; ihtml+="\n"; ifrm.document.write(ihtml); ifrm.document.close(); } else { var ifrm = document.getElementById('myIframeSAT'); ifrm = ifrm.contentWindow || ifrm.contentDocument.document || ifrm.contentDocument; ifrm.document.open(); var ihtml=""; ihtml+="\n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+="\n"; ihtml+=" var BASEURL='"+URL+"';\n"; ihtml+=" var images=[];\n"; ihtml+=" var cI=1;\n"; ihtml+=" var interval;\n"; ihtml+=" var speedinterval=500;\n"; ihtml+=" function gup (name) {\n"; ihtml+=" var regexS = '[\\?&]'+name+'=([^&#]*)';\n"; ihtml+=" var regex = new RegExp( regexS );\n"; ihtml+=" var results = regex.exec( BASEURL );\n"; ihtml+=" if( results == null ) {\n"; ihtml+=" return '';\n"; ihtml+=" } else {\n"; // ihtml+=" var returnval=(results[1]).replace(/\<|\>|\[|\]|\{|\}|\#|\/|\$|\!|%3c|\%3e|\%40|\%23|\%24|\%5b|\%5d|\%7b|\%7d|\%3b|\%20|meta|charset|utf-/g,'');\n"; ihtml+=" var returnval=results[1];\n"; ihtml+=" return returnval;\n"; ihtml+=" }\n"; ihtml+=" }\n"; ihtml+=" function nullundef (vrb) {\n"; ihtml+=" if ( !(typeof vrb === undefined) && (typeof vrb !== undefined) && (typeof vrb != undefined) && (typeof vrb !== 'undefined') && (typeof vrb != 'undefined')\n"; ihtml+=" && (vrb!='undefined') && (vrb!==null) && (vrb!=null) && (vrb!=='null') && (vrb!='null') && (vrb!='') && (vrb!='NaN') && (vrb!=NaN) && (vrb!=='NaN') ) { return (false); }\n"; ihtml+=" else { return (true); }\n"; ihtml+=" }\n"; ihtml+=" function CL(str) {\n"; ihtml+=" try {if (!nullundef(console) && !nullundef(console.log)) {console.log(str);}} catch (err) {}\n"; ihtml+=" }\n"; ihtml+=" function rndtm() {\n"; ihtml+=" dt=new Date();\n"; ihtml+=" return ( ('0'+dt.getUTCHours()).slice(-2)+('0'+dt.getUTCMinutes()).slice(-2) );\n"; ihtml+=" }\n"; ihtml+=" function dtm(I) {\n"; ihtml+=" var dt=new Date((new Date())-I*30*60*1000);\n"; ihtml+=" if (dt.getUTCMinutes()>=30) {dt.setUTCMinutes(30);} else {dt.setUTCMinutes(0);}\n"; ihtml+=" dt.setUTCSeconds(0);\n"; // ihtml+=" var ts = new Date().setUTCFullYear(new Date().getUTCFullYear(), 0, 1);\n"; // ihtml+=" var yFD = Math.floor(ts / 86400000);\n"; // ihtml+=" var today = Math.ceil((new Date().getTime()) / 86400000);\n"; // ihtml+=" var dOY = today - yFD;\n"; ihtml+=" var now = dt;\n"; // formerly now=new Date(); ihtml+=" var start = new Date(now.getUTCFullYear(), 0, 0);\n"; ihtml+=" var diff = now - start;\n"; ihtml+=" var oneDay = 1000 * 60 * 60 * 24;\n"; ihtml+=" var day = Math.floor(diff / oneDay);\n"; ihtml+=" var dOY = day;\n"; ihtml+=" var retval=dt.getUTCFullYear()+''+('00'+dOY).slice(-3)+'_'+('00'+dt.getUTCHours()).slice(-2)+('00'+dt.getUTCMinutes()).slice(-2);\n"; ihtml+=" return (retval);\n"; ihtml+=" }\n"; ihtml+=" function init() {\n"; ihtml+=" var TBL=document.getElementById('tableID');\n"; ihtml+=" if (BASEURL.match(/big|large/i)) {\n"; ihtml+=" TBL.minWidth='855px';\n"; ihtml+=" TBL.minHeight='645px';\n"; ihtml+=" } else if (BASEURL.match(/little|small/i)) {\n"; ihtml+=" TBL.minWidth='425px';\n"; ihtml+=" TBL.minHeight='322px';\n"; ihtml+=" } else {\n"; ihtml+=" TBL.inWidth='570px';\n"; ihtml+=" TBL.minHeight='430px';\n"; ihtml+=" }\n"; ihtml+=" var STYPE=gup('type').toUpperCase();\n"; ihtml+=" var SITE=gup('site').toUpperCase();\n"; ihtml+=" var SIZE=gup('size');\n"; ihtml+=" var NM='';\n"; ihtml+=" if (STYPE.match(/vis/i)) {STYPE='vis';}\n"; ihtml+=" else if (STYPE.match(/ir2f|fog|fire/i)) {STYPE='ir2f';}\n"; ihtml+=" else if (STYPE.match(/ir/i)) {STYPE='ft';}\n"; ihtml+=" else if (STYPE.match(/wv/i)) {STYPE='wv';}\n"; ihtml+=" else {STYPE='ft';}\n"; ihtml+=" if (SITE.match(/sew|sea/i)) {NM='west/wfo/sew';} \n"; ihtml+=" else if (SITE.match(/otx|geg/i)) {NM='west/wfo/otx';} \n"; ihtml+=" else if (SITE.match(/pdt/i)) {NM='west/wfo/pdt';} \n"; ihtml+=" else if (SITE.match(/pqr|pdx/i)) {NM='west/wfo/pqr';}\n"; ihtml+=" else if (SITE.match(/mfr/i)) {NM='west/wfo/mfr';}\n"; ihtml+=" else if (SITE.match(/eka/i)) {NM='west/wfo/eka';}\n"; ihtml+=" else if (SITE.match(/pdt/i)) {NM='west/wfo/pdt';}\n"; ihtml+=" else if (SITE.match(/boi/i)) {NM='west/wfo/boi';}\n"; ihtml+=" else if (SITE.match(/mso/i)) {NM='west/wfo/mso';}\n"; ihtml+=" else if (SITE.match(/rev|rno/i)) {NM='west/wfo/rev';}\n"; ihtml+=" else if (SITE.match(/west/i)) {NM='west/weus';}\n"; ihtml+=" else if (SITE.match(/pacific/i)) {NM='west/nepac';}\n"; ihtml+=" else {NM='west/nw';}\n"; ihtml+=" for (var I=0;I<10;I++) {\n"; ihtml+=" J=10-I;\n"; ihtml+=" images[J]=new Image();\n"; ihtml+=" try {images[J].src='http://www.ssd.noaa.gov/goes/'+NM+'/img/'+dtm(I)+STYPE+'.jpg';} catch (ERR) {CL(ERR+' '+images[J].src);}\n"; ihtml+=" images[J].onerror=function(){CL('error! ');images[J].src='http://www.ssd.noaa.gov/goes/'+NM+'/img/'+dtm(I+1)+STYPE+'.jpg';}\n"; ihtml+=" }\n"; ihtml+=" try {images[10]=new Image();images[10].src=images[9].src;} catch (ERR) {CL(ERR);}\n"; ihtml+=" document.getElementById('satimg').onload=resize;\n"; ihtml+=" document.getElementById('satimg').src=images[1].src;\n"; ihtml+=" setTimeout('loop();',1000);\n"; ihtml+=" }\n"; ihtml+=" function getSingle() {\n"; ihtml+=" clearInterval(interval);\n"; ihtml+=" document.getElementById('satimg').src=images[10].src;\n"; ihtml+=" return;\n"; ihtml+=" }\n"; ihtml+=" function resize() {\n"; ihtml+=" var SI=document.getElementById('satimg');\n"; ihtml+=" if (SI.naturalWidth<100 && SI.naturalHeight<100) {\n"; ihtml+=" setTimeout('resize();',1000);\n"; ihtml+=" return;\n"; ihtml+=" } \n"; ihtml+=" if (BASEURL.match(/big|large/i)) {\n"; ihtml+=" SI.width=SI.naturalWidth*1.5;\n"; ihtml+=" SI.height=SI.naturalHeight*1.5;\n"; ihtml+=" SI.useMap='speedlarge';\n"; ihtml+=" } else if (BASEURL.match(/smaller|littler/i)) {\n"; ihtml+=" SI.width=SI.naturalWidth*0.9;\n"; ihtml+=" SI.height=SI.naturalHeight*0.9;\n"; ihtml+=" SI.useMap='speedsmall';\n"; ihtml+=" } else if (BASEURL.match(/little|small/i)) {\n"; ihtml+=" SI.width=SI.naturalWidth*0.75;\n"; ihtml+=" SI.height=SI.naturalHeight*0.75;\n"; ihtml+=" SI.useMap='speedsmall';\n"; ihtml+=" }\n"; ihtml+=" }\n"; ihtml+=" function loop(X) {\n"; ihtml+=" /"+"/CL('initiating loop');\n"; ihtml+=" clearInterval(interval);\n"; ihtml+=" if (X>0) {\n"; ihtml+=" speedinterval=speedinterval*0.85;\n"; ihtml+=" } else if (X<0) {\n"; ihtml+=" speedinterval=speedinterval*1.175;\n"; ihtml+=" }\n"; ihtml+=" if (speedinterval<100) {speedinterval=100;}\n"; ihtml+=" else if (speedinterval>2000) {speedinterval=2000;}\n"; ihtml+=" interval=setInterval('changeimage();',speedinterval);\n"; ihtml+=" /"+"/CL('speedinterval='+speedinterval);\n"; ihtml+=" }\n"; ihtml+=" function changeimage() {\n"; ihtml+=" var IM=document.getElementById('satimg');\n"; ihtml+=" var NEWIMG=new Image();\n"; ihtml+=" cI++;\n"; ihtml+=" if (cI>10) {cI=0;}\n"; ihtml+=" NEWIMG.onload=function(){IM.src=NEWIMG.src;}\n"; ihtml+=" try {NEWIMG.src=images[cI].src;} catch (ERR) {CL(ERR);}\n"; ihtml+=" /"+"/CL('New Image #'+cI+' '+IM.src+' ');\n"; ihtml+=" }\n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+="
Click left side to loop slowerLatest
Image
Click right side to loop faster
\n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+=" \n"; ihtml+="
OSZAR »
\n"; ihtml+="\n"; ifrm.document.write(ihtml); ifrm.document.close(); } } function AQ(U) { if (nullundef(U)) {U='smokec';} var SL=new Array(); for (var H=1; H<=31; H++) {SL.push('https://airquality.weather.gov/images/pacnorthwest/'+U+H+'_pacnorthwest.png');} SimpleLoop(SL,'rightside'); } function updateDATIM() { var DT=new Date(); var OUT=('00'+DT.getUTCDate()).slice(-2)+' / '+('00'+DT.getUTCHours()).slice(-2)+':'+('00'+DT.getUTCMinutes()).slice(-2)+':'+('00'+DT.getUTCSeconds()).slice(-2)+'z    '; var LH=parseInt(DT.getHours()); var AMPM='am'; if (LH==0) {LH=12;} else if (LH>12) {LH-=12; AMPM='pm';} else if (LH==12) {AMPM='pm';} OUT+=('00'+DT.getDate()).slice(-2)+' / '+LH+':'+('00'+DT.getMinutes()).slice(-2)+':'+('00'+DT.getSeconds()).slice(-2)+AMPM+' Local'; document.getElementById('DATIM').innerHTML=OUT; } window.MWdataTBHeadline = function(DATA) { var MTID='K'+SEAPDX.toUpperCase().replace(/OTX/i,'GEG'); //CL(DATA.features); document.getElementById('HDR').innerHTML="      "+(DATA.features[0].properties.metar).replace(/\s+/g,' ').replace(/\s*METAR\s*|\s*SPECI\s*/i,'')+"   "; return; for (var J in DATA.features) { try { DP=null; DP=DATA.features[J].properties; if (!nullundef(MTID) && DP.stid.match(MTID,'i')) { var mwMETARS=''; for (var M in DP.metar) { if (!nullundef(DP.metar) && !nullundef(DP.metar[M])) {document.getElementById('HDR').innerHTML="      "+(DP.metar[M]).replace(/\s+/g,' ').replace(/\s*METAR\s*|\s*SPECI\s*/i,'')+"   ";return;} } } } catch (EE) {} } } // function(MWdataTBHeadline) function UpdateHeader(ALT) { if (SEAPDX.match(/zse/i)) {return;} var SITEID='KSEA'; if (SEAPDX.match(/p80|pdx|portland/i)) {SITEID='KPDX';} else if (SEAPDX.match(/geg|otx|spokane/i)) {SITEID='KGEG';} else if (SEAPDX.match(/mso|msx|missoula/i)) {SITEID='KMSO';} var mwURLh='https://api.mesowest.net/v2/stations/nearesttime?stid='+SITEID+'&within=70&token=d8c6aee36a994f90857925cea26934be&output=geojson&callback=MWdataTBHeadline&'+rndtm(); var JSONmwH = document.createElement('script'); JSONmwH.setAttribute('src', mwURLh); document.head.appendChild(JSONmwH); return; ////////////////////////////////////////////////////// if (SEAPDX.match(/mso/i)) { // var mwURLh='https://api.mesowest.net/v2/stations/timeseries?bbox=-120,39.5,-113,49.5&network=1&recent=1000&token=d8c6aee36a994f90857925cea26934be&output=geojson&callback=MWdataTBHeadline&'+rndtm(); var mwURLh='https://api.mesowest.net/v2/stations/nearesttime?stid=K'+SEAPDX.toUpperCase()+'&within=70&token=d8c6aee36a994f90857925cea26934be&output=geojson&callback=MWdataTBHeadline&'+rndtm(); var JSONmwH = document.createElement('script'); JSONmwH.setAttribute('src', mwURLh); document.head.appendChild(JSONmwH); return; } var FN='/source/zse/'+SEAPDX.toUpperCase()+'_Header.txt?'+rndtm(); if (!nullundef(ALT)) {FN=ALT;} document.getElementById('HDR').innerHTML="      ....   "; var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { var DT,CURRENT,HRS,AllText,UTChour; if (this.readyState == 4 && this.status == 200) { DT=new Date(this.getResponseHeader('Last-Modified')); AllText=this.responseText; CURRENT=new Date(); HRS=(CURRENT.getTime()-DT.getTime())/1000/60/60; var UTChour=CURRENT.getUTCHours(); //CL('HRS='+HRS+' UTChour='+UTChour+' CURRENT='+CURRENT+' DT='+DT); if ((UTChour>=5 && UTChour<=12 && HRS>1.25) || (HRS>3.5)) { // var mwURLh='https://api.mesowest.net/v2/stations/timeseries?bbox=-126,39.5,-114,49.5&network=1&recent=65&token=d8c6aee36a994f90857925cea26934be&output=geojson&callback=MWdataTBHeadline&'+rndtm(); var mwURLh='https://api.mesowest.net/v2/stations/nearesttime?stid=K'+SEAPDX.toUpperCase()+'&within=70&token=d8c6aee36a994f90857925cea26934be&output=geojson&callback=MWdataTBHeadline&'+rndtm(); var JSONmwH = document.createElement('script'); JSONmwH.setAttribute('src', mwURLh); document.head.appendChild(JSONmwH); } else if (AllText.length>5) { document.getElementById('HDR').innerHTML="      "+AllText.replace(/\"|\'/g,'').replace(/\s+/g,' ')+"   "; } } else if (this.readyState == 404 || this.status == 404) { /// Missing File var mwURLh='https://api.mesowest.net/v2/stations/nearesttime?stid=K'+SEAPDX.toUpperCase()+'&within=70&token=d8c6aee36a994f90857925cea26934be&output=geojson&callback=MWdataTBHeadline&'+rndtm(); var JSONmwH = document.createElement('script'); JSONmwH.setAttribute('src', mwURLh); document.head.appendChild(JSONmwH); } }; xmlhttp.open("GET", FN+"?"+rndtm(), true); xmlhttp.send(); } function toggleSREF(I) { if (I==2) { // 21/24/27/30 URL0=document.getElementById('DA0').innerHTML.replace(/f003|f012/,'f021'); URL0=URL0.replace(/\(3|\(12/,'(21'); URL1=document.getElementById('DA1').innerHTML.replace(/f006|f015/,'f024'); URL1=URL1.replace(/\(6|\(15/,'(24'); URL2=document.getElementById('DA2').innerHTML.replace(/f009|f018/,'f027'); URL2=URL2.replace(/\(9|\(18/,'(27'); URL3=document.getElementById('DA3').innerHTML.replace(/f012|f021/,'f030'); URL3=URL3.replace(/\(12|\(21/,'(30'); document.getElementById('DA0').innerHTML=URL0; document.getElementById('DA1').innerHTML=URL1; document.getElementById('DA2').innerHTML=URL2; document.getElementById('DA3').innerHTML=URL3; } else if (I==1) { // 12/15/18/21 URL0=document.getElementById('DA0').innerHTML.replace(/f003|f021/,'f012'); URL0=URL0.replace(/\(3|\(12/,'(12'); URL1=document.getElementById('DA1').innerHTML.replace(/f006|f024/,'f015'); URL1=URL1.replace(/\(6|\(12/,'(15'); URL2=document.getElementById('DA2').innerHTML.replace(/f009|f027/,'f018'); URL2=URL2.replace(/\(9|\(12/,'(18'); URL3=document.getElementById('DA3').innerHTML.replace(/f012|f030/,'f021'); URL3=URL3.replace(/\(12|\(12/,'(21'); document.getElementById('DA0').innerHTML=URL0; document.getElementById('DA1').innerHTML=URL1; document.getElementById('DA2').innerHTML=URL2; document.getElementById('DA3').innerHTML=URL3; } else { // 3/6/9/12 URL0=document.getElementById('DA0').innerHTML.replace(/f012|f021/,'f003'); URL0=URL0.replace(/\(12|\(21/,'(3'); URL1=document.getElementById('DA1').innerHTML.replace(/f015|f024/,'f006'); URL1=URL1.replace(/\(15|\(24/,'(6'); URL2=document.getElementById('DA2').innerHTML.replace(/f018|f027/,'f009'); URL2=URL2.replace(/\(18|\(27/,'(9'); URL3=document.getElementById('DA3').innerHTML.replace(/f021|f030/,'f012'); URL3=URL3.replace(/\(21|\(30/,'(12'); document.getElementById('DA0').innerHTML=URL0; document.getElementById('DA1').innerHTML=URL1; document.getElementById('DA2').innerHTML=URL2; document.getElementById('DA3').innerHTML=URL3; } } function toggleSfcWx(I) { if (I>0) { document.getElementById('SfcWx1').src=document.getElementById('SfcWx1').src.replace('91f','95f'); document.getElementById('SfcWx2').src=document.getElementById('SfcWx2').src.replace('92f','96f'); document.getElementById('SfcWx3').src=document.getElementById('SfcWx3').src.replace('93f','98f'); document.getElementById('SfcWx4').src=document.getElementById('SfcWx4').src.replace('94f','99f'); } else { document.getElementById('SfcWx1').src=document.getElementById('SfcWx1').src.replace('95f','91f'); document.getElementById('SfcWx2').src=document.getElementById('SfcWx2').src.replace('96f','92f'); document.getElementById('SfcWx3').src=document.getElementById('SfcWx3').src.replace('98f','93f'); document.getElementById('SfcWx4').src=document.getElementById('SfcWx4').src.replace('99f','94f'); } } function toggleNWSfcWx(I) { if (I>0) { document.getElementById('P1').src=document.getElementById('P1').src.replace('91F','94F'); document.getElementById('P2').src=document.getElementById('P2').src.replace('92F','95F'); document.getElementById('P3').src=document.getElementById('P3').src.replace('93F','96F'); document.getElementById('P4').src=document.getElementById('P4').src.replace('94F','98F'); } else { document.getElementById('P1').src=document.getElementById('P1').src.replace('94F','91F'); document.getElementById('P2').src=document.getElementById('P2').src.replace('95F','92F'); document.getElementById('P3').src=document.getElementById('P3').src.replace('96F','93F'); document.getElementById('P4').src=document.getElementById('P4').src.replace('98F','94F'); } } function toggleWaveImg(I) { /// NAM if (I==3) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=2340'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=2520'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=2700'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=2880'); } else if (I==2) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=1620'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=1800'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=1980'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=2160'); } else if (I==1) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=900'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=1080'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=1260'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=1440'); } else { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=180'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=360'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=540'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=720'); } } function toggleGFSWaveImg(I) { /// GFS if (I==3) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=4680'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=5040'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=5400'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=5760'); } else if (I==2) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=3240'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=3600'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=3960'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=4320'); } else if (I==1) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=1800'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=2160'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=2520'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=2880'); } else { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=360'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=720'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=1080'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=1440'); } } function toggleHRRRWaveImg(I) { /// HRRR if (I==5) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=1320'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=1380'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=1440'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=1500'); } else if (I==4) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=1080'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=1140'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=1200'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=1260'); } else if (I==3) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=840'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=900'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=960'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=1020'); } else if (I==2) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=600'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=660'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=720'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=780'); } else if (I==1) { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=360'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=420'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=480'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=540'); } else { document.getElementById('P1').src=document.getElementById('P1').src.replace(/minute=\d+/i,'minute=120'); document.getElementById('P2').src=document.getElementById('P2').src.replace(/minute=\d+/i,'minute=180'); document.getElementById('P3').src=document.getElementById('P3').src.replace(/minute=\d+/i,'minute=240'); document.getElementById('P4').src=document.getElementById('P4').src.replace(/minute=\d+/i,'minute=300'); } } function SREFold(i,ID) { var o=new Date(); o.setUTCHours(o.getUTCHours()-4); var oHR=0; while (oHR!=3 && oHR!=9 && oHR!=15 && oHR!=21) { o.setUTCHours(o.getUTCHours()-1); oHR=o.getUTCHours(); } var dt=o.getUTCFullYear()+('0'+(o.getUTCMonth()+1)).slice(-2)+('0'+o.getUTCDate()).slice(-2)+('0'+o.getUTCHours()).slice(-2); document.getElementById(ID).src='https://www.spc.noaa.gov/exper/sref/gifs/'+dt+'/SREF_PROB_TRW_CALIBRATED_HRLY__f'+(('00'+i).slice(-3))+'.gif'; } function display6p(P1,P2,P3,P4,P5,P6) { var AP1=''; var AP2=''; var AP3=''; var AP4=''; var AP5=''; var AP6=''; if (!P1.match(/\//i)) {AP1=" onerror='try{this.src=\"https://www.wrh.noaa.gov/images/zse/"+P1+"\";'} catch (E) {} ";} else if (!P1.match(/http:/i)) {AP1=" onerror='try{this.src=\"https://www.wrh.noaa.gov"+P1+"\";'} catch (E) {} ";} if (!P2.match(/\//i)) {AP2=" onerror='try{this.src=\"https://www.wrh.noaa.gov/images/zse/"+P2+"\";'} catch (E) {} ";} else if (!P2.match(/http:/i)) {AP2=" onerror='try{this.src=\"https://www.wrh.noaa.gov"+P2+"\";'} ";} if (!P3.match(/\//i)) {AP3=" onerror='try{this.src=\"https://www.wrh.noaa.gov/images/zse/"+P3+"\";'} catch (E) {} ";} else if (!P3.match(/http:/i)) {AP3=" onerror='try{this.src=\"https://www.wrh.noaa.gov"+P3+"\";'} catch (E) {} ";} if (!P4.match(/\//i)) {AP4=" onerror='try{this.src=\"https://www.wrh.noaa.gov/images/zse/"+P4+"\";'} catch (E) {} ";} else if (!P4.match(/http:/i)) {AP4=" onerror='try{this.src=\"https://www.wrh.noaa.gov"+P4+"\";'} catch (E) {} ";} URL1="Panel 1 "+P1+""; URL2="Panel 2 "+P2+""; URL3="Panel 3 "+P3+""; URL4="Panel 4 "+P4+""; URL5="Panel 5 "+P5+""; URL6="Panel 6 "+P6+""; var DA=''; DA+="\n"; DA+=" "; DA+=" "; DA+=" "; DA+="\n"; DA+=" "; DA+=" "; DA+=" "; DA+="
"+URL1+""+URL2+""+URL3+"
"+URL4+""+URL5+""+URL6+"
"; document.getElementById('rightside').innerHTML=DA; } function display4p(TP,P1,P2,P3,P4) { if (TP.match(/4panel/i)) { var AP1=''; var AP2=''; var AP3=''; var AP4=''; if (!P1.match(/\//i)) {AP1=" onerror='try{this.src=\"https://www.wrh.noaa.gov/images/zse/"+P1+"\";'} catch (E) {} ";} else if (!P1.match(/http:/i)) {AP1=" onerror='try{this.src=\"https://www.wrh.noaa.gov"+P1+"\";'} catch (E) {} ";} if (!P2.match(/\//i)) {AP2=" onerror='try{this.src=\"https://www.wrh.noaa.gov/images/zse/"+P2+"\";'} catch (E) {} ";} else if (!P2.match(/http:/i)) {AP2=" onerror='try{this.src=\"https://www.wrh.noaa.gov"+P2+"\";'} catch (E) {} ";} if (!P3.match(/\//i)) {AP3=" onerror='try{this.src=\"https://www.wrh.noaa.gov/images/zse/"+P3+"\";'} catch (E) {} ";} else if (!P3.match(/http:/i)) {AP3=" onerror='try{this.src=\"https://www.wrh.noaa.gov"+P3+"\";'} catch (E) {} ";} if (!P4.match(/\//i)) {AP4=" onerror='try{this.src=\"https://www.wrh.noaa.gov/images/zse/"+P4+"\";'} catch (E) {} ";} else if (!P4.match(/http:/i)) {AP4=" onerror='try{this.src=\"https://www.wrh.noaa.gov"+P4+"\";'} catch (E) {} ";} URL0="Panel 1 "+P1+""; URL1="Panel 2 "+P2+""; URL2="Panel 3 "+P3+""; URL3="Panel 4 "+P4+""; URL4=''; if (P1.match(/zse/i) && P1.match(/fndfd/i)) { URL4="      "; } } else if (TP.match(/sref/i)) { // https://www.spc.noaa.gov/exper/sref/gifs/latest/SREF_PROB_TRW_CALIBRATED_HRLY__f003.gif URL0="SREF"; URL1=URL0.replace('f003','f006'); URL1=URL1.replace(/SREF0/g,'SREF1').replace(/\(3/,'(6'); URL2=URL0.replace('f003','f009'); URL2=URL2.replace(/SREF0/g,'SREF2').replace(/\(3/,'(9'); URL3=URL0.replace('f003','f012'); URL3=URL3.replace(/SREF0/g,'SREF3').replace(/\(3/,'(12'); URL4="           "; } else if (TP.match(/sfcwx/i)) { // http://www.wpc.ncep.noaa.gov/basicwx/93fndfd.jpg URL0="SfcWx +06"; URL1="SfcWx +12"; URL2="SfcWx +18"; URL3="SfcWx +24"; URL4="      "; } else if (P1.match(/gfs20/i) && TP.match(/waveimg/i)) { // https://apps.gsl.noaa.gov/wave/getimage/getLatestImageAndOverlays?runTime=latest®ionName=ZSE&datasetid=NAM&variable=winds_only_knots&oceancolor=000050&terrain=ESRI_Imagery_World_2D&landcolor=646464&davincilayers=states,shape&shape_artcc_bndy=true&countylinecolor=000000&roadlinecolor=ff0000&shapecolor=ff0000&thickness=5&timezone=-4&legendType=1&minute=1800&levelMB=850&&1440 var HH0=''; var HH1=''; var HH2=''; var HH3=''; try {HH0=(parseInt(P1.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH0='Upper-Left';} try {HH1=(parseInt(P2.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH1='Upper-Right';} try {HH2=(parseInt(P3.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH2='Lower-Left';} try {HH3=(parseInt(P4.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH3='Lower-Right';} URL0="Panel 1 "+HH0+""; URL1="Panel 2 "+HH1+""; URL2="Panel 3 "+HH2+""; URL3="Panel 4 "+HH3+""; URL4="                "; } else if (P1.match(/HRRR/i) && TP.match(/waveimg/i)) { // https://apps.gsl.noaa.gov/wave/getimage/getLatestImageAndOverlays?runTime=latest®ionName=ZSE&datasetid=NAM&variable=winds_only_knots&oceancolor=000050&terrain=ESRI_Imagery_World_2D&landcolor=646464&davincilayers=states,shape&shape_artcc_bndy=true&countylinecolor=000000&roadlinecolor=ff0000&shapecolor=ff0000&thickness=5&timezone=-4&legendType=1&minute=1800&levelMB=850&&1440 var HH0=''; var HH1=''; var HH2=''; var HH3=''; try {HH0=(parseInt(P1.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH0='Upper-Left';} try {HH1=(parseInt(P2.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH1='Upper-Right';} try {HH2=(parseInt(P3.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH2='Lower-Left';} try {HH3=(parseInt(P4.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH3='Lower-Right';} URL0="Panel 1 "+HH0+""; URL1="Panel 2 "+HH1+""; URL2="Panel 3 "+HH2+""; URL3="Panel 4 "+HH3+""; URL4="                          "; } else if (TP.match(/waveimg/i)) { // https://apps.gsl.noaa.gov/wave/getimage/getLatestImageAndOverlays?runTime=latest®ionName=ZSE&datasetid=NAM&variable=winds_only_knots&oceancolor=000050&terrain=ESRI_Imagery_World_2D&landcolor=646464&davincilayers=states,shape&shape_artcc_bndy=true&countylinecolor=000000&roadlinecolor=ff0000&shapecolor=ff0000&thickness=5&timezone=-4&legendType=1&minute=1800&levelMB=850&&1440 var HH0=''; var HH1=''; var HH2=''; var HH3=''; try {HH0=(parseInt(P1.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH0='Upper-Left';} try {HH1=(parseInt(P2.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH1='Upper-Right';} try {HH2=(parseInt(P3.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH2='Lower-Left';} try {HH3=(parseInt(P4.match(/minute=(\d+)/i)[1])/60)+'hr';} catch (E) {HH3='Lower-Right';} URL0="Panel 1 "+HH0+""; URL1="Panel 2 "+HH1+""; URL2="Panel 3 "+HH2+""; URL3="Panel 4 "+HH3+""; URL4="                "; } var DA=''; DA+="\n"; DA+=""; DA+=""; DA+=""; DA+=""; DA+="
"+URL0+""+URL1+"
"+URL2+""+URL3+"
"+URL4+"
"; document.getElementById('rightside').innerHTML=DA; } function overlayImages(TARGET,U1,U2,U3) { U1=U1.match(/\?/) ? U1+'&'+rndtm() : U1+'?'+rndtm(); U2=U2.match(/\?/) ? U2+'&'+rndtm() : U2+'?'+rndtm(); U3=U3.match(/\?/) ? U3+'&'+rndtm() : U3+'?'+rndtm(); var FL1=hPa2FL(U1); var FL2=hPa2FL(U2); var FL3=hPa2FL(U3); var OI="
"; OI+="\n"; OI+="\n"; OI+="\n"; OI+="
"+FL1+"
\n"; OI+="
"+FL2+"
\n"; OI+="
"+FL3+"
\n"; OI+="
\n"; document.getElementById(TARGET).innerHTML=OI; } function hPa2FL(P) { var FL=''; if (P.match(/levelMB=200/i)) {FL='FL390';} else if (P.match(/levelMB=250/i)) {FL='FL340';} else if (P.match(/levelMB=300/i)) {FL='FL300';} else if (P.match(/levelMB=350/i)) {FL='FL270';} else if (P.match(/levelMB=400/i)) {FL='FL240';} else if (P.match(/levelMB=450/i)) {FL='FL210';} else if (P.match(/levelMB=500/i)) {FL='FL180';} else if (P.match(/levelMB=600/i)) {FL='150';} else if (P.match(/levelMB=650/i)) {FL='120';} else if (P.match(/levelMB=700/i)) {FL='100';} else if (P.match(/levelMB=850/i)) {FL='050';} else if (P.match(/levelMB=925/i)) {FL='025';} return (FL); } function CPC(L,I) { var T=''; if (L==3) { T+="\n"; T+="\n"; T+="

\n"; for (var i=1; i<=12; i++) { T+="     "; } } else if (L==1) { T+="\n"; T+="\n"; T+="

\n"; } else if (L==34) { T+="\n"; T+="\n"; T+="

\n"; } else if (L==814) { T+="\n"; T+="\n"; T+="

\n"; } else { /// if (L==610 || L==0) T+="\n"; T+="\n"; T+="

\n"; } if (L!=3) { T+="     "; T+="     "; T+="     "; T+="     "; } document.getElementById('rightside').innerHTML="
"+T+"
"; } function changeContent(Content,Target) { var IMGSRC,IMGPG,IMGNM; try {clearTimeout(REFRESHTIMER);} catch (ER) {} try {if (window.getSelection) window.getSelection().removeAllRanges(); else if (document.selection) document.selection.empty();} catch (ERR) {} var BASEURL=document.URL; BASEURL=BASEURL.replace(/\?.*$/,''); document.getElementById('PermaLink').href=BASEURL+'?'+SEAPDX+'&tab='+Content; if (MAXIMIZED) {document.getElementById('PermaLink').href+='&max';} if (SAD) {document.getElementById('PermaLink').href+='&SAD';} if (window.location.href.match(/zseuser/i)) {document.getElementById('PermaLink').href+='&zseuser';} CL(document.getElementById('PermaLink').href); try {document.getElementById('Expanded').style.display='none';} catch (E) {} try {document.getElementById('ExpandedImage').src='/images/zse/blank.gif';document.getElementById('ExpandedImage').style.display='none';} catch (E) {} var origContent=Content.toString(); Sub=getSub(origContent); Content=getContent(origContent); //CL(' >>>>>>a>> Content='+Content+' origContent='+origContent+' Sub='+Sub+' TAB_'+Sub+' Target='+Target); if (Sub<1 || isNaN(Sub)) {Sub=1;} LASTSUB[Content]=Sub; CL('changeContent - Content Section:'+Content+' Sub:'+Sub+' original:'+origContent+' LASTSUB:'+LASTSUB+' TAB'+Content+' TAB_'+Sub); //CL(' >>>>>>b>> Content='+Content+' origContent='+origContent+' Sub='+Sub+' TAB_'+Sub+' Target='+Target); for (var I=0; I<15; I++) { try {document.getElementById('TAB'+I).style.backgroundColor='#222222';} catch (ERR) {} try {document.getElementById('TAB'+I).style.color='white';} catch (ERR) {} } for (var J=0; J<50; J++) { try {document.getElementById('TAB_'+J).style.backgroundColor='#222222';} catch (ERR) {} try {document.getElementById('TAB_'+J).style.color='white';} catch (ERR) {} } var HTML="\n"; var HTML2=''; if (SEAPDX.match(/zse/i)) { ////////////////////////////////////////////////// ARTCC Briefing / Graphicast //////////////////////////////////////////////////////////////////// location.href='/zse/ARTCCBriefing?'+(document.URL.match(/zseuser/i)?'zseuser':'')+'&'+(document.URL.match(/max/i)?'max':'')+'&'; } else { switch (Content) { case 0: HTML+=" \n"; if (CMS) { HTML+=" \n"; setTimeout("makeOLiframe('¶m=fcwd,lg,artcc&fixed',1);",500); } else if (MAPBASE.match(/OLv3/i)) { HTML+=" \n"; } else { HTML+=" \n"; } if (!MAXIMIZED) { HTML+=" \n"; } } else if (Sub==4 && !MAXIMIZED) { HTML2+="\n"; HTML2+="
\n
\n\n\n"; } else { HTML+=" \n"; HTML+=" \n"; if (!MAXIMIZED) { HTML+=" \n"; } else { HTML+=" \n"; } HTML+=" \n"; if (Sub==0) {Sub=1;} setTimeout(function(){ImpactTable('IMPACTS',SEAPDX.replace(/msx|mso|missoula/i,'geg'),'font-size:'+(MAXIMIZED?'11pt':'10pt')+';outline:thin solid white;margin:2px;');},1500); // setTimeout(function(){document.getElementById('ImpactTitle').innerHTML+=' · TEST';},4000); ////////////////////////////////////////////////////// break; case 1: if (!MAXIMIZED) { HTML+=" \n"; HTML+=" \n"; HTML+=" \n"; HTML+=" \n"; HTML+=" \n"; } HTML+=" \n"; if (Sub<1) { if (SEAPDX.match(/PDX/i)) {Sub=2;} else if (SEAPDX.match(/OTX|GEG/i)) {Sub=3;} else {Sub=1;} } break; case 2: HTML+=" \n \n \n"; HTML+=" \n"; if (Sub<1) {Sub=1;} break; case 3: HTML+=" \n \n \n"; HTML+=" \n"; if (Sub<1) {Sub=1;} break; case 4: HTML+=" \n \n \n"; HTML+=" \n"; if (Sub<1) {Sub=1;} break; case 5: HTML+=" \n \n \n"; HTML+=" \n"; if (Sub<1) {Sub=1;} break; case 6: HTML+=" \n \n"; if (Sub<1) {Sub=1;} break; case 7: if (CMS) { //HTML+="\n"; HTML+=" \n "; HTML+=" "; HTML+=" \n "; setTimeout(function(){ImpactTable('ZSEhazards','ZSE','font-size:12pt;outline:2px solid white;margin:auto;vertical-align:top;');},975); setTimeout(function(){ImpactTable('TRACONhazards','TRACON','font-size:12pt;outline:2px solid white;margin:auto;vertical-align:top;');},1025); } else { HTML+=" \n \n"; } HTML+=" \n"; if (Sub<1) {Sub=1;} break; case 8: HTML+=" \n \n \n"; HTML+=" \n"; } else { HTML+="\n\n"; } HTML+=" \n"; if (Sub<1) {Sub=1;} break; } } HTML+="
\n"; } HTML+=" \n"; for (var I=0; I<6; I++) { /// 6/14 are now the impacts table /// IMGSRC=Webcams[I].src; IMGPG=Webcams[I].page; IMGNM=Webcams[I].name; if (IMGSRC.match(/\?/)) {IMGSRC+="&"+rndtm();} else {IMGSRC+="?"+rndtm();} HTML+=" \n"; if (I==2) { HTML+="\n"; HTML+=" \n"; } } HTML+=" \n"; HTML+="
"+IMGNM+"
"+IMGNM+"
Satellite/Surface\n"; HTML+=" Jet Stream\n"; } else { HTML+="
Satellite/Surface\n"; HTML+=" Jet Stream\n"; } HTML+="
AFDTEXT
\n"; if (CMS) { if (!MAXIMIZED) { HTML+="\n"; } else { HTML+="\n"; } HTML+="
"; setTimeout("makeOLiframe('¶m=avplot,artcc&fixed',1);",500); } else { HTML+="\n
\n"; HTML+="
TAF/METAR
\n"; HTML+="
Aviation Maps
\n"; HTML+="
Convection Maps
\n"; HTML+="
Text
\n"; HTML+=MakeTable(['Puget Sound Convergence Zone','Seattle NEXRAD'],['/images/zse/convergence.gif','https://radar.weather.gov/standard/NCR/ATX_loop.gif'],2,500); HTML+="
For testing ... not current data
Coverage:   - None   \u2715 Isolated   \u2715 Scattered   \u2716 Widespread Probability:   None   Low   Medium   High
  \n"; HTML+="\n
\n"; HTML+=" \n"; HTML+=" \n"; for (var I in SS) {try { if (!nullundef(SS[I])) { ssdata=calculateSS(SSll[I][0],SSll[I][1]); HTML+=" \n"; } } catch (EE) {} } HTML+="
Site Sunrise Sunset
"+SSname[I]+" ("+SS[I]+")"+ssdata[0]+"z"+ssdata[1]+"z
\n"; HTML+="
\n"; if (CMS) { getWRfile('SpaceWeather'); // HTML+="\n
"; document.getElementById(Target).innerHTML=HTML; HTML='';HTML2=''; if (SEAPDX.match(/zse/i)) { document.getElementById('leftside').innerHTML=HTMLleft; } else { switch (Content) { case 0: document.getElementById('SatRadMenu').innerHTML=' '; for (var I in SRtabs) {try {if (!nullundef(SRtabs[I])) {II=parseInt(I);document.getElementById('SatRadMenu').innerHTML+=addTab(SRtabs[I],'0_'+II,'SatRadContent')+''; if (I==3) {document.getElementById('SatRadMenu').innerHTML+=' ';} }} catch (EE) {} } if (Sub==2) { /// found Animated GIF for PacNW HTML2+="Pacific NW Radar"; } else if (Sub==3) { /// found Animated GIF for PacNW HTML2+=""+SRtabs[3]+" Radar"; } else if (!MAXIMIZED && Sub<=1) { HTML2+="\n"; HTML2+="\n"; HTML2+="\n"; HTML2+="\n"; HTML2+="
"+SatRads[1]+"
 
"+SatRads[2]+"
"+SatRads[3]+"
\n"; ///// Replacement Radar Loop ///// HTML2=""; } else if (Sub<=1) { HTML2+="\n"; HTML2+="\n"; HTML2+="\n"; HTML2+="\n"; HTML2+="
"+SatRads[1]+"
 
"+SatRads[2]+"
"+SatRads[3]+"
\n"; ///// Replacement Radar Loop ///// HTML2=""; } else if (Sub==4) { HTML2+="GeoColor Satellite"; } else if (Sub==5) { HTML2+="Visible-02"; } else if (Sub==6) { HTML2+="IR-07"; } else if (Sub==7) { HTML2+="IR-13"; } else if (Sub==8) { HTML2+="WV-08 Satellite"; } else if (Sub==9) { HTML2+="GeoColor Satellite (Wide)"; } else if (Sub==10 && SEAPDX.match(/sea|s46/i)) { HTML2+="
SEA GeoCOlor - Single Image
"; } else if (Sub==10 && SEAPDX.match(/pdx|p80/i)) { HTML2+="
PDX GeoCOlor - Single Image
"; } else if (Sub==10 && SEAPDX.match(/geg|otx|mso|msx/i)) { HTML2+="
GEG GeoCOlor - Single Image
"; } else if (Sub==11 && SEAPDX.match(/sea|s46/i)) { HTML2+="
SEA Visible - Single Image
"; } else if (Sub==11 && SEAPDX.match(/pdx|p80/i)) { HTML2+="
PDX Visible - Single Image
"; } else if (Sub==11 && SEAPDX.match(/geg|otx|mso|msx/i)) { HTML2+="
GEG Visible - Single Image
"; // } else if (Sub>3) { // HTML2+="Single Visible-02"; // HTML2+="Single Visible-02"; // HTML2+="Single Visible-02"; // if (CMS) { // HTML2+=""; // setTimeout(function(){makeSATiframe('&'+SatRads[Sub],1);},500); // } else if (!SatRads[Sub].match(/jpg|gif|png|jpeg/i)) { // HTML2+=""; // } else { // HTML2+=""+SRtabs[Sub]+""; // } } document.getElementById('SatRadContent').innerHTML=HTML2; GetRadarOutages(); break; case 1: if (document.getElementById('AFDmenu').innerHTML.length<25) { for (var I in WFOtabs) {try {if (!nullundef(WFOtabs[I])) {II=parseInt(I);document.getElementById('AFDmenu').innerHTML+=addTab(WFOtabs[I],'1_'+II,'AFDtext')+'';}} catch (EE) {} } document.getElementById('AFDmenu').innerHTML+=' '; // document.getElementById('AFDmenu').innerHTML+=addTab('OEPZSE','1_7','AFDtext')+''; // if (document.URL.match(/zseuser/i)) { // document.getElementById('AFDmenu').innerHTML+=addTab('OEPZOA','1_8','AFDtext')+''; // document.getElementById('AFDmenu').innerHTML+=addTab('OEPZLC','1_9','AFDtext')+''; // document.getElementById('AFDmenu').innerHTML+=addTab('OEPZLA','1_10','AFDtext'); // } } if (Sub<7) { //URL='http://tgftp.nws.noaa.gov/data/raw/fx/fxus66.k'+WFOsubs[Sub].toLowerCase()+'.afd.'+WFOsubs[Sub].toLowerCase()+'.txt'+'?'+rndtm(); //URL='https://forecast.weather.gov/product.php?site=NWS&issuedby='+WFOsubs[Sub]+'&product=AFD&format=txt&version=1&glossary=1&'+rndtm(); //URL='http://w1.weather.gov/data/'+WFOsubs[Sub]+'/AFD'+WFOsubs[Sub]+'?'+rndtm(); URL='';HTML='';HTML2=''; getW1(WFOsubs[Sub]+'/AFD'+WFOsubs[Sub]); } // } else if (Sub==7) { // URL='http://w1.weather.gov/data/SEW/OEPZSE?'+rndtm(); // URL='/source/zse/OEPZSE.txt?'+rndtm(); // } else if (Sub==8) { // URL='http://w1.weather.gov/data/MTR/OEPZOA?'+rndtm(); // URL='/source/zse/OEPZOA.txt?'+rndtm(); // } else if (Sub==9) { // URL='http://w1.weather.gov/data/SLC/OEPZLC?'+rndtm(); // URL='/source/zse/OEPZLC.txt?'+rndtm(); // } else if (Sub==10) { // URL='http://w1.weather.gov/data/LOX/OEPZLA?'+rndtm(); // URL='/source/zse/OEPZLA.txt?'+rndtm(); // } if (URL!='') { HTML2+="\n"; document.getElementById('AFDtext').innerHTML=HTML2; } break; case 2: document.getElementById('MTtext').innerHTML=''; document.getElementById('MESOWESTtext').innerHTML=''; MTID=MT[Sub]; AWCURL='https://www.aviationweather.gov/cgi-bin/json/MetarJSON.php?bbox=-126,39.5,-114,49.5&filter=8&density=all&taf=1&density=all&jsonp=AWCdataTB&callback=AWCdataTB&'+rndtm(); JSONawc = document.createElement('script'); JSONawc.setAttribute('src', AWCURL); document.head.appendChild(JSONawc); MWURL='https://api.mesowest.net/v2/stations/timeseries?bbox=-126,39.5,-114,49.5&network=1&recent=1000&token=d8c6aee36a994f90857925cea26934be&output=geojson&callback=MWdataTB&'+rndtm(); JSONmw = document.createElement('script'); JSONmw.setAttribute('src', MWURL); document.head.appendChild(JSONmw); if (document.getElementById('MTmenu').innerHTML.length<25) { for (var I in MT) {try {if (!nullundef(MT[I])) {II=parseInt(I);document.getElementById('MTmenu').innerHTML+=addTab(MT[II],'2_'+II,'MTtext')+'';}} catch (EE) {} } } break; case 3: var HRdtm='';var TMP; var WT=[]; if (document.getElementById('AVmenu').innerHTML.length<25) { for (var I in AVtabs) {try {if (!nullundef(AVtabs[I])) {II=parseInt(I);document.getElementById('AVmenu').innerHTML+=addTab(AVtabs[II],'3_'+II,'AVcontent')+'';}} catch (EE) {} } } if (Sub<=1) { // https://www.aviationweather.gov/data/products/gairmet/F00_gairmet_sierra_us.gif // http://aviationweather.gov/data/products/gairmet/combined/201608310000_us_SIERRA.gif?0136 // var DT=new Date(); // DT.setUTCMinutes(0); DT.setUTCSeconds(0); // if (DT.getUTCHours()/3!=Math.floor(DT.getUTCHours()/3)) {DT.setHours(DT.getHours()-1);} // if (DT.getUTCHours()/3!=Math.floor(DT.getUTCHours()/3)) {DT.setHours(DT.getHours()-1);} // var DT0=('0000'+DT.getUTCFullYear()).slice(-4)+('00'+Math.round(DT.getUTCMonth()+1)).slice(-2)+('00'+Math.round(DT.getUTCDate())).slice(-2)+('00'+Math.round(DT.getUTCHours())).slice(-2)+'00'; // DT.setTime(DT.getTime()+3*60*60*1000); // var DT3=('0000'+DT.getUTCFullYear()).slice(-4)+('00'+Math.round(DT.getUTCMonth()+1)).slice(-2)+('00'+Math.round(DT.getUTCDate())).slice(-2)+('00'+Math.round(DT.getUTCHours())).slice(-2)+'00'; // DT.setTime(DT.getTime()+3*60*60*1000); // var DT6=('0000'+DT.getUTCFullYear()).slice(-4)+('00'+Math.round(DT.getUTCMonth()+1)).slice(-2)+('00'+Math.round(DT.getUTCDate())).slice(-2)+('00'+Math.round(DT.getUTCHours())).slice(-2)+'00'; // DT.setTime(DT.getTime()+3*60*60*1000); // var DT9=('0000'+DT.getUTCFullYear()).slice(-4)+('00'+Math.round(DT.getUTCMonth()+1)).slice(-2)+('00'+Math.round(DT.getUTCDate())).slice(-2)+('00'+Math.round(DT.getUTCHours())).slice(-2)+'00'; // DT.setTime(DT.getTime()+3*60*60*1000); // var DT12=('0000'+DT.getUTCFullYear()).slice(-4)+('00'+Math.round(DT.getUTCMonth()+1)).slice(-2)+('00'+Math.round(DT.getUTCDate())).slice(-2)+('00'+Math.round(DT.getUTCHours())).slice(-2)+'00'; // var Atext=['IFR-Mtn Obscn '+formatDT(DT0),'IFR-Mtn Obscn '+formatDT(DT3),'IFR-Mtn Obscn '+formatDT(DT6),'IFR-Mtn Obscn '+formatDT(DT9),'Turbulence '+formatDT(DT0),'Turbulence '+formatDT(DT3),'Turbulence '+formatDT(DT6),'Turbulence '+formatDT(DT9),'Icing '+formatDT(DT0),'Icing '+formatDT(DT3),'Icing '+formatDT(DT6),'Icing '+formatDT(DT9)]; // var Aimgu=['https://www.aviationweather.gov/data/products/gairmet/combined/'+DT0+'_us_SIERRA.gif','https://www.aviationweather.gov/data/products/gairmet/combined/'+DT3+'_us_SIERRA.gif','https://www.aviationweather.gov/data/products/gairmet/combined/'+DT6+'_us_SIERRA.gif','https://www.aviationweather.gov/data/products/gairmet/combined/'+DT9+'_us_SIERRA.gif']; // Aimgu.push('https://www.aviationweather.gov/data/products/gairmet/combined/'+DT0+'_us_TANGO.gif','https://www.aviationweather.gov/data/products/gairmet/combined/'+DT3+'_us_TANGO.gif','https://www.aviationweather.gov/data/products/gairmet/combined/'+DT6+'_us_TANGO.gif','https://www.aviationweather.gov/data/products/gairmet/combined/'+DT9+'_us_TANGO.gif'); // Aimgu.push('https://www.aviationweather.gov/data/products/gairmet/combined/'+DT0+'_us_ICE.gif','https://www.aviationweather.gov/data/products/gairmet/combined/'+DT3+'_us_ICE.gif','https://www.aviationweather.gov/data/products/gairmet/combined/'+DT6+'_us_ICE.gif','https://www.aviationweather.gov/data/products/gairmet/combined/'+DT9+'_us_ICE.gif'); var Atext=['IFR-Mtn Obscn +0hr','IFR-Mtn Obscn +3hr','IFR-Mtn Obscn +6hr','IFR-Mtn Obscn +9hr','Turbulence +0hr','Turbulence +3hr','Turbulence +6hr','Turbulence +9hr','Icing +0hr','Icing +3hr','Icing +6hr','Icing +9hr','FrzLvl +0hr','FrzLvl +3hr','FrzLvl +6hr','FrzLvl +9hr']; var Aimgu=['https://www.aviationweather.gov/data/products/gairmet/F00_gairmet_sierra_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F03_gairmet_sierra_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F06_gairmet_sierra_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F09_gairmet_sierra_nw.gif']; Aimgu.push('https://www.aviationweather.gov/data/products/gairmet/F00_gairmet_tango_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F03_gairmet_tango_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F06_gairmet_tango_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F09_gairmet_tango_nw.gif'); Aimgu.push('https://www.aviationweather.gov/data/products/gairmet/F00_gairmet_zulu-i_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F03_gairmet_zulu-i_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F06_gairmet_zulu-i_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F09_gairmet_zulu-i_nw.gif'); Aimgu.push('https://www.aviationweather.gov/data/products/gairmet/F00_gairmet_zulu-f_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F03_gairmet_zulu-f_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F06_gairmet_zulu-f_nw.gif','https://www.aviationweather.gov/data/products/gairmet/F09_gairmet_zulu-f_nw.gif'); HTML2+=MakeTable(Atext,Aimgu,4,250); } else if (Sub==2) { HTML2+=MakeTable(Stext,Simgu,3,285); } else if (Sub==3) { if (CMS) { HTML2+="
\n"; setTimeout("makeOLiframe('&lat=44.8&lon=-120.5&zm=6¶m=pirep,artcc&fixed',1);",500); } else { HTML2+="\n
\n"; HTML2+=" \n"; // HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; // HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+="
Observed Freezing Levels   ⛶RAP Forecast +01hr   ⛶RAP Forecast +03hr   ⛶RAP Forecast +05hr   ⛶
RAP Forecast +07hr   ⛶RAP Forecast +09hr   ⛶RAP Forecast +11hr   ⛶
\n"; // setTimeout(function(){MakeFzl('o','ofl',0.5);},300); setTimeout(function(){MakeFzl('1','rfl1',0.5);},400); setTimeout(function(){MakeFzl('3','rfl3',0.5);},500); setTimeout(function(){MakeFzl('5','rfl5',0.5);},600); setTimeout(function(){MakeFzl('7','rfl7',0.5);},700); setTimeout(function(){MakeFzl('9','rfl9',0.5);},800); setTimeout(function(){MakeFzl('11','rfl11',0.5);},900); } else if (Sub==4) { HTML2+="\n"; HTML2+="\n"; HTML2+=" \n"; // HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; // HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+=" \n"; HTML2+="
Observed Freezing Levels   ⛶RAP Forecast +01hr   ⛶RAP Forecast +03hr   ⛶RAP Forecast +05hr   ⛶
RAP Forecast +07hr   ⛶RAP Forecast +09hr   ⛶RAP Forecast +11hr   ⛶
\n"; // setTimeout(function(){MakeFzl('o','ofl',0.65);},300); setTimeout(function(){MakeFzl('1','rfl1',0.5);},400); setTimeout(function(){MakeFzl('3','rfl3',0.5);},500); setTimeout(function(){MakeFzl('5','rfl5',0.5);},600); setTimeout(function(){MakeFzl('7','rfl7',0.5);},700); setTimeout(function(){MakeFzl('9','rfl9',0.5);},800); setTimeout(function(){MakeFzl('11','rfl11',0.5);},900); } else if (Sub==5) { HTML2+=""; if (SEAPDX.match(/s46|sea/i)) {makeSLiframe('s46contour',1);} else {makeSLiframe(' ',1);} } else if (Sub==6) { WT=[]; for (var II=0; II<6; II++) { try { TMP=(SfcWindImgU[II]).match(/_(\d\d\d)\d\d_/); TMP=parseInt(TMP[1]); HRdtm=new Date(HRgt+TMP*1000*60*60); HRdtm=PadZero(HRdtm.getUTCDate(),2)+'/'+PadZero(HRdtm.getUTCHours(),2); WT[II]=SfcWindText[II]+'    '+HRdtm+'z'; } catch (E) {CL(E);} } HTML2+=MakeTable(WT,SfcWindImgU,3,285); } else if (Sub==7) { HTML2+="
\n" if (SEAPDX.match(/pdx/i)) { HTML2+="
"; HTML2+=" ZSE PDX AMDAR    "; HTML2+=" UW PDX AMDAR    "; HTML2+="
"; HTML2+="\n"; // HTML2+="\n"; HTML2+="\n"; } else if (SEAPDX.match(/otx|geg/i)) { HTML2+="
"; HTML2+=" ZSE GEG AMDAR    "; HTML2+=" UW GEG AMDAR    "; HTML2+="
"; HTML2+="\n"; // HTML2+="\n"; HTML2+="\n"; } else { HTML2+="
"; HTML2+=" ZSE SEA AMDAR    "; HTML2+=" UW SEA AMDAR    "; HTML2+="   "; HTML2+="
"; HTML2+="\n"; // HTML2+="\n"; HTML2+="\n"; HTML2+="\n"; } HTML2+="
"; } else if (Sub==8) { HTML2+="
\n"; if (CMS) { HTML2+="\n"; setTimeout(function(){makeVWPiframe('&height=10&output=barb&table=yes&tailwind=no&crop&site='+VWPsite+'&',1);},500); // HTML2+="
\n"; setTimeout("makeOLiframe('&lat=44.8&lon=-120.5&zm=6¶m=caws,artcc&fixed',1);",500); } else { HTML2+="\n\n"; } } else if (Sub==6) { HTML2+=MakeTable(SREFtext,SREFimgu,3,275); } else if (Sub==7) { setTimeout("document.getElementById('TScontent').innerHTML='';makeSRiframe('&vis=0<g=1&fc=0&speed=0.2&hover=0&',0);",500); } document.getElementById('TScontent').innerHTML="
"+HTML2+"
"; break; case 5: URL=''; if (document.getElementById('Textmenu').innerHTML.length<25) { document.getElementById('Textmenu').innerHTML+=addTab('Weather Roundup','5_01','Textcontent')+''; if (!SEAPDX.match(/pdx|geg|otx/i)) {document.getElementById('Textmenu').innerHTML+=addTab('Puget Sound Buoys','5_02','Textcontent')+'';} document.getElementById('Textmenu').innerHTML+=addTab('24hr Change','5_03','Textcontent')+''; document.getElementById('Textmenu').innerHTML+=addTab('Obs Press Grad','5_04','Textcontent')+''; document.getElementById('Textmenu').innerHTML+=addTab('Model Press Grad','5_05','Textcontent')+''; document.getElementById('Textmenu').innerHTML+=addTab('MOS Fcst','5_06','Textcontent')+''; // document.getElementById('Textmenu').innerHTML+=addTab('LAMP Fcst','5_07','Textcontent')+''; document.getElementById('Textmenu').innerHTML+=addTab('Winds Aloft','5_07','Textcontent')+''; document.getElementById('Textmenu').innerHTML+=addTab(SRGid+' Soaring','5_08','Textcontent')+''; document.getElementById('Textmenu').innerHTML+=addTab('Forecast','5_09','Textcontent')+''; document.getElementById('Textmenu').innerHTML+=addTab('NOTAMS (FAA)','5_10','Textcontent'); } if (Sub<=1) { getW1(RWR); // URL=RWR+'?'+rndtm(); } else if (Sub==2) { getW1(SpecialObs); // URL=SpecialObs+'?'+rndtm(); } else if (Sub==3) { getWRfile('24HCHG'); } else if (Sub==4) { getWRfile('DIENTS'); } else if (Sub==5) { if (ModGrad.match(/Seattle|SEA|SEW/i)) {GetGradients([["KPDX","KSEA"],["KPDX","KBLI"],["KOLM","KBLI"],["KOLM","KSEA"],["KSEA","KBLI"],["KBLI","CYXS"],["UIL" ,"KBLI"],["KCLM","KBLI"],["KHQM","KSEA"],["UIL","KSEA"],["KSEA","SMP" ],["KSEA","KEAT"]],["HRRR","RAP","NAM","GFS"],"Textcontent",21);} else if (ModGrad.match(/Portland|PDX|PQR/i)){GetGradients([["KAST","KPDX"],["KAST","KDLS"],["KTTD","KDLS"],["KPDX","KSEA"],["KAST","KPSC"],["KPDX","KOLM"],["KEUG","KPDX"],["KEUG","KOLM"],["KEUG","KSEA"],["KEUG","KBLI"]],["HRRR","RAP","NAM","GFS"],"Textcontent",21);} else if (ModGrad.match(/Spokane|GEG|OTX/i)) {GetGradients([["KEAT","KCOE"],["KEAT","KGEG"],["KGEG","KCOE"],["KSEA","KGEG"],["KYKM","KGEG"],["KPSC","KGEG"],["KPUW","KGEG"],["KPUW","CYXC"],["KGEG","CYXC"],["KPDT","CYXC"]],["HRRR","RAP","NAM","GFS"],"Textcontent",21);} else {getWRfile(ModGrad);} } else if (Sub==6) { setTimeout("getMOS();",1500); // } else if (Sub==7) { // getMOS(MOS,'LAMP'); } else if (Sub==7) { getW2('WNO/FD1US1','WNO/FD8US7'); } else if (Sub==8) { /////// /export/vhosts/www/html/otx/data/aviation/soar/ HIOSRGTOD HIOSRGTOM HTML2+=""; HTML2+="
Experimental
  
"; getWRfile(SRGid+'SRGTOD'); } else if (Sub==9) { URL=PublicForecast; } else if (Sub==10) { HTML2+="Please note the Disclaimer at the FAA website

\n"; HTML2+="Go to https://notams.aim.faa.gov/notamSearch/nsapp.html#/ (no longer able to embed results here)
\n"; // URL='https://pilotweb.nas.faa.gov/PilotWeb/notamRetrievalByICAOAction.do?method=displayByICAOs&formatType=DOMESTIC&retrieveLocId='+NOTAM+'&reportType=REPORT&openItems=&actionType=notamRetrievalByICAOs'; // URL='https://notams.aim.faa.gov/notamSearch/nsapp.html#/'; /// no longer can do specific search ??? // URL='https://notams.aim.faa.gov/'; /// no longer can do specific search ??? } if (URL.length>2) {HTML2+="\n";} document.getElementById('Textcontent').innerHTML="
"+HTML2+"
"; if (URL.match(/pilotweb/i)) {document.getElementById('TPIF').style.width='1000px';} break; } } try {document.getElementById('TAB'+Content).style.backgroundColor='whitesmoke';} catch (ERR) {} try {document.getElementById('TAB_'+Sub).style.backgroundColor='whitesmoke';} catch (ERR) {CL(' Trying Sub color: '+ERR);} try {document.getElementById('TAB'+Content).style.color='#222222';} catch (ERR) {} try {document.getElementById('TAB_'+Sub).style.color='#222222';} catch (ERR) {} // try {document.getElementById('TAB'+Content).style.backgroundColor='#111199';} catch (ERR) {} // try {document.getElementById('TAB_'+Sub).style.backgroundColor='#111199';} catch (ERR) {CL(' Trying Sub color: '+ERR);} try {history.replaceState({},document.title,document.getElementById('PermaLink').href);} catch (E) {} REFRESHTIMER=setTimeout(function(){window.location.href=document.getElementById('PermaLink').href+'&'+rndtm();},1000*60*20); // reload after 20 minutes if page not changed before then } var TEMPHTML='' TEMPHTML+="
DOC   NOAA   NWS   ZSE   "; TEMPHTML+=" NWS Seattle CWSU - "+TRACONname+" Briefing Page "; document.title=TRACONname+' '+document.title; var TRACONSO=""; TEMPHTML+="   Info Quality   Disclaimer   Privacy     "+TRACONSO+"    
  
\n"; document.getElementById('MainMenu').innerHTML+=TEMPHTML; UpdateHeader(); setInterval('UpdateHeader();',1000*60*6); /// Update METAR every 6 minutes /// if (document.URL.match(/max|full/i)) {Maximize();} else {FitWidth();} // if (SEAPDX.match(/sea|pdx/i)) {try {readTextFile('/zse/getHeader.php?'+SEAPDX.toUpperCase(),function(allText){document.getElementById('HDR').innerHTML="
  "+allText.replace(/\"|\'/g,'')+"   ";});} catch (ERR) {}} for (var I=0;I12) {document.getElementById('PSCZimg').src='/images/zse/convergence-noupdate.gif';} CL(URL+' - '+HRS+' hours old'); }; } xmlhttp.open("GET", URL+"?"+Math.random(), true); /// "https://www.weather.gov"+ xmlhttp.send(); var DTM=new Date(); } function ReloadTracon() { var U=document.getElementById('PermaLink').href.replace(/seattle|s46|sea|sew|portland|p80|pdx|pqr|spokane|geg|otx|missoula|mso|msx|\#.*/gi,''); U+=(U.match(/\?/)?'&':'?')+document.getElementById('TSO').value+'&'; location.href=U; } try {if (SEAPDX.match(/SEA|SEW|S46/i)) {document.getElementById('TSO').value='S46';}} catch (E) {} try {if (SEAPDX.match(/PDX|PQR|P80/i)) {document.getElementById('TSO').value='P80';}} catch (E) {} try {if (SEAPDX.match(/OTX|GEG/i)) {document.getElementById('TSO').value='GEG';}} catch (E) {} try {if (SEAPDX.match(/MSO|MSX/i)) {document.getElementById('TSO').value='MSO';}} catch (E) {}

OSZAR »