Professional Documents
Culture Documents
Cloud
Doru Rotovei1
1 Introduction
Up until now we didn’t have a weather system that can be tested locally and be
adjusted before uploading or promoting it to a paid cloud system. In this paper
we present an exploration experiment where we took Personal Test Cloud and
integrated with a Java application to collect and present weather data vital in
a variety of experiments from biology to socio-economics.
3 Weather
Collecting weather data especially temperature is very important socially but
also economically. Business are relying on accurate data to take decisions that
will increase profit and reduce expenses.[7]
”Hottest Day of the Year” and ”Storm of the Decade” are common headlines
in newspapers around the world. Several places compete for the title of ”rainiest
spot on Earth,” while other locations try to avoid the menace of sandstorms.
Extreme weather often is destructive weather. Storms such as hurricanes and
tornadoes can cause deaths and millions of dollars worth of property damage.[5]
Prolonged heat waves and cold spells result in increased illness and death,
particularly among the very young and the elderly. Interactions among three el-
ements heat, air, and water are primarily responsible for weather. For example,
hurricanes often form as an air mass of low pressure that moves from east to west
over tropical seas. Hailstorms form in clouds that contain a lot of water. Torna-
does form because great differences in air pressure cause air to start spinning in
a tight, funnel-shaped formation. Weather scientists, called meteorologists, use
radar and other instruments to locate, track, and determine the extent of storms
and other types of extreme weather. They issue forecasts as well as watches and
warnings of approaching storms, so that people can prepare themselves for bad
weather.[6]
Weather being such an important element of our modern existence it goes
without saying that we need to be able to collect and to give access to the
weather information on Earth and outside Earth and we need a system to test
locally, in a local cloud, the new location before uploading it to a paid cloud.
4 Results
4.1 Installation of Personal Test Cloud
The installation of the PTC was relatively easy. We need just a good computer
that has a lot of RAM to allow creation of Virtual Machines.
Following [1] we can see that we would need to install Virtual Box, the
virtualization technology from Oracle. Once installed we need to deploy a Linux
like virtual machine that has been pre-configured to behave like a virtual cluster
(see Figures 1, 2 and 3 ).
Weather Cloudlet Once the PTC was up and running (see Figure 4) we
developed a Cloudlet for our Weather Application. The Test Cloudlet is taking
the weather information for the city of Timisoara and is logging this information
during the initialization. Below is the initialize method of the WeatherCloudlet:
@Override
public CallbackCompletion<Void> initialize
(final WeatherCloudletContext context,
final CloudletCallbackArguments<WeatherCloudletContext> arguments)
{
this.logger.info ("WeatherCloudlet initializing...");
If we launch our cloudlet we will see the following results in PTC logger:
WeatherCloudlet initializing...
{"coord":{"lon":21.23,"lat":45.75},"weather":[{"id":800,"main":"Clear",
"description":"Sky is Clear","icon":"01d"}],"base":"cmc stations",
"main":{"temp":270.27,"pressure":1025,"humidity":73,"temp_min":270.15,
"temp_max":270.37},"wind":{"speed":3.1,"deg":140},
"clouds":{"all":0},"dt":1451732782,
"sys":{"type":1,"id":6000,"message":0.0026,"country":"RO",
"sunrise":1451715367,"sunset":1451746930},"id":665087,"name":"Timisoara","cod":200}
Getting the weather and testing it in Personal Test Cloud was a big step forward.
There is still a lot to be done in this area. Here are few directions were the
research can be expanded:
5.1 Oceans
First of all, with the global warming ([8]) having the right temperature for the
marine life is vital.([9])
We can add temperature sensors in all oceans to monitor temperature changes.
Here we need to note some challenges need to be overcome when sensors mal-
function or temperature are too extreme e.g. South Pole vs Equator. We would
envision a special PTC located most probably at the South Pole where cooling
systems are not necessary.
6 Conclusions
In this paper we described a system of weather gathering and reporting that can
be run on PTC Personal Test Cloud with the purpose of expanding the reach of
weather information to any cloud and anywhere on the planet and outside the
planet.
The experiments showed that weather on PTC is a viable solution with long
and future benefits.
References
1. https://wiki.volution.ro/Mosaic/Notes/Platform/Tutorial
2. https://www.virtualbox.org
3. Portable Cloud Applications - from Theory to Practice Type of Publication: Jour-
nal article Publication Ref.: ISSN: 0167-739X Authors: Dana Petcu, Georgiana
Macariu, Silviu Panica, Ciprian Craciun Book/Journal Vol./Number: Future Gen-
eration Computer Systems Publisher: Elsevier Year of publication: 2012 Volume
EditorElsevier
4. http://openweathermap.org
5. Ooyama, K, V, 1990: A thermodynamic foundation for modeling the moist atmo-
sphere
6. Under the Weather: Health, Schooling, and Economic Consequences of Early-Life
Rainfall NBER Working Paper No. 14031 Issued in May 2008
7. Drought and saving in West Africa: are livestock a buffer stock? Journal of Devel-
opment Economics Volume 55, Issue 2, April 1998, Pages 273305
8. Glud, Ronnie; Wenzhfer, Frank; Middleboe, Mathias; Oguri, Kazumasa;
Turnewitsch, Robert; Canfield, Donald E.; Kitazato, Hiroshi (17 March 2013). ”High
rates of microbial carbon turnover in sediments in the deepest oceanic trench on
Earth”. Nature Geoscience.
9. Choi, Charles Q. (17 March 2013). ”Microbes Thrive in Deepest Spot on Earth”.
LiveScience. Retrieved 17 March 2013.
10. About the Space Station:Facts and Figures (October 2015)
11. From earth to the moon and then beyond - Technology and Science (NBC News
27 of May 2014)
12. United Nations Treaties and Principles on Outer Space. (PDF). United Nations.
New York. 2002. ISBN 92-1-100900-6. Retrieved 8 October 2011.
13. Thomson, Iain (10 May 2013). ”Penguins in spa-a-a-ce! ISS dumps Windows for
Linux on laptops”. The Register. Retrieved 15 May 2013.