Philip P. Ide

Author, programmer, science enthusiast, half-wit.
Life is sweet. Have you tasted it lately?

User Tools

Site Tools


blog:aardvaark:mars_missions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:aardvaark:mars_missions [2020/08/01 05:05] Phil Ideblog:aardvaark:mars_missions [2022/04/23 09:01] (current) Phil Ide
Line 1: Line 1:
 ====== Mars Mission Locator ====== ====== Mars Mission Locator ======
 {{:blog:aardvaark:download.png?direct&200 |Mars Missions}} {{:blog:aardvaark:download.png?direct&200 |Mars Missions}}
-The location of all the missions that have gone to Mars can be confusing when you don't know where they went. Many missions never made it to the surface successfully, or had a malfunction that prevented them from working properly. Some of the landers introduced themselves to the surface with a little too much vigour.+The location of all the missions that have gone to Mars can be confusing when you don't know where they went. Many missions never made it to the surface successfully, or had a malfunction that prevented them from working properly. Some of the landers introduced themselves to the surface with a little too much vigour. Others sailed on past Mars never to be seen again.
  
 The map below details the NASA and ESA missions, including the intended landing sites of the upcoming NASA Mars2020 Perseverance Rover (and the Ingenuity helicopter), and the ESA ExoMars Rover (now slated for launch in 2022). I'll update the map at a later date with something a little less static, and include the USSR/RosCosmos missions, CNSA missions, and any others (such as ISRO, CSA and UAE) that might launch in the future. The map below details the NASA and ESA missions, including the intended landing sites of the upcoming NASA Mars2020 Perseverance Rover (and the Ingenuity helicopter), and the ESA ExoMars Rover (now slated for launch in 2022). I'll update the map at a later date with something a little less static, and include the USSR/RosCosmos missions, CNSA missions, and any others (such as ISRO, CSA and UAE) that might launch in the future.
Line 14: Line 14:
 <JS> <JS>
 //############# //#############
