<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Joe,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I believe the reason for the two files is that there are two weather stations.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">As you shared, the files have the following file name and location:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">                File Name                                                                                            GPS Coordinates<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">                2014  NM_SOCORRO-MUNI-AP             723620 93040         34.067 -106.900<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">                2014  NM_SOCORRO-MUNI                   723620 99999          34.022 -106.903<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Just putting them quickly in Google Maps (see image below), the one is the center of town and the other is the airport (about 3.5 miles apart).
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Therefore it would make sense that these are two separate stations.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">               
</span><img width="682" height="596" id="Picture_x0020_1" src="cid:image006.jpg@01D0EA23.DDD58FA0"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">This being said, the two stations should have similar data and therefore combining them into one file shouldn’t affect the model that much.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="margin-bottom:14.0pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Stephen Mayer, EIT, LEED AP BD+C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Mechanical Discipline<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE">————————————————————————————————————
<br>
</span><b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">M+W U.S., Inc.
</span></b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">– A Company of the M+W Group<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">380 Stonebreak Road Extension, P.O. Box 2318, Malta, NY 12020, USA<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">Phone +1 518-305-1614<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#528DD3"><a href="mailto:stephen.mayer@mwgroup.net">mailto:stephen.mayer@mwgroup.net</a>,
<a href="http://www.mwgroup.net/">www.mwgroup.net</a><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE">————————————————————————————————————
</span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#A4BBC1"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:18.0pt;font-family:Webdings;color:#5D9528">P
</span><b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#5D9528">Please consider the environment before printing this email
</span></b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#5D9528"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#A4BBC1">This electronic message transmission contains information from the firm of M+W Group and is confidential or privileged. The information
 is intended to be for the sole use of the individual or entity named herein. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic
 transmission in error, please notify us by telephone (972-535-7300) immediately and please then delete this electronic transmission.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Jones, Christopher [mailto:Christopher.r.Jones@wspgroup.com]
<br>
<b>Sent:</b> Friday, September 04, 2015 5:23 PM<br>
<b>To:</b> 'Jim Dirkes'; Joe Huang<br>
<b>Cc:</b> BLDG-SIM<br>
<b>Subject:</b> Re: [Bldg-sim] Sometimes things are easier than they seem re: merging raw data from two weather stations<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">Joe’s the greatest!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><img border="0" width="108" height="43" id="Picture_x0020_2" src="cid:image001.png@01D0EA22.96F4D600" alt="cid:image003.png@01D09C46.E75BA0D0"></span><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1C467A"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1C467A">Christopher Jones,</span></b><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">
</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">P.Eng.<i>
<br>
</i></span><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">Senior Engineer<b><o:p></o:p></b></span></p>
<p class="MsoNormal"><b><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">WSP Canada Inc.<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">2300 Yonge Street, Suite 2300<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">Toronto, ON M4P 1E4</span><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#595959"><br>
</span><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">T +1 416-644-4226<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">F +1 416-487-9766<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">C +1 416-697-0065<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><a href="http://www.wspgroup.com/">www.wspgroup.com</a>
</span><i><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#565656"><o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Bldg-sim [<a href="mailto:bldg-sim-bounces@lists.onebuilding.org">mailto:bldg-sim-bounces@lists.onebuilding.org</a>]
<b>On Behalf Of </b>Jim Dirkes<br>
<b>Sent:</b> Friday, September 04, 2015 4:31 PM<br>
<b>To:</b> Joe Huang<br>
<b>Cc:</b> BLDG-SIM<br>
<b>Subject:</b> Re: [Bldg-sim] Sometimes things are easier than they seem re: merging raw data from two weather stations<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;color:#B45F06">Joe,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;color:#B45F06">You're solving problems that most of the world has never even thought about.  Good work.<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, Sep 4, 2015 at 4:24 PM, Joe Huang <<a href="mailto:yjhuang@whiteboxtechnologies.com" target="_blank">yjhuang@whiteboxtechnologies.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I've just had a mini "Eureka" moment that I wanted to share.<br>
<br>
As I've been processing more weather data from the ISD, I've been countering more cases for smaller locations (mostly in the US) where there are two weather stations where the WMO numbers are the same for the first part but not for the smaller part. For example,
 for Socorro New Mexico there are two files:<br>
<br>
    2014  NM_SOCORRO-MUNI-AP             723620 93040 <br>
    2014  NM_SOCORRO-MUNI                   723620 99999 <br>
<br>
I generally interpret these cases as where a station may be switching their instrumentation.  However, in this case the two stations seem to be reporting at alternating times (table below shows the number of observations by month for the 4 key climate parameters
 that I need):<br>
