Commit 3759ed24 authored by Tianyang's avatar Tianyang
Browse files

Question3 finished

parent eb239d96
No preview for this file type
import cassandra.cluster
import csv
import re
def connection():
import cassandra.cluster
cluster = cassandra.cluster.Cluster(['localhost'])
session = cluster.connect('caitiany')
return session
def databaseCreate_Q3(session):
query = """
CREATE TABLE database_kmeans (
date timestamp,
lon float,
lat float,
station varchar,
tmpf float,
dwpf float,
relh float,
drct float,
sknt float,
p01i float,
alti float,
mslp float,
vsby float,
gust float,
skyc1 varchar,
skyc2 varchar,
skyc3 varchar,
skyc4 varchar,
skyl1 float,
skyl2 float,
skyl3 float,
skyl4 float,
wxcodes varchar,
ice_accretion_1hr float,
ice_accretion_3hr float,
ice_accretion_6hr float,
peak_wind_gust float,
peak_wind_drct float,
peak_wind_time varchar,
feel float,
metar varchar,
PRIMARY KEY ((date),lon,lat,station)
)"""
session.execute(query)
print("DATA BASE database_kmeans created!")
def load_data(filename):
with open(filename) as f:
for r in csv.DictReader(f):
if not r["valid"]:
continue
for collonne in r:
if r[collonne] == "M":
r[collonne]= "nan"
data = {}
data["date"] = r["valid"]
data["station"] = r["station"]
data["lon"] = float(r["lon"])
data["lat"] = float(r["lat"])
data["tmpf"] = float(r["tmpf"])
data["dwpf"] = float(r["dwpf"])
data["relh"] = float(r["relh"])
data["drct"] = float(r["drct"])
data["sknt"] = float(r["sknt"])
data["p01i"] = float(r["p01i"])
data["alti"] = float(r["alti"])
data["mslp"] = float(r["mslp"])
data["vsby"] = float(r["vsby"])
data["gust"] = float(r["gust"])
data["skyc1"] = r["skyc1"]
data["skyc2"] = r["skyc2"]
data["skyc3"] = r["skyc3"]
data["skyc4"] = r["skyc4"]
data["skyl1"] = float(r["skyl1"])
data["skyl2"] = float(r["skyl2"])
data["skyl3"] = float(r["skyl3"])
data["skyl4"] = float(r["skyl4"])
data["wxcodes"] = r["wxcodes"]
data["ice_accretion_1hr"] = float(r["ice_accretion_1hr"])
data["ice_accretion_3hr"] = float(r["ice_accretion_3hr"])
data["ice_accretion_6hr"] = float(r["ice_accretion_6hr"])
data["peak_wind_gust"] = float(r["peak_wind_gust"])
data["peak_wind_drct"] = float(r["peak_wind_drct"])
data["peak_wind_time"] = r["peak_wind_time"]
data["feel"] = float(r["feel"])
data["metar"] = r["metar"]
yield data
def insection_sql_Q3(filename,session):
target = load_data(filename)
i = 1
for data in target:
i += 1
k = 0
if (i % 500 == 0):
k += 1
print(k,". 500 finished.....")
ligne = (
data["date"],
data["lon"],
data["lat"],
data["station"],
data["tmpf"],
data["dwpf"],
data["relh"],
data["drct"],
data["sknt"],
data["p01i"],
data["alti"],
data["mslp"],
data["vsby"],
data["gust"],
data["skyc1"],
data["skyc2"],
data["skyc3"],
data["skyc4"],
data["skyl1"],
data["skyl2"],
data["skyl3"],
data["skyl4"],
data["wxcodes"],
data["ice_accretion_1hr"],
data["ice_accretion_3hr"],
data["ice_accretion_6hr"],
data["peak_wind_gust"],
data["peak_wind_drct"],
data["peak_wind_time"],
data["feel"],
data["metar"])
query = """
INSERT INTO database_kmeans(
date,
lon,
lat,
station,
tmpf,
dwpf,
relh,
drct,
sknt,
p01i,
alti,
mslp,
vsby,
gust,
skyc1,
skyc2,
skyc3,
skyc4,
skyl1,
skyl2,
skyl3,
skyl4,
wxcodes,
ice_accretion_1hr,
ice_accretion_3hr,
ice_accretion_6hr,
peak_wind_gust,
peak_wind_drct,
peak_wind_time,
feel,
metar)
VALUES(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)
"""
session.execute(query, ligne)
if __name__ == "__main__":
session = connection()
databaseCreate_Q3(session)
insection_sql_Q3("Projet-NF26/data.csv",session)
\ No newline at end of file
<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>
L_NO_TOUCH = false;
L_DISABLE_3D = false;
</script>
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.4.0/dist/leaflet.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.4.0/dist/leaflet.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>
<link rel="stylesheet" href="https://rawcdn.githack.com/python-visualization/folium/master/folium/templates/leaflet.awesome.rotate.css"/>
<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style>
<style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style>
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
#map_1009b66383ce4a40afd57b3730d45b1b {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
</style>
</head>
<body>
<div class="folium-map" id="map_1009b66383ce4a40afd57b3730d45b1b" ></div>
</body>
<script>
var map_1009b66383ce4a40afd57b3730d45b1b = L.map(
"map_1009b66383ce4a40afd57b3730d45b1b",
{
center: [38.510092986257455, -4.627508763681378],
crs: L.CRS.EPSG3857,
zoom: 5,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_8f39e008baea46f185addfc53a023b49 = L.tileLayer(
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
{"attribution": "Data by \u0026copy; \u003ca href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca href=\"http://www.openstreetmap.org/copyright\"\u003eODbL\u003c/a\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var marker_87f39d992da74fa59b01b0ff36498a69 = L.marker(
[27.818899154663086, -17.888900756835938],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_a0e955bdb6df4d6c8bb16346da12b251 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_87f39d992da74fa59b01b0ff36498a69.setIcon(icon_a0e955bdb6df4d6c8bb16346da12b251);
var popup_6f8d20e112ee48949150ba0c63058794 = L.popup({"maxWidth": "100%"});
var html_48c37511e9cf46c097e9e2b31a61848e = $(`<div id="html_48c37511e9cf46c097e9e2b31a61848e" style="width: 100.0%; height: 100.0%;">GCHI</div>`)[0];
popup_6f8d20e112ee48949150ba0c63058794.setContent(html_48c37511e9cf46c097e9e2b31a61848e);
marker_87f39d992da74fa59b01b0ff36498a69.bindPopup(popup_6f8d20e112ee48949150ba0c63058794)
;
var marker_f3bc8ec6855c480f8f72ae5d51e95964 = L.marker(
[28.633100509643555, -17.7549991607666],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_fab8e531512f42ef9bf2b6787bdcee01 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_f3bc8ec6855c480f8f72ae5d51e95964.setIcon(icon_fab8e531512f42ef9bf2b6787bdcee01);
var popup_c3a532ddf8a6463aab797d9c041177cc = L.popup({"maxWidth": "100%"});
var html_5e16db12f62349ad97ef699cc024988b = $(`<div id="html_5e16db12f62349ad97ef699cc024988b" style="width: 100.0%; height: 100.0%;">GCLA</div>`)[0];
popup_c3a532ddf8a6463aab797d9c041177cc.setContent(html_5e16db12f62349ad97ef699cc024988b);
marker_f3bc8ec6855c480f8f72ae5d51e95964.bindPopup(popup_c3a532ddf8a6463aab797d9c041177cc)
;
var marker_2157b18c5d71466bba3d29cee794dba0 = L.marker(
[28.047500610351562, -16.560800552368164],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_fc28c2d1059e414aa2a6900dc10a88b2 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_2157b18c5d71466bba3d29cee794dba0.setIcon(icon_fc28c2d1059e414aa2a6900dc10a88b2);
var popup_88fe609c2c884b33a6ddc4d824294f77 = L.popup({"maxWidth": "100%"});
var html_67b25c0914e04d259af4b408da0c3aa5 = $(`<div id="html_67b25c0914e04d259af4b408da0c3aa5" style="width: 100.0%; height: 100.0%;">GCTS</div>`)[0];
popup_88fe609c2c884b33a6ddc4d824294f77.setContent(html_67b25c0914e04d259af4b408da0c3aa5);
marker_2157b18c5d71466bba3d29cee794dba0.bindPopup(popup_88fe609c2c884b33a6ddc4d824294f77)
;
var marker_b1591913c77d472e817ea8670404328c = L.marker(
[27.922500610351562, -15.389399528503418],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_122639250f384277b01ef59b33f322b4 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_b1591913c77d472e817ea8670404328c.setIcon(icon_122639250f384277b01ef59b33f322b4);
var popup_6eb4be6ec23f466fbe094390a5ee96f8 = L.popup({"maxWidth": "100%"});
var html_d2263d02c080484eaf6816c07ead5ca0 = $(`<div id="html_d2263d02c080484eaf6816c07ead5ca0" style="width: 100.0%; height: 100.0%;">GCLP</div>`)[0];
popup_6eb4be6ec23f466fbe094390a5ee96f8.setContent(html_d2263d02c080484eaf6816c07ead5ca0);
marker_b1591913c77d472e817ea8670404328c.bindPopup(popup_6eb4be6ec23f466fbe094390a5ee96f8)
;
var marker_d3ef40ce4b424c488fe762ac3bdb899a = L.marker(
[28.444700241088867, -13.863100051879883],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_eaf436baee324d4898ab31796c484d39 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_d3ef40ce4b424c488fe762ac3bdb899a.setIcon(icon_eaf436baee324d4898ab31796c484d39);
var popup_f900a9638eff461d92317a246e00c91d = L.popup({"maxWidth": "100%"});
var html_f1c163d61e0f4d419fc5a341e635fc3f = $(`<div id="html_f1c163d61e0f4d419fc5a341e635fc3f" style="width: 100.0%; height: 100.0%;">GCFV</div>`)[0];
popup_f900a9638eff461d92317a246e00c91d.setContent(html_f1c163d61e0f4d419fc5a341e635fc3f);
marker_d3ef40ce4b424c488fe762ac3bdb899a.bindPopup(popup_f900a9638eff461d92317a246e00c91d)
;
var marker_67a26f31a7aa4e04919043638cbfcbee = L.marker(
[28.951900482177734, -13.600299835205078],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_9d5d9020e98e4823972bb1e376d87ec8 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_67a26f31a7aa4e04919043638cbfcbee.setIcon(icon_9d5d9020e98e4823972bb1e376d87ec8);
var popup_fea190d930b84dee8dc30e08eda2eb50 = L.popup({"maxWidth": "100%"});
var html_66e5b3bd510a45479df24189cba63895 = $(`<div id="html_66e5b3bd510a45479df24189cba63895" style="width: 100.0%; height: 100.0%;">GCRR</div>`)[0];
popup_fea190d930b84dee8dc30e08eda2eb50.setContent(html_66e5b3bd510a45479df24189cba63895);
marker_67a26f31a7aa4e04919043638cbfcbee.bindPopup(popup_fea190d930b84dee8dc30e08eda2eb50)
;
var marker_7377db2f59ca4bc38c55d093774ca472 = L.marker(
[42.23939895629883, -8.623900413513184],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_00d6844d010f40568fe0c275acae32cc = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_7377db2f59ca4bc38c55d093774ca472.setIcon(icon_00d6844d010f40568fe0c275acae32cc);
var popup_8234ed2790e54bb0b1706463c9b94706 = L.popup({"maxWidth": "100%"});
var html_5766354a08b64cf38e8b3325551df7f4 = $(`<div id="html_5766354a08b64cf38e8b3325551df7f4" style="width: 100.0%; height: 100.0%;">LEVX</div>`)[0];
popup_8234ed2790e54bb0b1706463c9b94706.setContent(html_5766354a08b64cf38e8b3325551df7f4);
marker_7377db2f59ca4bc38c55d093774ca472.bindPopup(popup_8234ed2790e54bb0b1706463c9b94706)
;
var marker_e028a2900ace49418c09c35ce468de5d = L.marker(
[42.88779830932617, -8.410799980163574],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_02a1e38d8c80486997cfccc96db25a41 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_e028a2900ace49418c09c35ce468de5d.setIcon(icon_02a1e38d8c80486997cfccc96db25a41);
var popup_7a0f417c462945cbb909866e0923c849 = L.popup({"maxWidth": "100%"});
var html_e84487782b1246c1ba9ffbc07a9ae557 = $(`<div id="html_e84487782b1246c1ba9ffbc07a9ae557" style="width: 100.0%; height: 100.0%;">LEST</div>`)[0];
popup_7a0f417c462945cbb909866e0923c849.setContent(html_e84487782b1246c1ba9ffbc07a9ae557);
marker_e028a2900ace49418c09c35ce468de5d.bindPopup(popup_7a0f417c462945cbb909866e0923c849)
;
var marker_124a1da4a01141408c31f61df23bbf6e = L.marker(
[43.30690002441406, -8.372200012207031],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_a5a795ec32a543519b3f08c971650ca8 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_124a1da4a01141408c31f61df23bbf6e.setIcon(icon_a5a795ec32a543519b3f08c971650ca8);
var popup_422fa9e6cb654204b6e782dd972468a5 = L.popup({"maxWidth": "100%"});
var html_4de3f9a326f24446b5b3202c031c07e1 = $(`<div id="html_4de3f9a326f24446b5b3202c031c07e1" style="width: 100.0%; height: 100.0%;">LECO</div>`)[0];
popup_422fa9e6cb654204b6e782dd972468a5.setContent(html_4de3f9a326f24446b5b3202c031c07e1);
marker_124a1da4a01141408c31f61df23bbf6e.bindPopup(popup_422fa9e6cb654204b6e782dd972468a5)
;
var marker_421ed95ba5594e87a07379644d29181c = L.marker(
[43.566898345947266, -6.0441999435424805],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_3c9c191c51fe48bebe61f90bba9cf4ff = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_421ed95ba5594e87a07379644d29181c.setIcon(icon_3c9c191c51fe48bebe61f90bba9cf4ff);
var popup_43b1f70bb83246d79f2c676e37ec216d = L.popup({"maxWidth": "100%"});
var html_bd616518757642c8874ebce831cd9627 = $(`<div id="html_bd616518757642c8874ebce831cd9627" style="width: 100.0%; height: 100.0%;">LEAS</div>`)[0];
popup_43b1f70bb83246d79f2c676e37ec216d.setContent(html_bd616518757642c8874ebce831cd9627);
marker_421ed95ba5594e87a07379644d29181c.bindPopup(popup_43b1f70bb83246d79f2c676e37ec216d)
;
var marker_b5db7b6099a5433dab047a48628ba830 = L.marker(
[41.70610046386719, -4.851900100708008],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_ff5c070d1d1e45ebb09bd017ff4204a4 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_b5db7b6099a5433dab047a48628ba830.setIcon(icon_ff5c070d1d1e45ebb09bd017ff4204a4);
var popup_ee2b12b94182489aa6ad10acb40272bc = L.popup({"maxWidth": "100%"});
var html_89f372b8092b409893db22a8615c19a6 = $(`<div id="html_89f372b8092b409893db22a8615c19a6" style="width: 100.0%; height: 100.0%;">LEVD</div>`)[0];
popup_ee2b12b94182489aa6ad10acb40272bc.setContent(html_89f372b8092b409893db22a8615c19a6);
marker_b5db7b6099a5433dab047a48628ba830.bindPopup(popup_ee2b12b94182489aa6ad10acb40272bc)
;
var marker_42f63fdc14eb484ba1b386b49c0ee713 = L.marker(
[43.42919921875, -3.831399917602539],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_571f009debbc4da09601931eb7ae538b = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_42f63fdc14eb484ba1b386b49c0ee713.setIcon(icon_571f009debbc4da09601931eb7ae538b);
var popup_d7ae9e38961d411fb836e2a43709f222 = L.popup({"maxWidth": "100%"});
var html_685f1318ebf244798cbdead8e0293377 = $(`<div id="html_685f1318ebf244798cbdead8e0293377" style="width: 100.0%; height: 100.0%;">LEXJ</div>`)[0];
popup_d7ae9e38961d411fb836e2a43709f222.setContent(html_685f1318ebf244798cbdead8e0293377);
marker_42f63fdc14eb484ba1b386b49c0ee713.bindPopup(popup_d7ae9e38961d411fb836e2a43709f222)
;
var marker_07789defe4f14657aa928068b4a1985e = L.marker(
[37.189701080322266, -3.789400100708008],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_15af7cb13cf74821a1ceaedc9218d5d4 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_07789defe4f14657aa928068b4a1985e.setIcon(icon_15af7cb13cf74821a1ceaedc9218d5d4);
var popup_31c433ee2fe044289e04d10ebe4cf629 = L.popup({"maxWidth": "100%"});
var html_4c742456e84b4095a8287557f0462132 = $(`<div id="html_4c742456e84b4095a8287557f0462132" style="width: 100.0%; height: 100.0%;">LEGR</div>`)[0];
popup_31c433ee2fe044289e04d10ebe4cf629.setContent(html_4c742456e84b4095a8287557f0462132);
marker_07789defe4f14657aa928068b4a1985e.bindPopup(popup_31c433ee2fe044289e04d10ebe4cf629)
;
var marker_9434a1867391498b8943a5cae104267e = L.marker(
[40.37779998779297, -3.7892000675201416],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_c9ed2b01910448d9bc68c4fc545412a3 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_9434a1867391498b8943a5cae104267e.setIcon(icon_c9ed2b01910448d9bc68c4fc545412a3);
var popup_7847bc6fc6894e79938a714a4a34e660 = L.popup({"maxWidth": "100%"});
var html_122ac81141a24bc6b5ea3b13893d71b4 = $(`<div id="html_122ac81141a24bc6b5ea3b13893d71b4" style="width: 100.0%; height: 100.0%;">LEVS</div>`)[0];
popup_7847bc6fc6894e79938a714a4a34e660.setContent(html_122ac81141a24bc6b5ea3b13893d71b4);
marker_9434a1867391498b8943a5cae104267e.bindPopup(popup_7847bc6fc6894e79938a714a4a34e660)
;
var marker_bdc22757111447fbb23cd87563470b92 = L.marker(
[40.46670150756836, -3.5555999279022217],
{}
).addTo(map_1009b66383ce4a40afd57b3730d45b1b);
var icon_85408f3aa75f44499bae32d6bc47977b = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
marker_bdc22757111447fbb23cd87563470b92.setIcon(icon_85408f3aa75f44499bae32d6bc47977b);
var popup_cc575e61aa9f43848911638c4e97f457 = L.popup({"maxWidth": "100%"});
var html_307ad40a7dbb404e8bdd93b8489cbedb = $(`<div id="html_307ad40a7dbb404e8bdd93b8489cbedb" style="width: 100.0%; height: 100.0%;">LEMD</div>`)[0];