-var missions = [{"name":"InSight","code":"NSYT","status":true,"lat":4.502384,"lon":135.623447,"landed":"2018-11-26","agency":"NASA","vehicle_type":"lander","success":true},{"name":"Curiosity","code":"MSL","status":true,"lat":-4.589465,"lon":137.441635,"landed":"2012-08-06","agency":"NASA","vehicle_type":"lander","success":true},{"name":"Perseverance","code":"M20","status":false,"lat":18.670633,"lon":77.4298,"landed":"future","agency":"NASA","vehicle_type":"rover","success":false},{"name":"ExoMars 2022","code":"E22","status":false,"lat":18.2,"lon":335.45,"landed":"future","agency":"ESA","vehicle_type":"rover","success":false},{"name":"Phoenix","code":"PHX","status":false,"lat":68.21878,"lon":234.24845,"landed":"2008-05-25","agency":"NASA","vehicle_type":"lander","success":true},{"name":"Opportunity","code":"MERB","status":false,"lat":-1.9483,"lon":354.47417,"landed":"2004-01-25","agency":"NASA","vehicle_type":"lander","success":true},{"name":"Spirit","code":"MERA","status":false,"lat":-14.571892,"lon":175.47848,"landed":"2004-01-04","agency":"NASA","vehicle_type":"lander","success":true},{"name":"Pathfinder","code":"MPF","status":false,"lat":19.09985,"lon":326.74576,"landed":"1997-07-04","agency":"NASA","vehicle_type":"lander","success":true},{"name":"Viking Lander 2","code":"VL2","status":false,"lat":47.6698,"lon":134.2803,"landed":"1976-09-03","agency":"NASA","vehicle_type":"lander","success":true},{"name":"Viking Lander 1","code":"VL1","status":false,"lat":22.2715,"lon":312.04863,"landed":"1976-07-20","agency":"NASA","vehicle_type":"lander","success":true},{"name":"Beagle 2","code":"BEA","status":false,"lat":11.6,"lon":95.5,"landed":"","agency":"ESA","vehicle_type":"lander","success":false},{"name":"ExoMars Schiaparelli","code":"EDM","status":false,"lat":-2.07,"lon":353.79,"landed":"","agency":"ESA","vehicle_type":"lander","success":false},{"name":"Polar Lander","code":"MPL","status":false,"lat":-76.1,"lon":169.7,"landed":"","agency":"NASA","vehicle_type":"lander","success":false},{"name":"Mars 6","code":"M6","status":false,"lat":-23.9,"lon":345.58,"landed":"","agency":"USSR","vehicle_type":"lander","success":false},{"name":"Mars 3","code":"M3","status":false,"lat":-45,"lon":202,"landed":"","agency":"USSR","vehicle_type":"lander","success":false},{"name":"Mars 2","code":"M2","status":false,"lat":-45,"lon":47,"landed":"","agency":"USSR","vehicle_type":"lander","success":false}]+var missions = [{"name":"Mars Perseverance","code":"M20","status":true,"lat":18.44462715,"lon":77.45088572,"landed":"2021-02-18","agency":"","vehicle_type":"rover","success":true,"above":false,"left":false,"active":true},{"name":"Mars InSight","code":"NSYT","status":true,"lat":4.502384,"lon":135.974,"landed":"2018-11-26","agency":"","vehicle_type":"lander","success":true,"above":true,"left":false,"active":true},{"name":"MSL Curiosity","code":"MSL","status":true,"lat":-4.589465,"lon":137.441635,"landed":"2012-08-06","agency":"","vehicle_type":"rover","success":true,"above":false,"left":false,"active":true},{"name":"Zhurong","code":"TW1","status":true,"lat":25.1,"lon":109.9,"landed":"2021-05-14","agency":"CNSA","vehicle_type":"lander","success":true,"above":false,"left":false,"active":true},{"name":"ExoMars 2022","code":"E22","status":false,"lat":18.2,"lon":335.45,"landed":"future","agency":"ESA","vehicle_type":"rover","success":false,"above":false,"left":false},{"name":"Mars Phoenix","code":"PHX","status":false,"lat":68.21878,"lon":234.24845,"landed":"2008-05-25","agency":"","vehicle_type":"lander","success":true,"above":false,"left":false},{"name":"MER-B Opportunity","code":"MERB","status":false,"lat":-1.9483,"lon":354.47417,"landed":"2004-01-25","agency":"","vehicle_type":"rover","success":true,"above":false,"left":false},{"name":"MER-A Spirit","code":"MERA","status":false,"lat":-14.571892,"lon":175.47848,"landed":"2004-01-04","agency":"","vehicle_type":"rover","success":true,"above":false,"left":true},{"name":"Mars Pathfinder","code":"MPF","status":false,"lat":19.09985,"lon":326.74576,"landed":"1997-07-04","agency":"","vehicle_type":"lander","success":true,"above":true,"left":false},{"name":"Viking Lander 2","code":"VL2","status":false,"lat":47.6698,"lon":134.2803,"landed":"1976-09-03","agency":"","vehicle_type":"lander","success":true,"above":false,"left":false},{"name":"Viking Lander 1","code":"VL1","status":false,"lat":22.2715,"lon":312.04863,"landed":"1976-07-20","agency":"","vehicle_type":"lander","success":true,"above":false,"left":false},{"name":"Beagle 2","code":"BEA","status":false,"lat":11.53,"lon":90.43,"landed":"","agency":"","vehicle_type":"lander","success":false,"above":false,"left":false},{"name":"ExoMars Schiaparelli","code":"EDM","status":false,"lat":-2.07,"lon":353.79,"landed":"","agency":"NASA","vehicle_type":"lander","success":false,"above":true,"left":false},{"name":"Mars Polar Lander","code":"MPL","status":false,"lat":-76.1,"lon":169.7,"landed":"","agency":"","vehicle_type":"lander","success":false,"above":false,"left":false},{"name":"Mars 6","code":"M6","status":false,"lat":-23.9,"lon":345.58,"landed":"","agency":"","vehicle_type":"lander","success":false,"above":false,"left":false},{"name":"Mars 3","code":"M3","status":false,"lat":-45,"lon":202,"landed":"","agency":"","vehicle_type":"lander","success":false,"above":false,"left":false},{"name":"Mars 2","code":"M2","status":false,"lat":-45,"lon":47,"landed":"","agency":"","vehicle_type":"lander","success":false,"above":false,"left":false}];
 //############# //#############
 var backgroundImage = new Image(); var backgroundImage = new Image();
