Changelog
Version 0.3.0
New features
fd_forest_glad()
andfd_canopy_height()
: gain a new argumentmerge = FALSE
. If the tiles are not merged, the function will return the result much faster as aSpatRasterCollection
.fd_forest_extent_glad()
: eliminated. Functionality extended withfd_forest_glad()
.-
fd_inventory_spain()
: gains a new argumentprocess_level
, which can be:process_level = 0
: raw data is downloadedprocess_level = 1
: data is processed at the tree levelprocess_level = 2
: data is processed at the stand level
Version 0.2.1
CRAN release: 2024-11-25
-
fd_canopy_height()
: fix an error that was provoking the cached rasters to be deleted in the current session.
Version 0.2.0
CRAN release: 2024-11-23
New features
fd_allometry_tallo()
: new function to retrieve data from the TALLO database (thanks to @i-c-grant in #1).-
- It has now
quiet
argument, which defaults toFALSE
.
- It has now
-
metadata_forestdata
:List of chorological species updated
New list containing metadata of possible options for
fd_pathogens_defid2()
.New list containing metadata of codes for discrete and forest layers in
fd_landcover_copernicus()
.
fd_landcover_esri()
: now includes land cover data for 2023.-
fd_canopy_height()
: gains a new argumentmodel
with two possible options:model = "eth"
: default value. It returns the ETH Global Canopy Model with 10 meters of spatial resolution.model = "meta"
: it returns the Meta Global Canopy Model with 1 meter of spatial resolution. Thanks to @Wycology in #2.
fd_forest_glad()
: new function that deprecatesfd_forest_extent_glad()
. It includes a new argumentmodel
to choose forest extent, forest height, or land cover models from GLAD. It also fixes #7.
Enhancements
Properly name land cover instead of land use to
fd_landcover_copernicus()
andfd_landcover_esri()
in their documentation.fd_forest_eutrees4f()
: now gives an error with a better message whendistrib == "nat" & period != 2005
.Improve documentation, fix mistakes in urls to other functions, add unit tests for all functions, correct wrong
fd_forest_extent_glad()
reference.Remove dependency on
RODBC
, and useDBI
andodbc
instead infd_inventory_spain()
. Improve error message when data is not available.fd_canopy_height()
: now crops and then merges multiples tiles, so it’s much faster when usingcrop = TRUE
. It acquires argumentmask
, and losses...
passed toterra::crop()
because it fails to mask when used withincrop()
.Now every function have the argument
quiet = FALSE
by default, and retrieves the citation of the dataset.
Bugs
fd_forest_chorological()
: fixes #5. Species Cedrus atlantica and Phoenix theophrasti are eliminated from the metadata since they have no range data. Chamaerops humilis is now well spelled. The function now retrieve an error message when data is not available (fixes #5).-
It was returning metadata with the same name always. Now it will be different depending on the dataset that we download, and it will be checked if it exists before downloading it (according to #3).
Some provinces in IFN4 were incorrectly georreferenced. Now they are correctly georreferenced based on the Documentador. IFN3 provinces are now also georreferenced
fd_landcover_copernicus()
andfd_canopy_height()
now crop data regardless of the CRS.fd_forest_extent_glad()
: incorrectly crops to the argumentx
(fixes #7).