Fixes bug where the first and last dates requested are not available as per https://github.com/ropensci/chirps/issues/46 and https://github.com/ropensci/chirps/issues/50
Fixes mismatched brackets in documentation
Fixes bug where geojson objects were not allowed, https://github.com/ropensci/chirps/commit/1cfb099d94e1b61aed5a3d372ea49b745f4bcc92
get_chirps()
and get_chirts()
to return a raster within a given areaget_chirts()
to fetch temperature data from CHC server (https://data.chc.ucsb.edu/products/CHIRTSdaily/v1.0/global_cogs_p05/)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 the terra
packageget_chirps()
for objects of class 'SpatVector' and 'SpatRaster' from the terra
packageas.matrix = TRUE
in the S3 methods for objects of class 'default', 'SpatVector' and 'SpatRaster'server =
is added to indicate from which server the function should send the request, either 'CHC' or 'ClimateSERV'. Please use the argument server = "ClimateSERV"
for backward compatibility with previous versions of the package.operation =
in get_chirps()
is only required when server = "ClimateSERV"
as.geojson()
to matches with the new requirements for ClimateSERVas.geojson()
is added to replace the functions data.frame_to_geojson()
and sf_to_geojson()
get_imerg()
to fetch IMERG data https://disasters.nasa.gov/instruments/imergprint()
method is added for objects that inherits the class 'chirps_df'dataframe_to_geojson()
, sf_to_geojson()
are added as exported functions avoiding chirps:::
tapajos
is given avoiding chirps:::
goodpractice::gp()
. Avoid long code lines, it is bad for readability. Avoid 1:length(...), 1:nrow(...), 1:ncol(...), 1:NROW(...) and 1:NCOL(...) expressions. Not import packages as a whole, as this can cause name clashes between the imported packages.S3 methods for objects of class "geojson" in get_chirps()
and get_esi()
Package vignette
Prepare for submission to ropensci
Validations in internal functions to transform 'sf' into geojson
Add properties features to geojson output in get_chirps()
and get_esi()
via .add_geojson_properties()
get_esi
is added to retrieve Evaporative Stress Index with S3 methods for "data.frame" and "sf"
S3 methods for objects of class "data.frame" and "sf" in get_chirps
.get_request_progress
and a while
condition are added to check the progress of large requests and prevent the function to fail.
.GET
is added as a general function to retrieve other datasets from ClimateSERV
improvements in internal functions documentation
precip_indices
over a time span