What If All the Ice Melts

From MoxyWiki

What would happen if all the ice in the polar ice caps melts? How much would sea levels rise?

Based on information contained within the knowledge base, the sea level increase is predicted to be approximately 80 minfo.png
{
#Get the volume of ice
totalVolumeOfIce = sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Global_Grounded_Ice> prop:Volume ?x}");

#Get the volume in km3
totalVolumeOfIce = utConvert(totalVolumeOfIce, "km3",1);

#Fetch the ice density and water density
iceDensity = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Water_Ice> prop:Density ?x}"),'kg/m3',1);
waterDensity = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Water> prop:Density ?x}"),'kg/m3',1);

#Calculate the volume of water created when the ice melts
totalVolumeOfWater = totalVolumeOfIce * iceDensity / waterDensity;

#Get the area of the ocean
seaArea = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Ocean> prop:Area ?x}"),'km2',1);

#Divide the volume of water by the area of the ocean, and convert to meters
seaLevelIncrease = utConvert("km", "m", totalVolumeOfWater / seaArea);

#Return a string containing the units, rounded to the nearest 10 meters
paste(round(seaLevelIncrease, -1), "m");
}

Last calculated 72 weeks ago
.

The calculation of the sea level rise was determined by taking the total volume of Ice that is grounded, working out how much Water would be created if the Ice melted and then dividing by the area of the Ocean to establish a first order estimate.

Facts about What If All the Ice MeltsRDF feed
DecisionSituationWhat would happen if all the ice in the polar ice caps melts? How much would sea levels rise?  +
SeaLevelIncrease80 minfo.png
{
#Get the volume of ice
totalVolumeOfIce = sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Global_Grounded_Ice> prop:Volume ?x}");

#Get the volume in km3
totalVolumeOfIce = utConvert(totalVolumeOfIce, "km3",1);

#Fetch the ice density and water density
iceDensity = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Water_Ice> prop:Density ?x}"),'kg/m3',1);
waterDensity = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Water> prop:Density ?x}"),'kg/m3',1);

#Calculate the volume of water created when the ice melts
totalVolumeOfWater = totalVolumeOfIce * iceDensity / waterDensity;

#Get the area of the ocean
seaArea = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Ocean> prop:Area ?x}"),'km2',1);

#Divide the volume of water by the area of the ocean, and convert to meters
seaLevelIncrease = utConvert("km", "m", totalVolumeOfWater / seaArea);

#Return a string containing the units, rounded to the nearest 10 meters
paste(round(seaLevelIncrease, -1), "m");
}
  +