import(sp)
import("methods")
importFrom("parallel", makeCluster,clusterExport,parLapplyLB,stopCluster,clusterEvalQ,parLapply)
importFrom("RCurl",getCurlHandle)
importFrom("grDevices", "xy.coords")
importFrom("graphics", "abline", "axis", "box", "grid", "lines", "title")
importFrom("stats", "na.omit")
importFrom("utils", "read.table", "write.table")
importFrom("xts", endpoints,period.apply,apply.daily,apply.weekly,apply.monthly,apply.quarterly,apply.yearly,periodicity,xts,axTicksByTime)
importFrom("zoo", index,as.yearqtr,as.yearmon,"index<-")
#importClassesFrom("raster","RasterStack","RasterBrick")
importFrom("raster",nlayers,brick,calc,rasterFromCells,stack,filename,getZ,setValues,values,"values<-")
importFrom("terra",extract,subset,cellFromRowCol,cellFromXY,crs,trim,ncell,xres,yres,writeRaster,app,hasValues,xyFromCell,values,crop,vect,window,nlyr,ext,res, rast,"NAflag<-",plot,"values<-",project)
exportClasses(rts, RasterBrickTS, RasterStackTS, RasterStackBrickTS)
S3method("index", "RasterStackBrickTS")
S3method("index<-", "RasterStackBrickTS")
S3method("index", "SpatRasterTS")
S3method("index<-", "SpatRasterTS")
exportPattern("^[[:alpha:]]+")