Releases: ropensci/chirps
Releases · ropensci/chirps
Gyda
ENHANCEMENTS
- Add new function
get_chirts()
to fetch temperature data from CHC server (https://data.chc.ucsb.edu/products/CHIRTSdaily/v1.0/global_cogs_p05/) - Implement data fetching from CHC server in
get_chirps()
which offers a better alternative for requests with multiple data points using GoC files from CHC server (https://data.chc.ucsb.edu/products/CHIRPS-2.0/global_daily/cogs/) and theterra
package - New S3 methods in
get_chirps()
for objects of class 'SpatVector' and 'SpatRaster' from theterra
package - Data can be returned as an object of class 'matrix' when using the argument
as.matrix = TRUE
in the S3 methods for objects of class 'default', 'SpatVector' and 'SpatRaster' - Updates the URL to request data from ClimateSERV
CHANGES IN BEHAVIOUR
- New argument
server =
is added to indicate from which server the function should send the request, either 'CHC' or 'ClimateSERV'. Please use the argumentserver = "ClimateSERV"
for backward compatibility with previous versions of the package. - API requests to ClimateSERV use package httr instead of curl
- Argument
operation =
inget_chirps()
is only required whenserver = "ClimateSERV"
- Updates function
as.geojson()
to matches with the new requirements for ClimateSERV
St. John Gualbert
Fix issues in building the vignette and adds a new method to coerce geographical points into geojson objects
Sommerhilsen
rOpenSci release