Skip to content

Commit

Permalink
Merge pull request #83 from ErikKusch/master
Browse files Browse the repository at this point in the history
Release v.0.9.0
  • Loading branch information
ErikKusch authored Oct 28, 2024
2 parents c926f9f + 999ad9e commit 4c50901
Show file tree
Hide file tree
Showing 45 changed files with 2,430 additions and 1,588 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ packrat/
.Trashes
ehthumbs.db
Thumbs.db
packrat/lib*/
.lintr
12 changes: 8 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Package: KrigR
Type: Package
Title: Downloading, Aggregating, and Kriging of ECMWF CDS-Data
Version: 0.3.0
Version: 0.9.0
Authors@R: as.person(c(
"Erik Kusch <erik@i-solution.de> [aut, cre]",
"Richard Davy <Richard.Davy@nersc.no> [aut]"
))
Description: An R Package for downloading, preprocessing, and statistical downscaling of data provided by the European Centre for Medium‐Range Weather Forecasts (ECMWF).
KrigR contains functions for:
- Downloading ECMWF data directly from within R
- Downloading USGS GMTED 2010 elevation data - Working towards also implementing support for HWSD data
- Downloading USGS GMTED 2010 and HWSD elevation data
- Preparing covariate data for Kriging
- Kriging spatial input to desired output using user-specified covariates
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
Imports:
ecmwfr,
httr,
Expand All @@ -29,5 +29,9 @@ Imports:
tools,
progress,
doSNOW,
pbapply
pbapply,
tidyr,
ggplot2,
viridis,
cowplot
Depends: R (>= 4.0.0)
2 changes: 0 additions & 2 deletions LICENSE

This file was deleted.

29 changes: 26 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,48 @@ export(Meta.List)
export(Meta.QuickFacts)
export(Meta.Read)
export(Meta.Variables)
export(SummarizeRaster)
export(buffer_Points)
export(Plot.BioClim)
export(Plot.Covariates)
export(Plot.Kriged)
export(Plot.SpatRast)
export(download_DEM)
export(download_ERA)
export(krigR)
export(mask_Shape)
importFrom(automap,autoKrige)
importFrom(cowplot,plot_grid)
importFrom(doSNOW,registerDoSNOW)
importFrom(ecmwfr,wf_delete)
importFrom(ecmwfr,wf_get_key)
importFrom(ecmwfr,wf_request)
importFrom(ecmwfr,wf_set_key)
importFrom(ecmwfr,wf_transfer)
importFrom(foreach,"%dopar%")
importFrom(foreach,foreach)
importFrom(ggplot2,aes)
importFrom(ggplot2,facet_wrap)
importFrom(ggplot2,geom_raster)
importFrom(ggplot2,geom_sf)
importFrom(ggplot2,ggplot)
importFrom(ggplot2,labs)
importFrom(ggplot2,scale_fill_gradientn)
importFrom(ggplot2,theme)
importFrom(ggplot2,theme_bw)
importFrom(ggplot2,unit)
importFrom(httr,DELETE)
importFrom(httr,GET)
importFrom(httr,add_headers)
importFrom(httr,authenticate)
importFrom(httr,progress)
importFrom(httr,write_disk)
importFrom(lubridate,date)
importFrom(lubridate,days_in_month)
importFrom(lubridate,year)
importFrom(methods,getClass)
importFrom(ncdf4,nc_close)
importFrom(ncdf4,nc_open)
importFrom(ncdf4,ncatt_get)
importFrom(ncdf4,ncatt_put)
importFrom(parallel,detectCores)
importFrom(parallel,makeCluster)
importFrom(parallel,stopCluster)
importFrom(pbapply,pblapply)
Expand All @@ -59,11 +75,13 @@ importFrom(terra,crop)
importFrom(terra,crs)
importFrom(terra,ext)
importFrom(terra,mask)
importFrom(terra,mean)
importFrom(terra,metags)
importFrom(terra,nlyr)
importFrom(terra,rast)
importFrom(terra,res)
importFrom(terra,resample)
importFrom(terra,sources)
importFrom(terra,subset)
importFrom(terra,tapp)
importFrom(terra,time)
Expand All @@ -72,4 +90,9 @@ importFrom(terra,values)
importFrom(terra,varnames)
importFrom(terra,writeCDF)
importFrom(terra,writeRaster)
importFrom(tidyr,gather)
importFrom(tools,file_path_sans_ext)
importFrom(viridis,cividis)
importFrom(viridis,inferno)
importFrom(viridis,mako)
importFrom(viridis,viridis)
632 changes: 369 additions & 263 deletions R/BioClim.R

Large diffs are not rendered by default.

Loading

0 comments on commit 4c50901

Please sign in to comment.