diff --git a/NAMESPACE b/NAMESPACE index 9bffe91..9644df4 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -17,6 +17,7 @@ export(dap_xyzv) export(extract_sites) export(get3DEP) export(getBCCA) +export(getCABCM) export(getCHIRPS) export(getDaymet) export(getDodsrcPath) diff --git a/NEWS.md b/NEWS.md index 2373d62..05def7d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +# climateR 0.3.5 + +* Added getCABCM +* Added fix for terra AOIs + # climateR 0.3.4 * Add catch for XY rather then YX arrays diff --git a/man/catalog.Rd b/man/catalog.Rd index fe3fda8..d4c92f4 100644 --- a/man/catalog.Rd +++ b/man/catalog.Rd @@ -5,7 +5,7 @@ \alias{catalog} \title{ClimateR Catalog} \format{ -An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 110983 rows and 29 columns. +An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 112398 rows and 29 columns. } \usage{ catalog diff --git a/man/get3DEP.Rd b/man/get3DEP.Rd index ffb78d5..e38cb3c 100644 --- a/man/get3DEP.Rd +++ b/man/get3DEP.Rd @@ -22,6 +22,7 @@ Get USGS 3DEP DEMs \seealso{ Other shortcuts: \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getBCCA.Rd b/man/getBCCA.Rd index a43abdd..5971b7d 100644 --- a/man/getBCCA.Rd +++ b/man/getBCCA.Rd @@ -47,6 +47,7 @@ Get BCCA data \seealso{ Other shortcuts: \code{\link{get3DEP}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getCABCM.Rd b/man/getCABCM.Rd new file mode 100644 index 0000000..c38f4b8 --- /dev/null +++ b/man/getCABCM.Rd @@ -0,0 +1,69 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/shortcuts.R +\name{getCABCM} +\alias{getCABCM} +\title{Get California Basin Characterization Model (CABCM) historical and projected climate and hydrology data.} +\usage{ +getCABCM( + AOI = NULL, + varname = NULL, + model = "CNRM", + scenario = NULL, + startDate, + endDate = NULL, + verbose = FALSE, + ID = NULL, + dryrun = FALSE +) +} +\arguments{ +\item{AOI}{an sf of SpatVect point or polygon to extract data for} + +\item{varname}{variable name to extract (e.g. tmin)} + +\item{model}{GCM model name generating} + +\item{scenario}{A climate or modeling scenario} + +\item{startDate}{a start date given as "YYYY-MM-DD" to extract data for} + +\item{endDate}{an end date given as "YYYY-MM-DD" to extract data for} + +\item{verbose}{Should messages be emited?} + +\item{ID}{a column of unique identifiers} + +\item{dryrun}{Return summary of data prior to retrieving it} +} +\value{ +if AOI is polygon a list of SpatRasters, if AOI is a point then a data.frame of modeled records. +} +\description{ +The California Basin Characterization Model (CABCM) dataset provides historical and projected climate and hydrology data at a 270 meter resolution, which is relevant for watershed-scale evaluation and planning. +} +\seealso{ +Other shortcuts: +\code{\link{get3DEP}()}, +\code{\link{getBCCA}()}, +\code{\link{getCHIRPS}()}, +\code{\link{getDaymet}()}, +\code{\link{getGLDAS}()}, +\code{\link{getGridMET}()}, +\code{\link{getISRIC_soils}()}, +\code{\link{getLCMAP}()}, +\code{\link{getLOCA_hydro}()}, +\code{\link{getLOCA}()}, +\code{\link{getLivneh_fluxes}()}, +\code{\link{getLivneh}()}, +\code{\link{getMACA}()}, +\code{\link{getMODIS}()}, +\code{\link{getNASADEM}()}, +\code{\link{getNLCD}()}, +\code{\link{getNLDAS}()}, +\code{\link{getPRISM}()}, +\code{\link{getTerraClimNormals}()}, +\code{\link{getTerraClim}()}, +\code{\link{getVIC}()}, +\code{\link{getWorldClim}()} +} +\concept{shortcuts} diff --git a/man/getCHIRPS.Rd b/man/getCHIRPS.Rd index 97921f1..d479ff5 100644 --- a/man/getCHIRPS.Rd +++ b/man/getCHIRPS.Rd @@ -42,6 +42,7 @@ Get CHIRPS data Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, \code{\link{getGridMET}()}, diff --git a/man/getDaymet.Rd b/man/getDaymet.Rd index dd19fa5..7198ce3 100644 --- a/man/getDaymet.Rd +++ b/man/getDaymet.Rd @@ -43,6 +43,7 @@ Conic projection for North America and are in a netCDF file format compliant wit Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getGLDAS}()}, \code{\link{getGridMET}()}, diff --git a/man/getGLDAS.Rd b/man/getGLDAS.Rd index 6be0c5b..591f900 100644 --- a/man/getGLDAS.Rd +++ b/man/getGLDAS.Rd @@ -42,6 +42,7 @@ Get GLDAS data Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGridMET}()}, diff --git a/man/getGridMET.Rd b/man/getGridMET.Rd index cb84bc6..82679f3 100644 --- a/man/getGridMET.Rd +++ b/man/getGridMET.Rd @@ -40,6 +40,7 @@ These data are updated daily. Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getISRIC_soils.Rd b/man/getISRIC_soils.Rd index 61a8dd0..26b3156 100644 --- a/man/getISRIC_soils.Rd +++ b/man/getISRIC_soils.Rd @@ -25,6 +25,7 @@ World Soil Information (International Soil Reference and Information Centre) ser Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getLCMAP.Rd b/man/getLCMAP.Rd index 85b4430..3c24bcb 100644 --- a/man/getLCMAP.Rd +++ b/man/getLCMAP.Rd @@ -25,6 +25,7 @@ Land Change Monitoring, Assessment, and Projection Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getLOCA.Rd b/man/getLOCA.Rd index 78a6a95..f0aafa6 100644 --- a/man/getLOCA.Rd +++ b/man/getLOCA.Rd @@ -48,6 +48,7 @@ For more information visit: http://loca.ucsd.edu/. Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getLOCA_hydro.Rd b/man/getLOCA_hydro.Rd index f50b868..8b057c8 100644 --- a/man/getLOCA_hydro.Rd +++ b/man/getLOCA_hydro.Rd @@ -45,6 +45,7 @@ Get LOCA Hydrology data Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getLivneh.Rd b/man/getLivneh.Rd index cbcad95..c79cb19 100644 --- a/man/getLivneh.Rd +++ b/man/getLivneh.Rd @@ -42,6 +42,7 @@ Get Livneh data Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getLivneh_fluxes.Rd b/man/getLivneh_fluxes.Rd index 6fd8f83..259f221 100644 --- a/man/getLivneh_fluxes.Rd +++ b/man/getLivneh_fluxes.Rd @@ -39,6 +39,7 @@ Get Livneh Flux data Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getMACA.Rd b/man/getMACA.Rd index 1603ce1..09b3e29 100644 --- a/man/getMACA.Rd +++ b/man/getMACA.Rd @@ -49,6 +49,7 @@ Multivariate Adaptive Constructed Analogs (MACA) is a statistical method for dow Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getMODIS.Rd b/man/getMODIS.Rd index 152d2a9..07734a6 100644 --- a/man/getMODIS.Rd +++ b/man/getMODIS.Rd @@ -42,6 +42,7 @@ Get MODIS data Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getNASADEM.Rd b/man/getNASADEM.Rd index 28e6741..b73ad86 100644 --- a/man/getNASADEM.Rd +++ b/man/getNASADEM.Rd @@ -21,6 +21,7 @@ Get NASA Global DEM Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getNLCD.Rd b/man/getNLCD.Rd index 7ae95ad..6360f63 100644 --- a/man/getNLCD.Rd +++ b/man/getNLCD.Rd @@ -25,6 +25,7 @@ Get USGS National Land Cover Dataset Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getNLDAS.Rd b/man/getNLDAS.Rd index 7698327..1ac8557 100644 --- a/man/getNLDAS.Rd +++ b/man/getNLDAS.Rd @@ -42,6 +42,7 @@ Get NLDAS data Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getPRISM.Rd b/man/getPRISM.Rd index 5495efd..cf4d01b 100644 --- a/man/getPRISM.Rd +++ b/man/getPRISM.Rd @@ -42,6 +42,7 @@ Get PRISM data Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getTerraClim.Rd b/man/getTerraClim.Rd index e6fbaaf..9383d2e 100644 --- a/man/getTerraClim.Rd +++ b/man/getTerraClim.Rd @@ -39,6 +39,7 @@ Get Terra Climate Data for an Area of Interest Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getTerraClimNormals.Rd b/man/getTerraClimNormals.Rd index fe5ba9d..dbd9293 100644 --- a/man/getTerraClimNormals.Rd +++ b/man/getTerraClimNormals.Rd @@ -39,6 +39,7 @@ These layers from TerraClimate were creating using climatically aided interpolat Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getVIC.Rd b/man/getVIC.Rd index 0b47184..ed50ab1 100644 --- a/man/getVIC.Rd +++ b/man/getVIC.Rd @@ -45,6 +45,7 @@ Get VIC data Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()}, diff --git a/man/getWorldClim.Rd b/man/getWorldClim.Rd index c1b9d4d..3fec7c1 100644 --- a/man/getWorldClim.Rd +++ b/man/getWorldClim.Rd @@ -36,6 +36,7 @@ WorldClim is a database of high spatial resolution global weather and climate da Other shortcuts: \code{\link{get3DEP}()}, \code{\link{getBCCA}()}, +\code{\link{getCABCM}()}, \code{\link{getCHIRPS}()}, \code{\link{getDaymet}()}, \code{\link{getGLDAS}()},