Skip to content

Type system for datasets

Note that all datasets must be a direct subtype of RasterDataset, all providers must be a direct subtype of RasterProvider, all scenarios must be a direct subtype of FutureScenario, and all models must be a direct subtype of FutureModel. If you need to aggregate multiple models within a type (e.g. CMIP6Scenarios), use a Union type. The reason for this convention is that in interactive mode, subtype will let users pick the data combination they want.

Type system overview

SimpleSDMDatasets.RasterData Type
julia
RasterData{P <: RasterProvider, D <: RasterDataset}

The RasterData type is the main user-facing type for SimpleSDMDatasets. Specifically, this is a singleton parametric type, where the two parameters are the type of the RasterProvider and the RasterDataset. Note that the inner constructor calls the provides method on the provider/dataset pair to check that this combination exists.

source

SimpleSDMDatasets.RasterDataset Type
julia
RasterDataset

This is an abstract type to label something as being a dataset. Datasets are given by RasterProviders, and the same dataset can have multiple providers.

source

SimpleSDMDatasets.RasterProvider Type
julia
RasterProvider

This is an abstract type to label something as a provider of RasterDatasets. For example, WorldClim2 and CHELSA2 are RasterProviders.

source

List of datasets

SimpleSDMDatasets.BioClim Type
julia
BioClim

source

SimpleSDMDatasets.Elevation Type
julia
Elevation

source

SimpleSDMDatasets.MinimumTemperature Type
julia
MinimumTemperature

source

SimpleSDMDatasets.MaximumTemperature Type
julia
MaximumTemperature

source

SimpleSDMDatasets.AverageTemperature Type
julia
AverageTemperature

source

SimpleSDMDatasets.Precipitation Type
julia
Precipitation

source

SimpleSDMDatasets.SolarRadiation Type
julia
SolarRadiation

source

SimpleSDMDatasets.WindSpeed Type
julia
WindSpeed

source

SimpleSDMDatasets.WaterVaporPressure Type
julia
WaterVaporPressure

source

SimpleSDMDatasets.LandCover Type
julia
LandCover

source

SimpleSDMDatasets.HabitatHeterogeneity Type
julia
HabitatHeterogeneity

source

SimpleSDMDatasets.Topography Type
julia
Topography

source

SimpleSDMDatasets.BirdRichness Type
julia
BirdRichness

source

SimpleSDMDatasets.MammalRichness Type
julia
MammalRichness

source

SimpleSDMDatasets.AmphibianRichness Type
julia
AmphibianRichness

source

List of providers

SimpleSDMDatasets.WorldClim2 Type
julia
WorldClim2

This provider offers access to the version 2 of the WorldClim data, accessible from http://www.worldclim.com/version2.

source

SimpleSDMDatasets.EarthEnv Type
julia
EarthEnv

source

SimpleSDMDatasets.CHELSA1 Type
julia
CHELSA1

source

SimpleSDMDatasets.CHELSA2 Type
julia
CHELSA2

source

SimpleSDMDatasets.BiodiversityMapping Type
julia
BiodiversityMapping

Global biodiveristy data from https://biodiversitymapping.org/ - see this website for citation information

source

SimpleSDMDatasets.PaleoClim Type
julia
PaleoClim

Paleoclimate data from http://www.paleoclim.org/ - see this website for citation information

source

List of projections

SimpleSDMDatasets.Projection Type
julia
Future{S <: FutureScenario, M <: FutureModel}

This type is similar to RasterData but describes a combination of a scenario and a model. Note that unlike RasterData, there is no type check in the inner constructor; instead, the way to check that a provider/dataset/scenario/model combination exists is to overload the provides method for a dataset and future.

source

SimpleSDMDatasets.CMIP5Scenario Type
julia
CMIP5Scenario

These scenarios are part of CMIP5. They can be RCP26 to RCP85 (with RCPXX the scenario).

source

List of enumerated types

SimpleSDMDatasets.RasterDownloadType Type
julia
RasterDownloadType

This enum stores the possible types of downloaded files. They are listed with instances(RasterDownloadType), and are currently limited to _file (a file, can be read directly) and _zip (an archive, must be unzipped).

source

SimpleSDMDatasets.RasterFileType Type
julia
RasterFileType

This enum stores the possible types of returned files. They are listed with instances(RasterFileType).

source

SimpleSDMDatasets.RasterCRS Type
julia
RasterCRS

This enum stores the possible coordinate representation system of returned files. They are listed with instances(RasterProjection).

source