pastclim2.2.0 package

Manipulate Time Series of Climate Reconstructions

Barreto2023

Documentation for the Barreto et al 2023 dataset

bathy_to_spatraster

Cast bathy to SpatRaster

Beyer2020

Documentation for the Beyer2020 dataset

bioclim_vars-methods

Compute bioclimatic variables

check_available_dataset

Check if dataset is available.

check_available_variable

Check if var is available for this dataset.

check_coords_names

Check that we have a valid pair of coordinate names

check_dataset_path

Check dataset and path_to_nc params

check_time_vars

Check multiple time variables

check_var_downloaded

Internal function to check whether we have downloaded a given variable...

check_var_in_nc

Check whether variables exist in a netcdf file

CHELSA_2.1

Documentation for CHELSA 2.1

CHELSA_trace21k_1.0

Documentation for CHELSA-TracCE21k

clean_data_path

Clean the data path

climate_for_locations

Extract local climate for one or more locations for a given time slice...

climate_for_time_slice

Extract a climate slice for a region

copy_example_data

Internal function to copy the example dataset when a new data path is ...

delta_compute

Compute a delta raster.

delta_downscale

Downscale using the delta method

df_from_region_series

Extract data frame from a region series

df_from_region_slice

Extract data frame from a region slice

distance_from_sea

Compute a raster of distances from the sea for each land pixel.

dot-cv

Coefficient of variation (expressed as percentage)

download_chelsa_trace21k

Download the CHELSA trace21k

download_chelsa

Download the CHELSA modern and future observations.

download_dataset

Download palaeoclimate reconstructions.

download_etopo_subset

Download part of the ETOPO relief dataset.

download_etopo

Download the ETOPO Global relief model

download_paleoclim

Download the paleoclim time series.

download_worldclim_future

Download the worldclim future time series.

download_worldclim_present

Download a WorldClim modern observations.

downscale_ice_mask

Downscale an ice mask

Example

Documentation for the Example dataset

filenames_chelsa_future

Generate file names to download the chelsa future dataset

filenames_chelsa_present

Generate file names to download the chelsa present dataset

filenames_chelsa_trace21k

Generate file names to download the chelsa trace 21k

filenames_paleoclim

Generate file names to download the chelsa present dataset

filenames_worldclim_future

Generate file names to download the WorldClim present dataset

filenames_worldclim_present

Generate file names to download the WorldClim present dataset

get_available_datasets

Get the available datasets.

get_biome_classes

Get the biome classes for a dataset.

get_data_path

Get the data path where climate reconstructions are stored

get_dataset_info

Get the information about a dataset

get_downloaded_datasets

Get the variables downloaded for each dataset.

get_ice_mask

Get the ice mask for a dataset.

get_land_mask

Get the land mask for a dataset.

get_mis_time_steps

Get time steps for a given MIS

get_resolution

Get resolution of a given dataset

get_sea_level

Get sea level estimate

get_time_bp_steps

Get time steps for a given dataset

get_var_meta

Get the metadata for a variable in a given dataset.

get_varname

Get a the varname for this variable

get_vars_for_dataset

Get a list of variables for a given dataset.

help_console

Print help to console

HYDE_3.3_baseline

Documentation for HYDE 3.3 dataset

idw_interp

Interpolate x to match mask y

is_region_series

Check the object is a valid region series

koeppen_geiger-methods

Reconstruct biomes based on the Köppen Geiger's classification

Krapp2021

Documentation for the Krapp2021 dataset

list_available_datasets

List all the available datasets.

load_dataset_list

Load the dataset list

load_etopo

Load the ETOPO global relief

location_series

Extract a time series of bioclimatic variables for one or more locatio...

location_slice_from_region_series

Extract local climate for one or more locations for a given time slice...

location_slice

Extract local climate for one or more locations for a given time slice...

make_binary_mask

Create a binary mask

make_land_mask

Create a land mask

mode

Mode

paleoclim_1.0

Documentation for Paleoclim

pastclim_rast

Read a raster for pastclim

pastclim-package

pastclim: Manipulate Time Series of Climate Reconstructions

region_series

Extract a time series of climate variables for a region

region_slice

Extract a climate slice for a region

sample_region_series

Sample points from a region time series

sample_region_slice

Sample points from a region time slice

sample_rs_fixed

Sample the same locations from a region time series

sample_rs_variable

Sample the different number of points from a region time series

set_data_path

Set the data path where climate reconstructions will be stored

slice_region_series

Extract a slice for a time series of climate variables for a region

time_bp_to_i_series

Convert a time BP to indexes for a series

time_bp_to_index

Find the closest index to a given time in years BP

time_bp

Extract and set time in years before present for SpatRaster and SpatRa...

time_series_for_locations

Extract a time series of bioclimatic variables for one or more locatio...

update_dataset_list

Update the dataset list

url_is_valid

Test whether a URL is valid

validate_nc

Validate an netcdf file for pastclim

var_labels

Generate pretty variable labels for plotting

vrt_get_meta

Get metadata from vrt

WorldClim_2.1

Documentation for the WorldClim datasets

ybp2date

Convert years BP from pastclim to lubridate date, or vice versa

Methods to easily extract and manipulate climate reconstructions for ecological and anthropological analyses, as described in Leonardi et al. (2023) <doi:10.1111/ecog.06481>. The package includes datasets of palaeoclimate reconstructions, present observations, and future projections from multiple climate models.

  • Maintainer: Andrea Manica
  • License: CC BY 4.0
  • Last published: 2025-02-23