Analyzing Data from the Cuba Meteorite Fall of Feb 1, 2019
Analyzing Data from the Cuba Meteorite Fall of Feb 1, 2019
Author: Jeff Bryant
meteoritesite=Entity["AdministrativeDivision",{"Vinales","PinarDelRio","Cuba"}]["Position"]
finalposition=GeoPosition[Join[meteoritesite[[1]],{Quantity[26000.,"Feet"],DateObject[{2019,2,1,18,21},TimeZone"UTC"]}]]
url="https://www.amsmeteors.org/members/imo_kml/view_trajectory_kml?event_id=513&event_year=2019&avg_start_height=80000&avg_end_height=41274.569406897&impact_location_lon=-83.947826518033&impact_location_lat=22.6421042042&end_visible_location_lon=-83.216019070606&end_visible_location_lat=23.60842985294&start_visible_location_lon=-82.505386608356&start_visible_location_lat=24.502650658255";alldata=Quiet[Import[url,"KML"]]
kmldata=Quiet[Import[url,{"KML","Data"}]];
"LayerName"/.kmldata
trajectorydata=Select[kmldata,!FreeQ[#,"Trajectory"]&]
pointsofinterest=Rule@@@Transpose[({"PlacemarkNames","Geometry"}/.trajectorydata)[[1]]]
geometricimpactpoint=("Geometric Impact Point"/.pointsofinterest)[[1]];
path=SortBy[Append[Cases[pointsofinterest,_Point,Infinity][[All,1]],geometricimpactpoint],-#[[1,2]]&];
estimatedtrajectory=GeoPosition[DeleteDuplicates[SortBy[("Estimated Trajectory"/.pointsofinterest)[[1,1]],-#[[2]]&]]];
GeoGraphics[{GeoMarker[finalposition],Blue,Line[path],GeoMarker[GeoPosition[geometricimpactpoint],"Color"Blue],Red,Arrow[estimatedtrajectory]},GeoRangeQuantity[200,"Miles"]]
GeoGraphics[{Red,Arrow[estimatedtrajectory],GeoMarker[finalposition],Orange,GeoVisibleRegion[finalposition]},GeoRangeQuantity[300,"Miles"]]
texture=GeoGraphics[{meteoritesite},GeoRangeQuantity[200,"Kilometers"],GeoGridLinesQuantity[20,"ArcMinutes"],ImageSize1920];Graphics3D[{ParametricPlot3D[{x,y,0},{x,-200,200},{y,-200,200},MeshNone,PlotStyleTexture[texture]][[1]],Red,PointSize[.01],Point[{0,0,QuantityMagnitude[Quantity[26000.,"Feet"],"Kilometers"]}],Line[{{0,0,QuantityMagnitude[Quantity[26000.,"Feet"],"Kilometers"]},{0,0,0}}]},Lighting"Neutral",BoxedFalse,AxesFalse,SphericalRegionTrue,ViewAnglePi/100,ImageSize550,ViewPoint{0.94,-3.14,0.83},ViewVertical{0,0,1}]
GeoGraphics[{RGBColor[1,0,0],GeoMarker[finalposition],Arrowheads[Medium],Arrow[estimatedtrajectory]},GeoRange{{25,28},{-100,-70}},GeoProjection{"VerticalPerspective","Centering"{30,-40}},GeoGridLinesQuantity[5,"AngularDegrees"],GeoGridLinesStyleDirective[Opacity[0.5`],GrayLevel[1]],GeoRangePaddingFull,GeoBackgroundGeoStyling["ReliefMap"],BackgroundHue[0.6`,1,0.2`],PlotRangePadding{{0.05`,0},{0.03`,0}}]