CPE REport
CPE REport
CPE REport
PROJECT REPORT ON
“WEATHER FORECASTING FOR FARMING”
FOR THE DIPLOMA IN COMPUTER ENGINEERING
SUBMITTED BY
LAKADE SWATI MANOHAR
AND
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION, MUMBAI
PROJECT REPORT ON
SUBMITTED BY
YEAR 2022-2023
CHHATRAPATI SHAHU MAHARAJ SHIKSHAN SANSTHA’S
COLLEGE OF POLYTECHNIC
CERTIFICATE
This is to certify that Ms. LAKADE SWATI MANOHAR from (Institute)
CSMSS College of Polytechnic having Enrolment No. 1911520064 have
Completed Project of final year having title “Weather Forecasting For Farming”
during academic year 2022-23. The project completed by individually under the
guidance of the Faculty guide.
A special thanks of our goes to our friends who helped us in completing the project, where
they all exchanged their own interesting ideas. We wish to thanks our parents for their personal
support or attention who inspired us to go our own way. Finally, we would like to thank God
who made all things possible for us till the end.
I
CONTENT
2. LITERATURE SURVEY: 4
2.1 Problem Statemen 4
3. SCOPE OF PROJECT:
3.1 Advantages 5
3.2 Features 5
4. METHODOLOGY: 6
4.1 Main module and sub modules 6
4.2 Planned resources 6
4.3.1 Project stage 6
4.3.2 Project Stage
4.4 Project Flow 7
4.5 What is html 7
4.6 What is CSS 7
4.7 What is Javascript7
5. DETAIL OF WORKING: 8
5.1 Team structure. 9
5.2 Development schedule and milestone 9
5.3 Development tools 10
II
6.1.8 Read article 14
6.1.9 Write article 15
6.1.10 About Us 15
6.2 coding
6.2.1 Weather.py 16
6.2.2 Main.html 19
6.2.3 Main.css 20
6.2.4 Kharif.html 25
6.2.5 Rabi.html 39
6.2.6 Zaid.html 33
6.2.7 Display.php 35
6.2.8 WA.html 38
6.2.9 Database.php 39
8. REFERENCES: 42
III
LIST OF TABLES
IV
LIST OF FIGURES
V
LIST OF SCREENSHOTS
VI
CSMSS College Of Polytechnic, Aurangabad
Chapter 1: Introduction
The weather at place is always varying with time. Its variability is not only confined with time
scale but also variable with space. More often; we assume that it behaves as usual as, we
expect. Many a time we come across a situation where the unexpected changes in weather
parameters have been observed beyond our expectation. In that situation we try to find a way
to know this unexpected changes and how this had happened. Because in our daily life one
should know whether raincoat or umbrella is required or not? These are all everyday
questions we might only be able to answer with the help of a weather forecast. It is imperative
to know when the extreme weather events likely to happen i.e. heavy rainfall, heat and cold
waves, occurrence of frost or cloud, high wind and so on so forth either on qualitative or
quantitative basis. A farmer is also in need to know the prior information about the behavior
weather parameters for their day to day crop management. So first we need to know what is
weather forecasting.
Neural Network, Evolutionary computing, Genetic Algorithm etc. In this paper description
about status, scope, types, role, significance, limitations, techniques and ITKs of weather
forecasting in India. Keywords Weather forecasting, Indigenous Technological Knowledge
(ITK). Accepted: 07 September
2017 Available Online: 10 November 2017 Article Info
Background Study
For hospitals, a blood bank known as blood collection center, also is an area in which
collected blood bags are stored and preserved for future use in blood transfusion services.
Blood transfusion is a medical operation where a patient requires blood or blood products as a
life saving measure. In a report by Ministry of Health(MoH) in its website, it mentioned that
the total amount of blood donated annually in Muscat is approximately 25,084 units. MoH
further reported that its Department of Blood Services is functioning at full capacity to meet
the demands in the Sultanate.
2
CSMSS College Of Polytechnic, Aurangabad
Most blood banks are still running manual system in its processes. As such, there is a lack of
efficiency because it is still paper-based in collecting information about donors, inventories of
blood bags, and blood transfusion services. The lack of proper documentation may endanger
patients’ health due to the possibility of having contaminate blood bags. Contamination
happened when there is an incomplete donors’ medical history record and the blood bags’
shelf life is not monitored properly. Hence, a web-based blood bank management system
might be needed to address these issues and problems encountered to ensure blood transfusion
safety.
Action plan:
3
CSMSS College Of Polytechnic, Aurangabad
Weather forecasting will help farmers to plan their many day to day decisions. But in case
some farmers can face difficulties in operating smartphones or in understanding other
languages than Marathi.
4
CSMSS College Of Polytechnic, Aurangabad
The main conceptual idea of the Weather Forecasting is based on a application that predicts
the weather. This prediction / Weather Forecast Will help farmers to know when to apply the
Pests And Chemicals to avoid the crop wastage.
Advantages :
• This useful for manage the data of Agriculture .
• Easy to Access data
• Easy to use and handle.
Features :
• Data Consistency.
• Easy to use and handle.
• Easily maintainable and accessable.
• Maintaining the Data of users.
• Removal of Data Redundancy .
5
CSMSS College Of Polytechnic, Aurangabad
Chapter 4 : Methodology
• News
• About Us
Planned Resources :
Poject Stage:
6
CSMSS College Of Polytechnic, Aurangabad
What is HTML
• HTML stands for Hyper Text Markup Language
• HTML is the standard markup language
• for creating Web pages .HTML describes the structure of a Web page
• HTML consists of a series of elements
• HTML elements tell the browser how to display the content
• HTML elements label pieces of content such as "this is a heading", "this is a
paragraph" , "this is a link", etc.
What is CSS
7
CSMSS College Of Polytechnic, Aurangabad
the web, which can be used to design / program how the web pages behave on the occurrence
of an event. JavaScript is an easy to learn and also powerful scripting language, widely used
for controlling web page
The basic syntax is intentionally similar to both Java and C++ to reduce the number of
new concepts required to learn the language. Language constructs, such as if statements, for
and while loops, and switch and try ... catch blocks function the same as in these languages
(or nearly so). JavaScript can function as both a procedural and an object oriented language.
Objects are created programmatically in JavaScript, by attaching methods and properties to
otherwise empty objects at run time, as opposed to the syntactic class definitions common in
compiled languages like C++ and Java. Once an object has been constructed it can be used as
a blueprint (or prototype) for creating similar objects. JavaScript is a scripting or
programming language that allows you to implement complex features on web pages — every
time a web page does more than just sit there and display static information for you to look at
— displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling
video jukeboxes, etc. — you can bet that JavaScript is probably involved. It is the third layer
of the layer cake of standard web technologies, two of which (HTML and CSS) we have
covered in much more detail in other parts of the Learning Area.
8
CSMSS College Of Polytechnic, Aurangabad
Above table shows the team structure of our team for developing this project. Different types
of work have been done by different team member.
9
CSMSS College Of Polytechnic, Aurangabad
1. Computer System Processor Intel Core i5, RAM 8 GB, 1TB HDD
12
CSMSS College Of Polytechnic, Aurangabad
14
CSMSS College Of Polytechnic, Aurangabad
fig: About Us
15
CSMSS College Of Polytechnic, Aurangabad
6.2 Coding :
6.2.1 Weather.py
condition =
json_date['weather'][0]['main']
16
CSMSS College Of Polytechnic, Aurangabad
description =
json_date['weather'][0]['description']
temp = int(json_date['main']['temp']-
273.15) pressure =
json_date['main']['pressure'] humidity
= json_date['main']['humidity'] wind
= json_date['wind']['speed']
t.config(text=(temp,"°"))
c.config(text=(condition,"|","FEELS","LIKE",temp,"°"))
w.config(text=(wind,"km/h"))
h.config(text=(humidity,"%"))
d.config(text=description)
p.config(text=(pressure,"H
g")) except Exception as e:
messagebox.showerror("Weather Pridiction","Invalid Entry!!")
#serach box
Search_image =
PhotoImage(file="search.png") myimage =
Label(image=Search_image)
myimage.place(x=20,y=20)
textfield =
tk.Entry(root,justify="center",width=17,font=("poppins",25,"bold"),bg="#404040",border=0
,fg="white") textfield.place(x=50,y=40) textfield.focus()
Search_icon = PhotoImage(file="search_icon.png")
myimage_icon =
Button(image=Search_icon,borderwidth=0,cursor="hand2",bg="#404040",command=
getWeather) myimage_icon.place(x=400,y=34)
#logo logo_image =
PhotoImage(file="logo.png")
logo =
Label(image=logo_image)
logo.place(x=150,y=100)
17
CSMSS College Of Polytechnic, Aurangabad
#Bottom box
Frame_image = PhotoImage(file="box.png")
frame_myimage = Label(image=Frame_image)
frame_myimage.pack(padx=5,pady=5,side=BOT
TOM)
#Time name =
Label(root,font=("arial",15,
"bold"))
name.place(x=30,y=100) clock
=
Label(root,font=("Helvetica",2
0)) clock.place(x=30,y=130)
#label label1 =
Label(root,text="WIND",font=("Helvetica",15,'bold'),fg="white",bg="#1ab5ef" )
label1.place(x=120,y=400) label2 =
Label(root,text="HUMIDITY",font=("Helvetica",15,'bold'),fg="white",bg="#1ab5ef"
) label2.place(x=250,y=400) label3 =
Label(root,text="DESCRIPTION",font=("Helvetica",15,'bold'),fg="white",bg="#1ab5
ef" ) label3.place(x=430,y=400) label4 =
Label(root,text="PRESSURE",font=("Helvetica",15,'bold'),fg="white",bg="#1ab5ef" )
label4.place(x=650,y=400) t = Label(font=("arial",70,"bold"),fg="red")
t.place(x=400,y=150) c = Label(font=("arial",15,"bold")) c.place(x=400,y=250) w =
Label(text="...",font=("arial",20,"bold"),bg="#1ab5ef") w.place(x=120,y=430) h =
Label(text="...",font=("arial",20,"bold"),bg="#1ab5ef") h.place(x=280,y=430) d =
Label(text="...",font=("arial",20,"bold"),bg="#1ab5ef") d.place(x=450,y=430) p =
Label(text="...",font=("arial",20,"bold"),bg="#1ab5ef") p.place(x=670,y=430) # Lbl =
ttk.Label( text
= "Button Not Click ")
# Lbl.pack()# Click event
def click(): action.configure(open_new("http://127.0.0.1:5500/html/main.html"))
#http://127.0.0.1:5500/html/main.html
# Lbl.configure(foreground = 'red')
18
CSMSS College Of Polytechnic, Aurangabad
6.2.2 main.html
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Agro-Culture</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='main.css'>
</head>
<body >
<h1 class="neon">Agro-Culture</h1>
<div class="stage">
<a href="Kharif.html"><button class="btn" id="btn1"> Kharif </button></a>
<a href="Rabi.html"><button class="btn" id="btn2"> Rabi </button></a>
<a href="Zaid.html"><button class="btn" id="btn3"> Zaid </button></a>
</div>
<div class="topnav">
<a class="active" >Home</a>
<a href="http://farmer.gov.in/">News</a>
<div class="dropdown">
<button class="dropbtn">Article
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-content">
19
CSMSS College Of Polytechnic, Aurangabad
6.2.3 Main.css
body {
margin: 0;
/* padding-top: 0ex; */
font-family: Arial, Helvetica,
sans-serif; background-
image:url('bg1.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-size: 100% 100%;
}
.topnav {
overflow:
20
CSMSS College Of Polytechnic, Aurangabad
hidden;
backgroun
d-color:
#333;
position:
relative;
display:
inline;
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px
16px; text-
decoration: none;
font-size: 17px; }
.topnav a:hover {
background-color:
#ddd; color:
black;
}
.topnava.active {
background-color:
#04AA6D; color:
white; }
/*
width
*/ ::-
webkit-
scrollba
r{
21
CSMSS College Of Polytechnic, Aurangabad
width:
10px;
}
/* Track */ ::-
webkit-
scrollbar-
track {
background:
#f1f1f1; }
/* Handle */ ::-webkit-
scrollbar-thumb {
background: #888;
}
/* Handle on hover
*/ ::-webkit-
scrollbar-
thumb:hover {
background: #555; }
.dropdown {
float:
left;
overflow:
hidden;
}
.dropdown
.dropbtn {
font-size: 16px;
border: none;
outline: none;
color: white;
padding: 14px
22
CSMSS College Of Polytechnic, Aurangabad
16px;
background-
color: inherit;
font-family:
inherit;
margin: 0;
}
.navbar a:hover, .dropdown:hover .dropbtn {
background-color: red;
}
.dropdown-content { display:
none; position: absolute;
background-color: #f9f9f9; min-
width: 160px; box-shadow: 0px
8px 16px 0px rgba(0,0,0,0.2); z-
index: 1;
}
.dropdo
wn-
content
a { float:
none;
color:
black;
padding:
12px 16px;
text-
decoration:
none;
display: block;
text-align: left;
23
CSMSS College Of Polytechnic, Aurangabad
}
.dropdown-content a:hover {
background-color: #ddd;
}
.dropdown:hover .dropdown-
content { display: block;
}
/* heading */ .neon { text-align:
center; position: absolute; top: 30px;
left: 450px; font-size: 80px; color:
#d0f7ff; text-shadow: 0 0 5px
#4fcce2, 0 0 10px #A5F1FF,
0 0 20px #A5F1FF, 0 0 30px #A5F1FF,
0 0 40px #A5F1FF;
}
/*button */ .stage { box-sizing: border-box; position: absolute; left: 0; top: 0;
width: 100vw; height: 100vh; overflow: hidden;
display: flex; align-items: center; justify-content: center;
}
#btn1 { width: 150px; font-size: 20px; height: 60px; border: none; outline:
none; background: #c38b8b; color: #fff; position: absolute; left: 565px; top:
280px; z-index: 0; border-radius: 10px;
} #btn2 { width: 150px; font-size: 20px; height: 60px; border: none; outline:
none; background: #c38b8b; color: #fff; position: absolute; left: 565px; top:
350px;
z-index: 0; border-radius: 10px; } #btn3 { width: 150px; font-size: 20px; height:
60px; border: none; outline: none; background: #c38b8b; color: #fff; position:
absolute; left: 565px; top: 420px; z-index: 0; border-radius: 10px;
} #btn4 { width: 150px; font-size: 20px; height: 60px; border: none; outline:
none; background: #c38b8b; color: #fff; position: absolute; left: 565px; top:
490p; z-index: 0; border-radius: 10px;
}
.btn::before { position: absolute; content: "";
width: calc(100% + 4px); height: calc(100% + 4px); left: -2px; top: -2px;
background: linear-gradient(
124deg,
#ff2400,
#e81d1d,
#e8b71d, #e3e81d,
#1de840,
24
CSMSS College Of Polytechnic, Aurangabad
#1ddde8,
#2b1de8,
#dd00f3,
#dd00f3
);
background-size: 400%; z-index: -1; filter: blur(5px); animation: move 20s linear
infinite; opacity: 0; transition: opacity 0.3s ease-in-out; border-radius: 10px;
}
.btn:hover::before { opacity: 1;
}
6.2.4 Kharif.html
<!DOCTYPE html>
<html>
<head><style> body{
background-image:
url('wave2.png');
background-repeat: no-
repeat; background-
size: cover;
} h1{ color:
rgb(200, 0, 255);
} .all-browsers {
margin: 0;
25
CSMSS College Of Polytechnic, Aurangabad
padding: 5px;
background-
color: lightgray;
}
.all-browsers >
h1, .browser {
margin: 10px;
padding: 5px; }
.browser {
background:whit
esmoke; font-
size: large; }
.browser > h2, p
{ margin: 4px;
font-size: 90%; }
</style>
</head>
<body>
<h1>KHARIF SEASON</h1>
<article class="all-browsers">
<article class="browser">
<p>
<h3>What is Kharif</h3>
Kharif crops, also known as monsoon crops or autumn crops, are domesticated plants that are
cultivated and harvested in India, Pakistan and Bangladesh during the Indian
subcontinent's monsoon season, which lasts from June to November depending on the area.
Monsoon rains may begin as early as May in some parts of the Indian subcontinent, and
crops are generally
harvested from the third week of September to October. Rice, maize, and cotton are some
of the major Kharif crops in India.
Unlike the Rabi crops, which are grown in the winter, the kharif crops require good
rainfall.
</p>
26
CSMSS College Of Polytechnic, Aurangabad
<p2>
The Kharif season varies by crop and region, starting at the earliest in May and ending
at the latest in January.
In India, the season is popularly considered to start in June and end in October. Kharif
crops are usually sown at the beginning of the first rains during the advent of the south-west
monsoon season, and they are harvested at the end of monsoon season (October-
November).
Monsoon sowing dates vary, occurring toward the end of May in the southern state of
Kerala and reaching July in some north Indian states.
In other regions like Maharashtra, the west coast of India, and Pakistan, which receive
rains in June, Kharif crops are sown in May, June and July.
In Bangladesh, Kharif crops are usually sown with the beginning of the first rains in June.
These crops are dependent on the quantity of rainwater as well as its timing. Too much,
too little, or rain at the wrong time may lay waste to the whole year's efforts.
Kharif crops stand in contrast to the rabi crops, which are cultivated during the dry season.
</p2>
</article>
</article>
<h2>Crops in Kharif</h2>
<ol>
<h2>CEREALS</h2>
<li>Jowar</li>
<li>Maize (corn)</li>
<li>Millet</li>
<li> Rice (paddy and deepwater rice)</li>
</ol>
<ol>
<h2>FRUITS</h2>
<li>Almonds</li>
<li>Apples (corn)</li>
<li>Apricots</li>
<li>Bananas</li>
<li>Cantaloupe</li>
<li>Chikoo</li>
27
CSMSS College Of Polytechnic, Aurangabad
<li>Coconut</li>
<li>Dates</li>
<li>Figs</li>
<li>Guava</li>
<li>Jaman</li>
<li>Litchi</li>
<li>Luffa</li>
<li>Litchi</li>
<li>Mango</li>
<li>Muskmelon</li>
<li>Orange</li>
<li>Pomegrante</li>
<li>Plums</li>
<li>Pears</li>
<li>Phalsa</li>
<li>Papaya</li>
<li>Peaches</li>
<li>Sarda</li>
<li>Sugarcane</li>
<li>Walnut</li>
<li>Watermelon</li>
</ol>
<ol>
<h2>SEED PLANTS</h2>
<li>Arhar (tur)</li>
<li>Black gram (urad)</li>
<li>Cotton</li>
<li>Cowpea (chavala)</li>
<li>Green gram (moong)</li>
<li>Groundnut</li><li>
Guar</li>
<li>Moth bean</li>
28
CSMSS College Of Polytechnic, Aurangabad
<li>Mung bean</li>
<li>Sesame (til)</li>
<li>Soybean</li>
<li>Urad bean</li>
<li>Red gram (Pegion pea)</li>
<li>Fennel (Saunf)</li>
</ol>
<ol>
<h2>VEGETABLES</h2>
<li>Bitter gourd (karela)</li>
<li>Bottle gourd</li>
<li>Brinjal</li>
<li>Chili</li>
<li>Green bean</li>
<li>Ladies' fingers</li>
<li>Sponge gourd</li>
<li> Tinda</li><li>Tomato</li>
<li> Turmeric</li>
</ol>
</body>
</html>
6.2.5 Rabi.html
<!DOCTYPE html>
<html>
<head><style> body{
background-image:
url('wave2.png');
background-repeat: no-
repeat; background-
size: cover;
29
CSMSS College Of Polytechnic, Aurangabad
} h1{ color:
rgb(157, 255, 0);
} .all-browsers {
margin: 0;
padding: 5px;
background-
color: lightgray;
}
.all-browsers >
h1, .browser {
margin: 10px;
padding: 5px; }
.browser {
background:whit
esmoke; font-
size: large; }
.browser > h2, p {
margin:
4px; font-
size: 90%;
}
</style>
</head>
<body>
<h1>RABI SEASON</h1>
<article class="all-browsers">
<article class="browser">
<p>
<h3>What is Rabi</h3>
Rabi crops or rabi harvest, also known as winter crops, are agricultural crops that are
sown in winter and harvested in the spring in India, Pakistan and Bangladesh.
The complimentary of the rabi crop is the kharif crop, which is grown after the rabi and
zaid (zaa-id) crops are harvested one after another respectively.
30
CSMSS College Of Polytechnic, Aurangabad
The rabi crops are sown around mid-November, preferably after the monsoon rains are
over, and harvesting begins in April / May.
The crops are grown either with rainwater that has percolated into the ground or using
irrigation. Good rain in winter spoils the rabi crops but is good for kharif crops.
The major rabi crop in India is wheat, followed by barley, mustard, sesame and peas.
Peas are harvested early, as they are ready early: Indian markets are flooded with green
peas from January to March, peaking in February.
Many crops are cultivated in both kharif and rabi seasons. The agriculture crops produced
in India are seasonal in nature and highly dependent on these two monsoons.
</p>
</article>
</article>
<h2>Crops in Kharif</h2>
<ol>
<h2>CEREALS</h2>
<li>barley</li>
<li>gram (corn)</li>
<li>rapeseed</li>
<li> mustard</li>
<li> oat (Avena sativa)</li>
<li> Wheat</li>
<li> Linseed</li>
</ol>
<ol>
<h2>FRUITS</h2>
<li>barley</li>
<li>gram (corn)</li>
</ol>
<ol>
<h2>LEGUMES / LENTILS (DAL)</h2>
<li>bchickpea</li>
<li>kulthi</li>
<li>lobias[4]</li>
31
CSMSS College Of Polytechnic, Aurangabad
<li>masoor</li>
<li>mung bean</li>
<li>pigeon pea</li>
<li>toria</li>
<li>Urad bean</li>
</ol>
<ol>
<h2>SEED PLANTS</h2>
<li>alfalfa (also known as lucerne, Medicago sativa)</li>
<li>coriander (Coriandrum sativum)</li>
<li>cumin (Cuminum cyminum)</li>
<li>fenugreek (Trigonella foenumgraecum)</li>
<li>linseed</li>
<li>mustard (Brassica juncea)</li>
<li>isabgol (Plantago ovata)</li>
<li>sunflower</li>
<li>Bengal gram</li>
<li>red gram (black pepper)</li>
</ol>
<ol>
<h2>VEGETABLES</h2>
<li>bean</li>
<li>beetroot (chukunder)</li>
<li>brinjal (baingan)</li>
<li>broccoli (hari gobhi)</li>
<li>cabbage (patta gobhi)</li>
<li>capsicum</li>
<li>carrot (gajar)</li>
<li>cauliflowers (gobhi)</li>
<li>chickpea (also known as gram, Cicer arientinum) (channa)</li>
<li>fenugreek (methi)</li>
<li>garlic (lehsun)</li>
32
CSMSS College Of Polytechnic, Aurangabad
6.2.6 Zaid.html
<!DOCTYPE html>
<html>
<head>
<style>
body{ background-
image: url('wave2.png');
background-repeat: no-
repeat; background-
size: cover;
} h1{ color:
rgb(0, 238, 255);
} .all-browsers {
margin: 0;
padding: 5px;
background-
color: lightgray;
}
33
CSMSS College Of Polytechnic, Aurangabad
.all-browsers >
h1, .browser {
margin: 10px;
padding: 5px; }
.browser {
background:whit
esmoke; font-
size: large; }
.browser > h2, p
{ margin: 4px;
font-size: 90%; }
</style>
</head>
<body>
<h1>ZAID SEASON</h1>
<article class="all-browsers">
<article class="browser">
<p>
<h3>What is Zaid</h3>
Zaid crops are summer season crops. They grow for a short time period between kharif and
rabi crops, mainly from March to June.
These crops are mainly grown in the summer season during a period called the zaid crop
season. They require warm dry weather as major growth period and longer day length for
flowering.
Some summer months and rainy season is required. These crops also mature early.
In between the rabi and the kharif seasons, there is a short season during the summer
months known as the zaid season.
Some of the crops produced during zaid season are watermelon, muskmelon, cucumber,
vegetables and fodder crops. Sugarcane takes almost a year to grow.
</p>
</article>
</article>
<h2>Crops in Zaid</h2>
<ol>
34
CSMSS College Of Polytechnic, Aurangabad
<li>Watermelon</li>
<li>Muskmelon</li>
<li>Cucumber</li>
<li> Bitter gourd</li>
<li>Fodder</li>
<li>Pumpkin</li>
<li>Guar (Cluster Beans)</li>
<li>strawberry</li>
<li>Arhar (Pigeon pea)</li>
<li>Masur (Lentil)</li>
<li>Sugarcane</li>
</ol>
</body>
</html>
6.2.7 Display.php
<html>
<head>
<title>Read Article</title>
<style>
body{ background-
image: url('RA1.jpg');
}
::-webkit-
scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
35
CSMSS College Of Polytechnic, Aurangabad
/* Handle */ ::-webkit-
scrollbar-thumb {
background: #888;
}
<script
type="text/javascript">
function
googleTranslateElementIni
t() { new
google.translate.TranslateE
lement({pageLanguage:
'en'},
'google_translate_element')
;}
</script>
<script
type="text/javasc
ript"
src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"><
/script></a>
36
CSMSS College Of Polytechnic, Aurangabad
</div>
<table border="5" id="myTable">
<tr>
<th>Name</th>
<th>Email</th>
<th>Title</th>
<th>Review</th>
<?php
include("database2.p
hp");
error_reporting(0);
$query = "SELECT * FROM write1";
$data = mysqli_query($conn,$query);
$total = mysqli_num_rows($data);
if($total!=0)
{ while($result =
mysqli_fetch_assoc($data))
{ echo "
<tr>
<td>".$result['Name']."</td>
<td>".$result['Email']."</td>
<td>".$result['Title']."</td>
<td>".$result['Review']."</td>
";
} } else {
echo "No
record found";
}
?>
</table>
</body>
37
CSMSS College Of Polytechnic, Aurangabad
</html>
6.2.8 WA.html
<!DOCTYPE html>
<script
type="text/javascri
pt"
src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"><
/script></a>
</div>
</script>
<div class="wrapper">
38
CSMSS College Of Polytechnic, Aurangabad
<h2>Write Article</h2>
Enter Name:<br>
<input type="text" name="name" required><br>
Enter Email:<br>
<input type="text" name="email" required><br>
Title:<br>
<input type="text" name="title" required><br>
Review:<br>
<textarea spellcheck="false" placeholder="Type something here..." name="review"
required></textarea>
<input type="submit" value="Submit" name="save">
</div
><scr
ipt>
const textarea =
document.querySelector("textarea");
textarea.addEventListener("keyup", e =>{
textarea.style.height = "63px"; let
scHeight = e.target.scrollHeight;
textarea.style.height = `${scHeight}px`;
});
</script>
</form>
</body>
</html>
6.2.9 database.php
<?php
//error_reporting(0);
$server_name="localhost";
$username="root";
$password="";
39
CSMSS College Of Polytechnic, Aurangabad
$database_name="wa1";
$conn=mysqli_connect($server_name,$username,$password,$database_name);
//now check the connection
if(!$conn)
{ die("Connection Failed:" . mysqli_connect_error()) ;}
if(isset($_POST['save'])){
$Name = $_POST['name'];
$Email = $_POST['email'];
$Title = $_POST['title'];
$Review = $_POST['review'];
$sql_query = "INSERT INTO write_article VALUES
('$Name','$Email','$Title','$Review')"; if (mysqli_query($conn, $sql_query))
{
echo "New Details Entry inserted successfully !";
} else
{echo "Error:" .$sql_query. "" .mysqli_error($conn);
}
mysqli_close($conn);
}
?>
40
CSMSS College Of Polytechnic, Aurangabad
Weather forecasts are increasingly accurate and useful, and their benefits extend widely
across the economy. While much has been accomplished in improving weather forecasts,
there remains much room for improvement.
Now a days as technology is evolving from manually working to online working I. Every
field So it has become easy to share our knowledge with each other. This project will help
the employee at agrocenter to work efficiently and will also full-fill the need of farmers at
some extent with this we conclude our project .
Can be:
1. This App can be used for maintaining all the process and activities of Farming.
2. It will reduce the weather related losses of farming/crop.
3. This can help fresh employ at agro-center.
4. This project will help the employee at agro-center to work efficiently and will also
fullfil the need of farmers at some extent with this we conclude our project.
5. In the development of this App, there shall be the space for the future modification.
41
CSMSS College Of Polytechnic, Aurangabad
Chapter 8: References
1. https://agro-center.de/en/home/
2. https://www.dtn.com/the-role-of-weather-and-weather-forecasting-in-agriculture/
3. https://tractorguru.in/tractor-blog/importance-of-weather-forecasting-in-modern-
agriculture-andfarming
4. https://geopy.readthedocs.io/en/stable/
42