Skip to content

Commit

Permalink
layer check simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikKusch committed Jan 25, 2023
1 parent a6586a8 commit 490b801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/download.R
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ if(SingularDL){ # If user forced download to happen in one

### loop over files and layers here
if(verbose){message("Loading downloaded data for masking and aggregation.")}
if(length(Layers) == 1 & Layers == 1){
if(length(Layers) == 1){
Era5_ras <- stack(Files_vec)
}else{
Era5_ls <- as.list(rep(NA, length(Layers))) # list for layer aggregation
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ library(KrigR)
Users require personal API-access tokens which can be obtained [here](https://cds.climate.copernicus.eu/api-how-to).

# Workshop Material and Further Information
We have put together a comprehensive [workshop](https://www.erikkusch.com/post/krigr-mats/krigrworkshop/) that walks you through the functionality of the KrigR package. This workshop was presented during the BIOCHANGE Methods Workshop Series at Aarhus University. A recording of this presentation can be found on [YouTube](https://www.youtube.com/watch?v=wwb107L4wVw&ab_channel=ErikKusch). For any additional information on the project please refer to the project [website](https://www.erikkusch.com/project/krigr/). Upates will be available on said website as well as the KrigR [twitter profile](https://twitter.com/ERAKrigR)
We have put together a comprehensive [workshop](https://www.erikkusch.com/courses/krigr/) that walks you through the functionality of the KrigR package. This workshop was presented during the BIOCHANGE Methods Workshop Series at Aarhus University. A recording of this presentation can be found on [YouTube](https://www.youtube.com/watch?v=wwb107L4wVw&ab_channel=ErikKusch). For any additional information on the project please refer to the project [website](https://www.erikkusch.com/project/krigr/). Upates will be available on said website as well as the KrigR [twitter profile](https://twitter.com/ERAKrigR)

# Abstract
Advances in climate science have rendered obsolete the gridded observation data widely used in downstream applications. Novel climate reanalysis products outperform legacy data products in accuracy, temporal resolution, and provision of uncertainty metrics. Consequently, there is an urgent need to develop a workflow through which to integrate these improved data into biological analyses. The ERA5 product family (ERA5 and ERA5-Land) are the latest and most advanced global reanalysis products created by the European Center for Medium-range Weather Forecasting (ECMWF). These data products offer up to 83 essential climate variables (ECVs) at hourly intervals for the time-period of 1981 to today with preliminary back-extensions being available for 1950-1981. Spatial resolutions range from 30x30km (ERA5) to 11x11km (ERA5-Land) and can be statistically downscaled to study-requirements at finer spatial resolutions. Kriging is one such method to interpolate data to finer resolutions and has the advantages that one can leverage additional covariate information and obtain the uncertainty associated with the downscaling.
Expand Down

0 comments on commit 490b801

Please sign in to comment.