Learn R Programming

caliver

An R package for the calibration and verification of gridded models

caliver is a package developed for the R programming language. The name stands for calIbration and verification of gridded models. Although caliver was initially designed for wildfire danger models such as GEFF (developed by ECMWF) and RISICO (developed by CIMA Research Foundation), the algorithms can be applied to any gridded model output. Caliver is available with an APACHE-2 license.

For more details, please see the following papers:

Please note: in the latest version of the caliver package many functionalities described in this paper have become obsolete and deprecated, please refer to the vignette "An introduction to the caliver package" for more details.

  • Vitolo C., Di Giuseppe F., Barnard C., Coughlan R., Krzeminski B., San-Miguel-Ayanz J. ERA5-based global meteorological wildfire danger maps. Sci Data 7, 216 (2020). https://doi.org/10.1038/s41597-020-0554-z

  • Vitolo C., Di Giuseppe F., Krzeminski B., San-Miguel-Ayanz J. A 1980–2018 global fire danger re-analysis dataset for the Canadian Fire Weather Indices, Sci Data 6, 190032 (2019). https://doi.org/10.1038/sdata.2019.32

Installation

The installation of the caliver package depends on the following libraries:

  • Geospatial Data Abstraction Library (GDAL)
  • NetCDF4 (netcdf4)

Make sure you have the above libraries installed before attempting to install caliver. Once all the dependencies are installed, get caliver's development version from github using devtools:

install.packages("remotes")
remotes::install_github("ecmwf/caliver")

Load the caliver package:

library("caliver")

Docker

In this repository you find a Dockerfile that contains all the necessary dependencies and the caliver package already installed.

docker build -t ecmwf/caliver:latest -f Dockerfile .

Alternatively, you can use the image we host on docker hub:

docker run -it --rm ecmwf/caliver:latest bash

Meta

  • This package and functions herein are part of an experimental open-source project. They are provided as is, without any guarantee.
  • Contributions are welcome! Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
  • Please report any issues or bugs.
  • License: Apache License 2.0
  • Get citation information for caliver in R doing citation(package = "caliver")

Copy Link

Version

Install

install.packages('caliver')

Monthly Downloads

5

Version

2.0.0

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Claudia Vitolo

Last Published

February 19th, 2021

Functions in caliver (2.0.0)

anomaly

anomaly
classify_index

classify_index
daily_clima

daily_clima
plot_percentile_map

plot_percentile_map
get_fire_danger_levels

get_fire_danger_levels
get_percentile_map

get_percentile_map
vdi

vdi
ranking

ranking
get_fire_season

get_fire_season
subset_datacube

subset_datacube
validate_fire_danger_levels

validate_fire_danger_levels
get_perc_risk_index

get_perc_risk_index
relative_humidity

relative_humidity
read_risico_binary

read_risico_binary
mask_crop_subset

mask_crop_subset
plot_pdf

plot_pdf
caliver

caliver: CALIbration and VERification of gridded model outputs