{
  "id": 3331,
  "title": "Formatting error in weather_stations.csv",
  "url": "/competitions/flight/discussion/3331",
  "author_name": "",
  "post_date": "2012-12-14T17:27:59.367Z",
  "votes": null,
  "comment_count": 1,
  "views": 2437,
  "content": "<p>While parsing the weather_stations.csv file, I noticed small formatting error.&nbsp; This is &quot;semi-colon&quot; delimited file.&nbsp; One of the rows is missing a semi-colon.&nbsp; The symptom for me is my input routine kept terminating with an errror.</p>\r\n<p>The row in question is 4,085 with the ICAO station code of &quot;KSTZ&quot;.&nbsp;</p>\r\n<p>It is a minor nit but it did take a few minutes to determining whether the problem was due to my code or the data.</p>\r\n<p>I manually fixed the file by inserting a semi-colon in front of the string &quot;United States&quot; on that row.</p>",
  "messages": [
    {
      "id": "17832",
      "postDate": "12/14/2012 17:27:59",
      "content": "<p>While parsing the weather_stations.csv file, I noticed small formatting error.&nbsp; This is &quot;semi-colon&quot; delimited file.&nbsp; One of the rows is missing a semi-colon.&nbsp; The symptom for me is my input routine kept terminating with an errror.</p>\r\n<p>The row in question is 4,085 with the ICAO station code of &quot;KSTZ&quot;.&nbsp;</p>\r\n<p>It is a minor nit but it did take a few minutes to determining whether the problem was due to my code or the data.</p>\r\n<p>I manually fixed the file by inserting a semi-colon in front of the string &quot;United States&quot; on that row.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "17835",
      "postDate": "12/14/2012 17:58:12",
      "content": "<p>More fixes are needed. I'm hoping that the organizers decide to include http://weather.rap.ucar.edu/surface/stations.txt that contains more (still not all) weather stations.</p>\r\n<pre>diff --git a/data/Reference/weather_stations.csv b/data/Reference/weather_stations.csv<br>index 7101b26..93b9b34 100644<br>--- a/data/Reference/weather_stations.csv<br>&#43;&#43;&#43; b/data/Reference/weather_stations.csv<br>@@ -2463,7 &#43;2463,7 @@ KBIX;--;---;Keesler Air Force Base / Biloxi;MS;United States;4;30-25N;088-55W;;;<br> KBJC;--;---;Broomfield / Jeffco;CO;United States;4;39-55N;105-07W;;;1724;;<br> KBJI;72;755;Bemidji;MN;United States;4;47-30N;094-56W;;;423;420;P<br> KBJJ;--;---;WOOSTER WAYNE COUNTY AIRPORT;OH;United States;4;40-52N;81-53W;40-52-27N;081-52-54W;347;343;<br>-KBJN;72;282;Las Vegas, Tonopah Range #74 Nellis AFB;NV;United States;4;37-37-02;116-15-51W;;;1756;;<br>&#43;KBJN;72;282;Las Vegas, Tonopah Range #74 Nellis AFB;NV;United States;4;37-37-02N;116-15-51W;;;1756;;<br> KBKB;--;---;Ft. Polk, Fullerton Landing Strip;LA;United States;4;31-00N;092-97W;;;94;;<br> KBKE;--;---;BAKER MUNICIPAL AIRPORT;OR;United States;4;44-50N;117-49W;45-50-27N;117-48-25W;1027;1024;<br> KBKF;--;---;Aurora, Buckley Air Force Base Airport;CO;United States;4;39-42-36N;104-45-29W;;;1726;;<br>@@ -2650,7 &#43;2650,7 @@ KCRV;--;---;Nederland Mountain, Corona Pass;CO;United States;4;40-03-01N;105-35-<br> KCRW;72;414;YEAGER AIRPORT;WV;United States;4;38-22N;081-36W;38-21-44N;081-35-24W;299;309;<br> KCSG;--;---;COLUMBUS METROPOLITAN AIRPORT ;GA;United States;4;32-31N;84-57W;32-31-18N;084-56-39W;121;135;<br> KCSL;--;---;Camp San Luis Airport ;CA;United States;4;35-20N;120-44W;;;76;;<br>-KCSM;--;---;CLINTON-SHERMAN AIRPORT;OK;United States;4;35-21E;99-12W;35-21-05N;099-11-50W;586;588;<br>&#43;KCSM;--;---;CLINTON-SHERMAN AIRPORT;OK;United States;4;35-21N;99-12W;35-21-05N;099-11-50W;586;588;<br> KCSQ;--;---;Creston;IA;United States;4;41-01N;094-22W;;;394;;<br> KCSV;--;---;CROSSVILLE MEMORIAL AIRPORT ;TN;United States;4;35-57N;85-05W;35-57-14N;085-04-59W;573;570;<br> KCTB;--;---;CUT BANK MUNICIPAL AIRPORT;MT;United States;4;48-36N;112-23W;;;1175;;<br>@@ -4082,7 &#43;4082,7 @@ KSTP;--;---;DOWNTOWN HOLMAN FIELD;MN;United States;4;44-56N;093-03W;44-56-31N;09<br> KSTS;--;---;SANTA ROSA SONOMA COUNTY;CA;United States;4;38-30N;122-49W;38-30-16N;122-48-17W;38;39;<br> KSTT;--;---;CYRIL E. KING INT'L AIRPORT .;VI;United States;4;18-20N;064-59W;18-20-26N;064-58-30W;7;15;<br> KSTX;--;---;HENRY E. ROHLSEN;VI;United States;4;17-42N;064-48W;17-42-08N;064-47-56W;19;9;<br>-KSTZ;--;---;South Timbalier;United States;4;28-09-35N;090-39-59W;;;;;;<br>&#43;KSTZ;--;---;South Timbalier;;United States;4;28-09-35N;090-39-59W;;;;;;<br> KSUA;--;---;Stuart, Witham Field Airport;FL;United States;4;27-10-54N;080-13-16W;;;6;;<br> KSUE;--;---;Sturgeon Bay;WI;United States;4;44-51N;087-25W;;;221;;<br> KSUN;--;---;Hailey, Friedman Memorial Airport;ID;United States;4;43-30N;114-18W;;;1621;;<br>@@ -5384,7 &#43;5384,7 @@ PANT;70;398;ANNETTE ISLAND AIRPORT;AK;United States;4;55-02N;131-35W;55-02N;131-<br> PANV;--;---;Anvik, Anvik Airport;AK;United States;4;62-38-54N;160-11-23W;;;94;;<br> PAOH;--;---;Hoonah, Hoonah Seaplane Base;AK;United States;4;58-07N;135-27W;;;0;;<br> PAOM;70;200;NOME AIRPORT;AK;United States;4;64-31N;165-26W;64-30-32N;165-25-50W;11;4;<br>-PAOR;70;291;NORTHWAY AIRPORT;AK;United States;4;62-58N;141-56N;62-57-44N;141-56-10W;523;522;<br>&#43;PAOR;70;291;NORTHWAY AIRPORT;AK;United States;4;62-58N;141-56W;62-57-44N;141-56-10W;523;522;<br> PAOT;70;133;WIEN MEMORIAL AIRPORT;AK;United States;4;66-53N;162-36W;66-53-12N;162-36-31W;3;5;<br> PAPB;--;---;ST. GEORGE AIRPORT;AK;United States;4;56-35N;169-40W;;;38;;<br> PAPC;70;119;Port Clarence, Port Clarence Coast Guard Station;AK;United States;4;65-15N;166-51W;;;3;5;</pre>\r\n<p>&nbsp;</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 17835,
      "author_name": "melisgl",
      "author_url": "",
      "post_date": "12/14/2012 17:58:12",
      "content": "<p>More fixes are needed. I'm hoping that the organizers decide to include http://weather.rap.ucar.edu/surface/stations.txt that contains more (still not all) weather stations.</p>\r\n<pre>diff --git a/data/Reference/weather_stations.csv b/data/Reference/weather_stations.csv<br>index 7101b26..93b9b34 100644<br>--- a/data/Reference/weather_stations.csv<br>&#43;&#43;&#43; b/data/Reference/weather_stations.csv<br>@@ -2463,7 &#43;2463,7 @@ KBIX;--;---;Keesler Air Force Base / Biloxi;MS;United States;4;30-25N;088-55W;;;<br> KBJC;--;---;Broomfield / Jeffco;CO;United States;4;39-55N;105-07W;;;1724;;<br> KBJI;72;755;Bemidji;MN;United States;4;47-30N;094-56W;;;423;420;P<br> KBJJ;--;---;WOOSTER WAYNE COUNTY AIRPORT;OH;United States;4;40-52N;81-53W;40-52-27N;081-52-54W;347;343;<br>-KBJN;72;282;Las Vegas, Tonopah Range #74 Nellis AFB;NV;United States;4;37-37-02;116-15-51W;;;1756;;<br>&#43;KBJN;72;282;Las Vegas, Tonopah Range #74 Nellis AFB;NV;United States;4;37-37-02N;116-15-51W;;;1756;;<br> KBKB;--;---;Ft. Polk, Fullerton Landing Strip;LA;United States;4;31-00N;092-97W;;;94;;<br> KBKE;--;---;BAKER MUNICIPAL AIRPORT;OR;United States;4;44-50N;117-49W;45-50-27N;117-48-25W;1027;1024;<br> KBKF;--;---;Aurora, Buckley Air Force Base Airport;CO;United States;4;39-42-36N;104-45-29W;;;1726;;<br>@@ -2650,7 &#43;2650,7 @@ KCRV;--;---;Nederland Mountain, Corona Pass;CO;United States;4;40-03-01N;105-35-<br> KCRW;72;414;YEAGER AIRPORT;WV;United States;4;38-22N;081-36W;38-21-44N;081-35-24W;299;309;<br> KCSG;--;---;COLUMBUS METROPOLITAN AIRPORT ;GA;United States;4;32-31N;84-57W;32-31-18N;084-56-39W;121;135;<br> KCSL;--;---;Camp San Luis Airport ;CA;United States;4;35-20N;120-44W;;;76;;<br>-KCSM;--;---;CLINTON-SHERMAN AIRPORT;OK;United States;4;35-21E;99-12W;35-21-05N;099-11-50W;586;588;<br>&#43;KCSM;--;---;CLINTON-SHERMAN AIRPORT;OK;United States;4;35-21N;99-12W;35-21-05N;099-11-50W;586;588;<br> KCSQ;--;---;Creston;IA;United States;4;41-01N;094-22W;;;394;;<br> KCSV;--;---;CROSSVILLE MEMORIAL AIRPORT ;TN;United States;4;35-57N;85-05W;35-57-14N;085-04-59W;573;570;<br> KCTB;--;---;CUT BANK MUNICIPAL AIRPORT;MT;United States;4;48-36N;112-23W;;;1175;;<br>@@ -4082,7 &#43;4082,7 @@ KSTP;--;---;DOWNTOWN HOLMAN FIELD;MN;United States;4;44-56N;093-03W;44-56-31N;09<br> KSTS;--;---;SANTA ROSA SONOMA COUNTY;CA;United States;4;38-30N;122-49W;38-30-16N;122-48-17W;38;39;<br> KSTT;--;---;CYRIL E. KING INT'L AIRPORT .;VI;United States;4;18-20N;064-59W;18-20-26N;064-58-30W;7;15;<br> KSTX;--;---;HENRY E. ROHLSEN;VI;United States;4;17-42N;064-48W;17-42-08N;064-47-56W;19;9;<br>-KSTZ;--;---;South Timbalier;United States;4;28-09-35N;090-39-59W;;;;;;<br>&#43;KSTZ;--;---;South Timbalier;;United States;4;28-09-35N;090-39-59W;;;;;;<br> KSUA;--;---;Stuart, Witham Field Airport;FL;United States;4;27-10-54N;080-13-16W;;;6;;<br> KSUE;--;---;Sturgeon Bay;WI;United States;4;44-51N;087-25W;;;221;;<br> KSUN;--;---;Hailey, Friedman Memorial Airport;ID;United States;4;43-30N;114-18W;;;1621;;<br>@@ -5384,7 &#43;5384,7 @@ PANT;70;398;ANNETTE ISLAND AIRPORT;AK;United States;4;55-02N;131-35W;55-02N;131-<br> PANV;--;---;Anvik, Anvik Airport;AK;United States;4;62-38-54N;160-11-23W;;;94;;<br> PAOH;--;---;Hoonah, Hoonah Seaplane Base;AK;United States;4;58-07N;135-27W;;;0;;<br> PAOM;70;200;NOME AIRPORT;AK;United States;4;64-31N;165-26W;64-30-32N;165-25-50W;11;4;<br>-PAOR;70;291;NORTHWAY AIRPORT;AK;United States;4;62-58N;141-56N;62-57-44N;141-56-10W;523;522;<br>&#43;PAOR;70;291;NORTHWAY AIRPORT;AK;United States;4;62-58N;141-56W;62-57-44N;141-56-10W;523;522;<br> PAOT;70;133;WIEN MEMORIAL AIRPORT;AK;United States;4;66-53N;162-36W;66-53-12N;162-36-31W;3;5;<br> PAPB;--;---;ST. GEORGE AIRPORT;AK;United States;4;56-35N;169-40W;;;38;;<br> PAPC;70;119;Port Clarence, Port Clarence Coast Guard Station;AK;United States;4;65-15N;166-51W;;;3;5;</pre>\r\n<p>&nbsp;</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "17832": "",
    "17835": ""
  },
  "source": "meta"
}