<br>
NM_SOCORRO-MUNI-AP            723620         34.067 -106.900 1485 4  -7.0 NAM BSk<br>
2014 dbt   464  302  151  538  697  155    0*   0* 511  710  244    0*   419<br>
2014 dpt   462  297  148  535  696  154    0*   0* 505  710  244    0*   416<br>
2014 cld   451  245  108* 477  646  153    0*   0* 413  652  217    0*   373<br>
2014 wsp   464  302  151  538  697  155    0*   0* 510  710  244    0*   419<br>
2014 all  1841 1146  558 2088 2736  617    0    0 1939 2782  949    0<br>
<br>
NM_SOCORRO-MUNI               723620         34.022 -106.903 1485 4  -7.0 NAM BSk<br>
2014 dbt   259  389  610  161   41* 549  689  698  224    0* 444  684    431<br>
2014 dpt   256  385  607  159   38* 545  687  698  224    0* 443  684    429<br>
2014 cld   259  312  550  144   41* 549  598  583  182    0* 435  625    388<br>
2014 wsp   259  389  610  161   41* 549  689  698  224    0* 444  683    431<br>
2014 all  1033 1475 2377  625  161 2192 2663 2677  854    0 1766 2676<br>
<br>
I have software to merge data from two files but only at defined switchover dates, so this situation seemed at first quite hard to tackle. 
<br>
Then, I thought, why not just take concatenate the two raw data files, and then sort the combined file to get the data in the right<br>
chronological order?  That took me just a few seconds, and voila' ,  out comes a full weather file with quite high data completeness:<br>
<br>
NM_SOCORRO-MUNI-AP2           723620         34.067 -106.900 1485 4  -7.0 NAM BSk<br>
2014 dbt   713  643  714  690  710  690  689  698  688  710  687  691    693<br>
2014 dpt   713  643  714  690  710  690  687  698  688  710  687  690    693<br>
2014 cld   700  531  635  613  671  688  598  583  565  652  651  625    626<br>
2014 wsp   713  643  714  690  710  690  689  698  687  710  687  690    693<br>
2014 all  2839 2460 2777 2683 2801 2758 2663 2677 2628 2782 2712 2696<br>
<br>
A quick look at the plots also showed a weather file of seemingly good quality:<br>
<img border="0" width="486" height="291" id="_x0000_i1026" src="cid:image002.png@01D0EA22.96F4D600"><br>
<img border="0" width="486" height="291" id="_x0000_i1027" src="cid:image003.png@01D0EA22.96F4D600"><br>
<br>
Problem solved!<span style="color:#888888"><br>
<br>
<span class="hoenzb">Joe<o:p></o:p></span></span></p>
<pre><span style="color:#888888">-- </span><o:p></o:p></pre>
<pre><span style="color:#888888">Joe Huang<o:p></o:p></span></pre>
<pre><span style="color:#888888">White Box Technologies, Inc.<o:p></o:p></span></pre>
<pre><span style="color:#888888">346 Rheem Blvd., Suite 205A<o:p></o:p></span></pre>
<pre><span style="color:#888888">Moraga CA 94556<o:p></o:p></span></pre>
<pre><span style="color:#888888"><a href="mailto:yjhuang@whiteboxtechnologies.com" target="_blank">yjhuang@whiteboxtechnologies.com</a><o:p></o:p></span></pre>
<pre><span style="color:#888888"><a href="http://weather.whiteboxtechnologies.com" target="_blank">http://weather.whiteboxtechnologies.com</a> for simulation-ready weather data<o:p></o:p></span></pre>
<pre><span style="color:#888888">(o) <a href="tel:%28925%29388-0265" target="_blank">(925)388-0265</a><o:p></o:p></span></pre>
<pre><span style="color:#888888">(c) <a href="tel:%28510%29928-2683" target="_blank">(510)928-2683</a><o:p></o:p></span></pre>
<pre><span style="color:#888888">"building energy simulations at your fingertips"<o:p></o:p></span></pre>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Bldg-sim mailing list<br>
<a href="http://lists.onebuilding.org/listinfo.cgi/bldg-sim-onebuilding.org" target="_blank">http://lists.onebuilding.org/listinfo.cgi/bldg-sim-onebuilding.org</a><br>
To unsubscribe from this mailing list send  a blank message to <a href="mailto:BLDG-SIM-UNSUBSCRIBE@ONEBUILDING.ORG">
BLDG-SIM-UNSUBSCRIBE@ONEBUILDING.ORG</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">James V Dirkes II, PE, BEMP, LEED AP<br>
CEO/President<br>
The Building Performance Team Inc.<br>
1631 Acacia Dr, GR, Mi 49504<br>
<br>
Direct: 616.450.8653<br>
<a href="mailto:jim@buildingperformanceteam.com" target="_blank">jim@buildingperformanceteam.com</a><br>
<br>
<a href="http://buildingperformanceteamcom" target="_blank">Website </a>l  <a href="https://www.linkedin.com/pub/jim-dirkes/7/444/413" target="_blank">LinkedIn</a><o:p></o:p></p>
<p style="margin-bottom:6.0pt;text-autospace:none"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:blue">The body must be given a little less than it needs. Otherwise it will turn traitor.</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:gray"><br>
You are receiving this communication because you are listed as a current WSP contact. Should you have any questions regarding WSP’s electronic communications policy, please consult our Anti-Spam Commitment
<a href="www.wspgroup.com/casl">www.wspgroup.com/casl</a>. For any concern or if you believe you should not be receiving this message, please forward this message to us at
<a href="mailto:caslcompliance@wspgroup.com">caslcompliance@wspgroup.com</a> so that we can promptly address your request. This message is intended only for the use of the individual or entity to which it is addressed, and may contain information which is privileged,
 confidential, proprietary or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying
 or in any way using this message. If you have received this communication in error, please notify the sender, and destroy and delete any copies you may have received.
<br>
<br>
WSP provides professional land surveying services through the following entities: WSP Surveys (AB) Limited Partnership and WSP Surveys (BC) Limited Partnership
<o:p></o:p></span></p>
</div>
</div>
</body>
</html>