Package kgc. December 21, Version Date Title Koeppen-Geiger Climatic Zones

Similar documents
Package polypoly. R topics documented: May 27, 2017

Package Tcomp. June 6, 2018

Package RSwissMaps. October 3, 2017

Package rdefra. March 20, 2017

Package weathercan. July 5, 2018

Package SK. May 16, 2018

Package camsrad. November 30, 2016

Package RTransferEntropy

Package platetools. R topics documented: June 25, Title Tools and Plots for Multi-Well Plates Version 0.1.1

Package Select. May 11, 2018

Package spthin. February 20, 2015

Package msu. September 30, 2017

Package cvequality. March 31, 2018

Package owmr. January 14, 2017

Package aspi. R topics documented: September 20, 2016

Package funrar. March 5, 2018

Package gtheory. October 30, 2016

Package netdep. July 10, 2018

Package hddtools. August 9, 2018

Package solrad. November 5, 2018

Package rnmf. February 20, 2015

Package GSODR. March 30, 2018

Package Perc. R topics documented: December 5, Type Package

Package depth.plot. December 20, 2015

Package gwqs. R topics documented: May 7, Type Package. Title Generalized Weighted Quantile Sum Regression. Version 1.1.0

Package robustrao. August 14, 2017

Package reinforcedpred

Package countyweather

Package moderndive. July 6, 2018

Package SMFilter. December 12, 2018

Package cellscape. October 15, 2018

Package varband. November 7, 2016

Package MAVE. May 20, 2018

Package chemcal. July 17, 2018

Package PeriodicTable

Package MTA. R topics documented: May 14, Title Multiscalar Territorial Analysis Version 0.1.2

Package bomrang. August 15, 2018

Package noncompliance

Package EMVS. April 24, 2018

Package jmcm. November 25, 2017

Package dominanceanalysis

Package TwoStepCLogit

Package testassay. November 29, 2016

Package paramgui. March 15, 2018

Package IMMAN. May 3, 2018

Package causalweight

Package BGGE. August 10, 2018

Package RATest. November 30, Type Package Title Randomization Tests

Package MPkn. May 7, 2018

Package FinCovRegularization

Package covsep. May 6, 2018

Package NlinTS. September 10, 2018

Package ADPF. September 13, 2017

Package nardl. R topics documented: May 7, Type Package

Package rwbclimate. February 20, 2015

Package invgamma. May 7, 2017

Package HIMA. November 8, 2017

Package r2glmm. August 5, 2017

Package supernova. February 23, 2018

Package matrixnormal

Package bhrcr. November 12, 2018

Package OGI. December 20, 2017

Package bigtime. November 9, 2017

Package rrr. R topics documented: December 9, Title Reduced-Rank Regression Version URL

Package cartogram. June 21, 2018

Package krige. August 24, 2018

Package scpdsi. November 18, 2018

Package SPADAR. April 30, 2017

Package BNN. February 2, 2018

Package KMgene. November 22, 2017

Package MicroMacroMultilevel

Package effectfusion

Package asus. October 25, 2017

Package generalhoslem

Package nowcasting. April 25, Type Package

Package RootsExtremaInflections

Package beam. May 3, 2018

Package MultisiteMediation

Package horseshoe. November 8, 2016

Package photobiologylamps

Package xdcclarge. R topics documented: July 12, Type Package

Package GD. January 12, 2018

Package TimeSeries.OBeu

Package flora. R topics documented: August 29, Type Package. Title flora: taxonomical information on flowering species that occur in Brazil

Package stability. R topics documented: August 23, Type Package

Case Study of the Coding Framework

Package Rarity. December 23, 2016

Package SimCorMultRes

Package elhmc. R topics documented: July 4, Type Package

Package robis. July 2, 2018

Package multivariance

Package convospat. November 3, 2017

Package SpatialVS. R topics documented: November 10, Title Spatial Variable Selection Version 1.1

Package icmm. October 12, 2017

Package velociraptr. February 15, 2017

Package cosinor2. October 15, 2018

Package MonoPoly. December 20, 2017

Package neat. February 23, 2018

Package clr. December 3, 2018

Package Metrics. November 3, 2017

Transcription:

Version 1.0.0.2 Date 2017-12-01 Title Koeppen-Geiger Climatic Zones Package kgc December 21, 2017 Author Chelsey Bryant [aut, cre] (0000-0003-3603-4854), Nicholas R. Wheeler [aut] (0000-0003-2248-8919), Franz Rubel [aut] (0000-0002-0048-7379), Roger H. French [aut] (0000-0002-6162-0532) Maintainer Chelsey Bryant <clb117@case.edu> Depends R (>= 3.3.2), shiny, shinythemes, plyr Suggests knitr, rmarkdown, testthat Encoding UTF-8 LazyData true Aids in identifying the Koeppen-Geiger (KG) climatic zone for a given location. The Koeppen-Geiger climate zones were first published in 1884, as a system to classify regions of the earth by their relative heat and humidity through the year, for the benefit of human health, plant and agriculture and other human activity [1]. This climate zone classification system, applicable to all of the earths surface, has continued to be developed by scientists up to the present day. Recently one of use (FZ) has published updated, higher accuracy KG climate zone definitions [2]. In this package we use these updated high-resolution maps as the data source [3]. We provide functions that return the KG climate zone for a given longitude and lattitude, or for a given United States zip code. In addition the CZUncertainty() function will check climate zones nearby to check if the given location is near a climate zone boundary. In addition an interactive shiny app is provided to define the KG climate zone for a given longitude and lattitude, or United States zip code. Digital data, as well as animated maps, showing the shift of the climate zones are provided on the following website <http://koeppen-geiger.vu-wien.ac.at>. This work was supported by the DOE-EERE SunShot award DE-EE-0007140. [1] W. Koeppen, (2011) <doi:10.1127/0941-2948/2011/105>. [2] F. Rubel and M. Kottek, (2010) <doi:10.1127/0941-2948/2010/0430>. [3] F. Rubel, K. Brugger, K. Haslinger, and I. Auer, (2016) <doi:10.1127/metz/2016/0816>. License BSD_2_clause + file LICENSE VignetteBuilder knitr RoxygenNote 6.0.1 1

2 climatezones NeedsCompilation no Repository CRAN Date/Publication 2017-12-20 23:44:53 UTC R topics documented: climatezones........................................ 2 CZUncertainty....................................... 3 gencoords.......................................... 3 getzone........................................... 4 kgcities........................................... 5 kmz............................................. 5 LookupCZ.......................................... 6 RoundCoordinates..................................... 6 RunExample........................................ 7 TranslateZipCode...................................... 8 zipcodes........................................... 8 Index 9 climatezones Koppen-Geiger Climate Zones reference table. A data frame containing the Koppen Geiger climate classification for areas. climatezones Format A data frame with 92416 rows and 3 variables: Lat Latitude, numeric Lon Longitude, numeric Cls Climate Zone, factor with 30 levels Source http://koeppen-geiger.vu-wien.ac.at/present.htm

CZUncertainty 3 CZUncertainty CZUncertainty This function will return the uncertainty associated with the predicted climate zone along with other potential climate zones. CZUncertainty(data) data The co-ordinates for the location you are trying to predict the climate zone of. The uncertainty associated with the located climate zone along with other potential climate zones. data<- data.frame(site = c("gc","ufs","neg"), Longitude = c(-15.42,10.98,34.78), Latitude = c(27.82,47.42,30.86)) data <- data.frame(data, rndcoord.lon = RoundCoordinates(data$Longitude), rndcoord.lat = RoundCoordinates(data$Latitude)) data <- data.frame(data,climatez=lookupcz(data)) data <- data.frame(data, CZUncertainty(data)) gencoords gencoords This function will generate a list of coordinates for the fine resolution climate zone map data, stored in kgz.rda. gencoords(latlong = "lat", full = FALSE, latdim = 6480, londim = 12960)

4 getzone latlong full latdim londim Whether a vector of latitude values, or longitude values, is being created. Specify whether to generate a full list of all coords in the full image, or just one row/column (default FALSE, means just one row/column). The number of pixels in the image in the latitude dimension (y) The number of pixels in the image in the longitude dimension (x) A vector of latitude or longitude coordinate values (default for a map 12960x 6480y). ccoords <- gencoords(latlong='lon',full='true') getzone getzone This function will return the character code of a given climate zone corresponding to a numeric value (factor levels of the fine resolution data). getzone(num) num The numeric code describing a climate zone. A string describing the climate zone as a character code. ccz <- getzone(16)

kgcities 5 kgcities Koppen Geiger climates for selected cities reference table. A data frame containing the reported climate zones and longitude and latitude for selected example cities worldwide. kgcities Format A data frame with 88 rows and 5 variables: loc location, character rczd reported climate zone description, character rcz reported climate zone, character lon longitude, numeric lat latitude, numeric Source http://www.wikipedia.org kmz High resolution (100s) Koppen Geiger climate zones. A vector containing all points of a high resolution climate zone map. kmz Format A vector of length 83980800 (ydim=6480,xdim=12960, row-wise), with 32 factor levels representing 31 koppen-geiger climate zones and ocean. Source Rubel, F., Brugger, K., Haslinger, K., Auer, I., 2016. The climate of the European Alps: Shift of very high resolution Köppen-Geiger climate zones 1800 2100. Meteorologische Zeitschrift. doi:10.1127/metz/2016/0816 http://koeppen-geiger.vu-wien.ac.at/

6 RoundCoordinates LookupCZ LookupCZ This function will return the climate zone for the co-ordinates provided. LookupCZ(data, res = "course", rc = FALSE) data The co-ordinates for the location you are trying to predict the climate zone of (format is three column dataframe, first column site IDs, second column longitude values, third column latitude values). res Specify the resolution as a string - course for lower resolution (default, 0.5 degrees), fine for higher resolution (100s). rc Specify whether to generate the rounded coordinate columns in the input dataframe, default is FALSE. The climate zone for the co-ordinates provided. data <- data.frame(site = c("gc","ufs","neg"), Longitude = c(-15.42,10.98,34.78), Latitude = c(27.82,47.42,30.86)) data <- data.frame(data, rndcoord.lon = RoundCoordinates(data$Longitude), rndcoord.lat = RoundCoordinates(data$Latitude)) data <- data.frame(data,climatez=lookupcz(data)) RoundCoordinates RoundCoordinates This function will round the inputed value to a co-ordinate present in the KG Climate Zone look up table. RoundCoordinates(number, res = "course", latlong = "lat")

RunExample 7 number The value to round res Specify the resolution as a string - course for lower resolution (default, 0.5 degrees), fine for higher resolution (100s). latlong Whether the number is a latitude value ( lat, default), or longitude value ( lon ) (this parameter is only used if res= fine ). The inputed number, rounded to a value ending in either.25 or.75 (course), or to nearest fine (100s) resolution grid point. RoundCoordinates(10.98) RoundCoordinates(10.98,res='fine',latlong='lon') RunExample RunExample This function will run the shiny app found in this package. RunExample() launches the shiny app created for the package. ## Not run: kgc::runexample() ## End(Not run)

8 zipcodes TranslateZipCode TranslateZipCode This function will return the data frame with the longitude and latitude of the zip codes TranslateZipCode(number) number A dataframe that contains zip codes in a column labeled zip The original data frame, with two additional columns for the corresponding latitude and longitude example <- data.frame("zip" = c(44106,638, 1106)) TranslateZipCode(example) zipcodes Zip Code reference table. A data frame containing the longitude and latitude for zip codes. zipcodes Format A data frame with 33144 rows and 3 variables: zip zip code, numeric lat latitude, numic long long, numeric Source http://www.census.gov/geo/maps-data/data/gazetteer2016.html

Index Topic datasets climatezones, 2 kgcities, 5 kmz, 5 zipcodes, 8 climatezones, 2 CZUncertainty, 3 gencoords, 3 getzone, 4 kgcities, 5 kmz, 5 LookupCZ, 6 RoundCoordinates, 6 RunExample, 7 TranslateZipCode, 8 zipcodes, 8 9