private void readEPW(object sender, EventArgs e) { string[] files = getFiles(); EPWReader epwr = new EPWReader(files); this.locdata = epwr.getData(); }
public EPWDownload() { StreamReader sr = new StreamReader("C:\\Users\\r.hudson\\Documents\\WORK\\piloto\\webDev\\data\\epwmaster.json"); string value = sr.ReadToEnd(); using (JsonTextReader reader = new JsonTextReader(new StringReader(value))) { this.epwData = (JObject)JToken.ReadFrom(reader); } JArray allposts = (JArray)this.epwData["features"]; getUrls(allposts); EPWReader epwreader = new EPWReader(this.urls); //reached Kirksville Regional Ap number 2048 }