- update citation file to match new CRAN requirements.
- introduce check for enough chill days in method Menzel (Thanks @valentingar for reporting)
- introduced threshold
Tsum.critfor sum of day degrees in functionvegperiod() - made plausibility check optional via new parameter
check.data(suggested by @rhabel) - restructured documentation to provide more details on start and end methods
- acknowledged funder in DESCRIPTION
- fixed a changed URL
- if
StdMeteodoes not find an end, it now reports the last day of the year instead of 0.
- fix
est.prevparameter used in start method Menzel. Now averages as advertised (Thanks for catching this bug to @awellpott). - switched to unit testing framework
tinytest
- changed temperature plausibility checks because of severe winter 1956 with daily mean temperatures of -27 °C in Germany and even lower and higher daily mean temperatures in climate scenarios.
- fixed change of base URL of DWD open data (Thanks @ckluss for reporting and pointing in the right direction)
- fixed download of recent monthly climate data. Breakage caused by DWD file name schema change (#1). Thanks @rwoerde for reporting.
- corrected minimum R version. Argument
fileEncodingwas introduced toread.fwf()in R 3.2
- replaced package 'RCurl' with 'curl' for downloading DWD Data
- stopped importing package 'methods'
- fixed read.DWDstations() because DWD changed layout of station list
- updated documentation of read.DWDdata() because DWD changed column order of climate data files
- vegperiod() checks if Tavg (daily mean temperature) is between -25 and 35 to catch temperatures multiplied by 10. Sometimes done to store as integers. (thanks to Ronald Bialozyt for reporting a crash)
- vegperiod() reports end of vegetation period always as integer
- new parameter 'quiet' to readDWDdata to suppress messages and progessbar of download
- started unit testing with package 'testthat'
- start.method='Ribes uva-crispa' using leaf out of gooseberry as indicator. Developed by Germany's National Meteorological Service (DWD).
- est.prev can now be equal to number of provided years
- proper error message if only one year of data provided and previous year's chill days requested
- cleaned up mangled output of start.method='StdMeteo'. StdMeteo now behaves properly and returns a vector.
- use stats::filter() in the package to protected filter() against getting run over by package dplyr (thanks to Cristabel Duran for reporting).
read.DWDdata()reads open meteo data from the Climate Data Center (CDC) of Germany's National Meteorological Service (Deutscher Wetterdienst, DWD).read.DWDstations()fetches information about available DWD stations
- renamed arguments in vegperiod() to clarify meaning / easier tab completion:
- first.avg -> est.prev
- temp.sum -> Tsum.out
- method.start -> start.method
- method.end -> end.method
- renamed method
StdClimatolgytoStdMeteo/ETCCDIin vegperiod() and brought calculations into compliance with ETCCDI standard
- added a hack in method LWF-BROOK90 of vegperiod() to adjust for different arithmetic precision in VBA version (thanks to Paul Schmidt-Walter for providing climate.in files for comparision and help finding the bug)
- fixed bug leading to crash of vegperiod() if argument
first.avg=0(thanks to Ronald Bialozyt for reporting) - the argument "dates" of vegperiod() accepts now also character strings understood by
as.Date() - rewrote help-page of vegperiod() and added references for all methods
- Intial version