Line 40: Line 40:
   ctx.lineTo( 0, canvas.height );   ctx.lineTo( 0, canvas.height );
  
-  for( i = 20; i < 375; i += 20 ){+  for( i = 20; i < 375; i += 10 ){
     var v = Math.ceil(i*vw);     var v = Math.ceil(i*vw);
     ctx.moveTo( v, 0 );     ctx.moveTo( v, 0 );
Line 49: Line 49:
   }   }
   ctx.stroke();   ctx.stroke();
-  for( i = 20; i < 180; i +=20 ){+  for( i = 20; i < 180; i +=10 ){
     var v = Math.round(i*(canvas.height/180));     var v = Math.round(i*(canvas.height/180));
     ctx.moveTo( 0, v );     ctx.moveTo( 0, v );
Line 69: Line 69:
     if( !item.success && item.landed != "future" ){     if( !item.success && item.landed != "future" ){
         ctx.fillStyle = '#ff0000';         ctx.fillStyle = '#ff0000';
 +    }
 +    else if( item.landed == "future" ){
 +        //ctx.fillStyle = '#00ffe0';
 +        ctx.fillStyle = '#ffffff';
     }     }
     var posx = item.lon%180;     var posx = item.lon%180;
Line 81: Line 85:
     ctx.fill();     ctx.fill();
     ctx.closePath();     ctx.closePath();
-    posy = (item.code == "MPF") ? posy-10 : (index%5) ? posy+20 : posy-10;+    //posy = (item.code == "MPF") ? posy-10 : (index%4) ? posy+20 : posy-10
 +    posy = (item.above) ? posy-10 : posy+20; 
 +    posx = (item.left) ? posx-10 : posx;
     ctx.fillStyle = '#00ffe0';     ctx.fillStyle = '#00ffe0';
     ctx.fillText( item.code, posx, posy);     ctx.fillText( item.code, posx, posy);
Line 92: Line 98:
  
 for( i = 0; i < missions.length; i++ ){ for( i = 0; i < missions.length; i++ ){
 +    if( missions[i].above ) above = "Yes";
 +    else above = "-";
     var r = "<tr>"+     var r = "<tr>"+
                  "<td>"+missions[i].code+"</td>"+                  "<td>"+missions[i].code+"</td>"+
Line 97: Line 105:
                  "<td>"+missions[i].vehicle_type+"</td>"+                  "<td>"+missions[i].vehicle_type+"</td>"+
                  "<td>"+missions[i].landed+"</td>"+                  "<td>"+missions[i].landed+"</td>"+
-                 "<td>"+missions[i].agency+"</td>";+                 "<td>"+missions[i].agency+"</td>"
     if( missions[i].landed == "future" ){     if( missions[i].landed == "future" ){
         r += "<td>-</td><td>-</td>";         r += "<td>-</td><td>-</td>";
     }     }
     else {     else {
-        r += "<td>"+Yesno(missions[i].success, missions[i].landed != "future")+"</td>"++        r += "<td>"+Yesno(missions[i].success, false)+"</td>"+
              "<td>"+Yesno(missions[i].active, false)+"</td>";              "<td>"+Yesno(missions[i].active, false)+"</td>";
     }     }
 +    //r += "<td>"+Yesno(missions[i].above, false)+"</td>"
     table += r+"</tr>";     table += r+"</tr>";
 }; };
Line 117: Line 126:
 </JS> </JS>
 Data is culled (and then massaged) from the NASA/GISS software, Mars24. Data is culled (and then massaged) from the NASA/GISS software, Mars24.
 +
 +~~socialite~~
 +~~DISCUSSION~~
blog/aardvaark/mars_missions.1596258336.txt.gz · Last modified: 2020/08/01 05:05 by Phil Ide

Except where otherwise noted, content on this wiki is licensed under the following license: Copyright © Phil Ide
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki