Skip to content

Commit 999ad9e

Browse files
authored
Merge pull request #82 from ErikKusch/Development
V 0.9.0 Release to Master branch
2 parents 6d77e09 + ea72862 commit 999ad9e

File tree

87 files changed

+6821
-1110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+6821
-1110
lines changed

.DS_Store

-6 KB
Binary file not shown.

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
^packrat/
44
^\.Rprofile$
55
^LICENSE\.md$
6+
^data-raw$
7+
^metadata$

.gitignore

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,16 @@
44
.Ruserdata
55

66
packrat/
7-
**/Test/*
87

8+
9+
# OS generated files #
10+
######################
11+
.DS_Store
12+
.DS_Store?
13+
._*
14+
.Spotlight-V100
15+
.Trashes
16+
ehthumbs.db
17+
Thumbs.db
18+
packrat/lib*/
19+
.lintr

DESCRIPTION

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,37 @@
11
Package: KrigR
22
Type: Package
3-
Title: Downloading, Aggregating, and Kriging of ERA5(Land)-Data
4-
Version: 0.1.3
3+
Title: Downloading, Aggregating, and Kriging of ECMWF CDS-Data
4+
Version: 0.9.0
55
Authors@R: as.person(c(
66
"Erik Kusch <erik@i-solution.de> [aut, cre]",
77
"Richard Davy <Richard.Davy@nersc.no> [aut]"
88
))
9-
Description: An R Package for downloading, preprocessing, and statistical downscaling of the European Centre for Medium-range Weather Forecasts ReAnalysis 5 (ERA5) family provided by the European Centre for Medium‐Range Weather Forecasts (ECMWF).
9+
Description: An R Package for downloading, preprocessing, and statistical downscaling of data provided by the European Centre for Medium‐Range Weather Forecasts (ECMWF).
1010
KrigR contains functions for:
11-
- Downloading Era5(Land) data directly from within R
12-
- Downloading USGS GMTED 2010 elevation data
11+
- Downloading ECMWF data directly from within R
12+
- Downloading USGS GMTED 2010 and HWSD elevation data
13+
- Preparing covariate data for Kriging
1314
- Kriging spatial input to desired output using user-specified covariates
14-
- Downloading and Kriging Era5(Land) data using USGS GMTED 2010 elevation as coviariate data in one function call
1515
License: MIT + file LICENSE
1616
Encoding: UTF-8
1717
LazyData: true
18-
RoxygenNote: 7.2.3
19-
Depends:
20-
ncdf4,
18+
RoxygenNote: 7.3.2
19+
Imports:
2120
ecmwfr,
22-
keyring,
23-
stringr,
24-
raster,
25-
rgdal,
26-
doParallel,
27-
foreach,
28-
doSNOW,
29-
automap,
21+
httr,
22+
stringr,
3023
lubridate,
31-
sp,
3224
sf,
33-
fasterize,
34-
stars,
35-
httr,
36-
terra
25+
terra,
26+
ncdf4,
27+
automap,
28+
foreach,
29+
tools,
30+
progress,
31+
doSNOW,
32+
pbapply,
33+
tidyr,
34+
ggplot2,
35+
viridis,
36+
cowplot
37+
Depends: R (>= 4.0.0)

LICENSE

Lines changed: 0 additions & 2 deletions
This file was deleted.

NAMESPACE

Lines changed: 92 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,98 @@
11
# Generated by roxygen2: do not edit by hand
22

33
export(BioClim)
4-
export(SummarizeRaster)
5-
export(buffer_Points)
6-
export(check_Krig)
4+
export(Buffer.pts)
5+
export(CDownloadS)
6+
export(Check.File)
7+
export(CovariateSetup)
8+
export(Ext.Check)
9+
export(Handle.Spatial)
10+
export(Kriging)
11+
export(Make.SpatialPoints)
12+
export(Make.UTC)
13+
export(Meta.DOI)
14+
export(Meta.List)
15+
export(Meta.QuickFacts)
16+
export(Meta.Read)
17+
export(Meta.Variables)
18+
export(Plot.BioClim)
19+
export(Plot.Covariates)
20+
export(Plot.Kriged)
21+
export(Plot.SpatRast)
722
export(download_DEM)
823
export(download_ERA)
924
export(krigR)
10-
export(mask_Shape)
25+
importFrom(automap,autoKrige)
26+
importFrom(cowplot,plot_grid)
27+
importFrom(doSNOW,registerDoSNOW)
28+
importFrom(ecmwfr,wf_delete)
29+
importFrom(ecmwfr,wf_get_key)
30+
importFrom(ecmwfr,wf_request)
31+
importFrom(ecmwfr,wf_set_key)
32+
importFrom(ecmwfr,wf_transfer)
33+
importFrom(foreach,"%dopar%")
34+
importFrom(foreach,foreach)
35+
importFrom(ggplot2,aes)
36+
importFrom(ggplot2,facet_wrap)
37+
importFrom(ggplot2,geom_raster)
38+
importFrom(ggplot2,geom_sf)
39+
importFrom(ggplot2,ggplot)
40+
importFrom(ggplot2,labs)
41+
importFrom(ggplot2,scale_fill_gradientn)
42+
importFrom(ggplot2,theme)
43+
importFrom(ggplot2,theme_bw)
44+
importFrom(ggplot2,unit)
45+
importFrom(httr,DELETE)
46+
importFrom(httr,GET)
47+
importFrom(httr,add_headers)
48+
importFrom(httr,authenticate)
49+
importFrom(httr,progress)
50+
importFrom(httr,write_disk)
51+
importFrom(lubridate,date)
52+
importFrom(lubridate,days_in_month)
53+
importFrom(lubridate,year)
54+
importFrom(methods,getClass)
55+
importFrom(ncdf4,nc_close)
56+
importFrom(ncdf4,nc_open)
57+
importFrom(ncdf4,ncatt_get)
58+
importFrom(ncdf4,ncatt_put)
59+
importFrom(parallel,detectCores)
60+
importFrom(parallel,makeCluster)
61+
importFrom(parallel,stopCluster)
62+
importFrom(pbapply,pblapply)
63+
importFrom(progress,progress_bar)
64+
importFrom(sf,st_as_sf)
65+
importFrom(sf,st_bbox)
66+
importFrom(sf,st_buffer)
67+
importFrom(sf,st_coordinates)
68+
importFrom(sf,st_drop_geometry)
69+
importFrom(sf,st_union)
70+
importFrom(stringr,str_c)
71+
importFrom(stringr,str_pad)
72+
importFrom(terra,aggregate)
73+
importFrom(terra,app)
74+
importFrom(terra,crop)
75+
importFrom(terra,crs)
76+
importFrom(terra,ext)
77+
importFrom(terra,mask)
78+
importFrom(terra,mean)
79+
importFrom(terra,metags)
80+
importFrom(terra,nlyr)
81+
importFrom(terra,rast)
82+
importFrom(terra,res)
83+
importFrom(terra,resample)
84+
importFrom(terra,sources)
85+
importFrom(terra,subset)
86+
importFrom(terra,tapp)
87+
importFrom(terra,time)
88+
importFrom(terra,units)
89+
importFrom(terra,values)
90+
importFrom(terra,varnames)
91+
importFrom(terra,writeCDF)
92+
importFrom(terra,writeRaster)
93+
importFrom(tidyr,gather)
94+
importFrom(tools,file_path_sans_ext)
95+
importFrom(viridis,cividis)
96+
importFrom(viridis,inferno)
97+
importFrom(viridis,mako)
98+
importFrom(viridis,viridis)

0 commit comments

Comments
 (0)