coordinates<-c(10.6082,34.9411)
# grid_specifications<-list(base_folder="D:/DATA/AFRICLIM/GeoTIFF_30s/future_scenarios/",
# minfile="tasmin_rcp45_2055_CCCma-CanESM2_CCCma-CanRCM4_wc30s.zip",
# maxfile="tasmax_rcp45_2055_CCCma-CanESM2_CCCma-CanRCM4_wc30s.zip")
# extract_temperatures_from_grids(coordinates,grid_format="AFRICLIM",grid_specifications,
# scenario_type="relative",scenario_year=2055)
# grid_specifications<-list(base_folder="D:/DATA/CCAFS_climate/",
# minfile="bcc_csm1_1_rcp2_6_2030s_tmin_30s_r1i1p1_b4_asc.zip",
# maxfile="bcc_csm1_1_rcp2_6_2030s_tmax_30s_r1i1p1_b4_asc.zip")
#temps<-extract_temperatures_from_grids(coordinates,grid_format="CCAFS",grid_specifications,
# scenario_type="relative",scenario_year=2035)
Run the code above in your browser using DataLab