Title: | Calculate Weather Indices |
---|---|
Description: | Weather indices represent the overall weekly effect of a weather variable on crop yield throughout the cropping season. This package contains functions that can convert the weekly weather data into yearly weighted Weather indices with weights being the correlation coefficient between weekly weather data over the years and crop yield over the years. This can be done for an individual weather variable and for two weather variables at a time as the interaction effect. This method was first devised by Jain, RC, Agrawal R, and Jha, MP (1980), "Effect of climatic variables on rice yield and its forecast",MAUSAM, 31(4), 591–596, <doi:10.54302/mausam.v31i4.3477>. Later, the method have been used by various researchers and the latest can found in Gupta, AK, Sarkar, KA, Dhakre, DS, & Bhattacharya, D (2022), "Weather Based Potato Yield Modelling using Statistical and Machine Learning Technique",Environment and Ecology, 40(3B), 1444–1449,<https://www.environmentandecology.com/volume-40-2022>. |
Authors: | Akhilesh Kumar Gupta [aut, cph, cre]
|
Maintainer: | Akhilesh Kumar Gupta <[email protected]> |
License: | GPL (>= 3) |
Version: | 0.1.0 |
Built: | 2025-02-22 04:39:50 UTC |
Source: | https://github.com/akstat21/weatherindices |
Contains the Years and yield data in Tonnes per hectare
Burdwanriceyield
Burdwanriceyield
A data frame with 39 rows of 2 variables
starting year of data
rice yield data of burdwan district
Bureau of Applied Economics and Statistics (BAES), Department of Planning, Statistics and Programme Monitoring (PSPM), Government of West Bengal and Area and Production Statistics portal (https://aps.dac.gov.in/APY/Public_Report1.aspx) of Ministry of Agriculture and Farmers Welfare, Government of India.
data(Burdwanriceyield)
data(Burdwanriceyield)
Contains the date, standard meteorological week, week number and four weather variables
Burdwanweather
Burdwanweather
A data frame with 741 rows of 7 variables
starting date of data
Standard Meteorological Week
week number of crop growing season
Daily Maximum temperature data averaged over week
Daily Minimum temperature data averaged over week
Daily Rainfall data summed over week
Daily Relative.Humidity data averaged over week
NASA Power Data Access Viewer(https://power.larc.nasa.gov/data-access-viewer/)
data(Burdwanweather)
data(Burdwanweather)
Converts the weekly interaction of two weather variable into yearly weighted interaction weather indices
i.uwwi(y, weatherp1, weatherp2)
i.uwwi(y, weatherp1, weatherp2)
y |
A vector of yearly yield data for t years |
weatherp1 |
Weekly weather data for t years as vector of first weather variable(total observations= number of years*number of weeks in each year) |
weatherp2 |
Weekly weather data for t years as vector of second weather variable(total observations= number of years*number of weeks in each year) |
A vector of interaction weather indices
Jain, R. C., Agrawal, R., & Jha, M. P. (1980). Effect of climatic variables on rice yield and its forecast. MAUSAM, 31(4), 591-596.
data(Burdwanweather) #Weekly weather data for the rice growing season in Burdwan data(Burdwanriceyield) #Yearly Yield data of rice in Burdwan i.uwwi.maxmintem<-i.uwwi(Burdwanriceyield$burdwan,Burdwanweather$Max.Temperature, Burdwanweather$Min.Temperature) i.uwwi.maxmintem
data(Burdwanweather) #Weekly weather data for the rice growing season in Burdwan data(Burdwanriceyield) #Yearly Yield data of rice in Burdwan i.uwwi.maxmintem<-i.uwwi(Burdwanriceyield$burdwan,Burdwanweather$Max.Temperature, Burdwanweather$Min.Temperature) i.uwwi.maxmintem
Converts the weekly interaction of two weather variable into yearly weighted interaction weather indices with weights being the correlation coefficient between weekly weather data over the years and crop yield over the years
i.wwi(y, weatherp1, weatherp2)
i.wwi(y, weatherp1, weatherp2)
y |
A vector of yearly yield data for t years |
weatherp1 |
Weekly weather data for t years as vector for first weather variable(total observations= number of years*number of weeks in each year) |
weatherp2 |
Weekly weather data for t years as vector for second weather variable(total observations= number of years*number of weeks in each year) |
A vector of interaction weather indices
Jain, R. C., Agrawal, R., & Jha, M. P. (1980). Effect of climatic variables on rice yield and its forecast. MAUSAM, 31(4), 591-596.
data(Burdwanweather) #Weekly weather data for the rice growing season in Burdwan data(Burdwanriceyield) #Yearly Yield data of rice in Burdwan i.wwi.maxmintem<-i.wwi(Burdwanriceyield$burdwan,Burdwanweather$Max.Temperature, Burdwanweather$Min.Temperature) i.wwi.maxmintem
data(Burdwanweather) #Weekly weather data for the rice growing season in Burdwan data(Burdwanriceyield) #Yearly Yield data of rice in Burdwan i.wwi.maxmintem<-i.wwi(Burdwanriceyield$burdwan,Burdwanweather$Max.Temperature, Burdwanweather$Min.Temperature) i.wwi.maxmintem
Converts the weekly weather data into yearly un-weighted weather indices(simply averaged)
uwwi(y, weatherp)
uwwi(y, weatherp)
y |
A vector of yearly yield data for t years |
weatherp |
Weekly weather data for t years as vector (total observations= number of years*number of weeks in each year) |
A vector of weather indices
Jain, R. C., Agrawal, R., & Jha, M. P. (1980). Effect of climatic variables on rice yield and its forecast. MAUSAM, 31(4), 591-596.
data(Burdwanweather) #Weekly weather data for the rice growing season in Burdwan data(Burdwanriceyield) #Yearly Yield data of rice in Burdwan wwi.maxtem<-wwi(Burdwanriceyield$burdwan,Burdwanweather$Max.Temperature) wwi.maxtem
data(Burdwanweather) #Weekly weather data for the rice growing season in Burdwan data(Burdwanriceyield) #Yearly Yield data of rice in Burdwan wwi.maxtem<-wwi(Burdwanriceyield$burdwan,Burdwanweather$Max.Temperature) wwi.maxtem
Converts the weekly weather data into yearly weighted weather indices with weights being the correlation coefficient between weekly weather data over the years and crop yield over the years
wwi(y, weatherp)
wwi(y, weatherp)
y |
A vector of yearly yield data for t years |
weatherp |
Weekly weather data for t years as vector (total observations= number of years*number of weeks in each year) |
A vector of weather indices
Jain, R. C., Agrawal, R., & Jha, M. P. (1980). Effect of climatic variables on rice yield and its forecast. MAUSAM, 31(4), 591-596.
data(Burdwanweather) #Weekly weather data for the rice growing season in Burdwan data(Burdwanriceyield) #Yearly Yield data of rice in Burdwan wwi.maxtem<-wwi(Burdwanriceyield$burdwan,Burdwanweather$Max.Temperature) wwi.maxtem
data(Burdwanweather) #Weekly weather data for the rice growing season in Burdwan data(Burdwanriceyield) #Yearly Yield data of rice in Burdwan wwi.maxtem<-wwi(Burdwanriceyield$burdwan,Burdwanweather$Max.Temperature) wwi.maxtem