mapme.biodiversity 0.9.0
General
-
prep_resources()
received additional argumentmode
to
get control over the reading mode (e.g. portfolio or asset) -
resources based on WorldClim now support selecting the spatial
resolution and cover the historical timeseries starting from 1960 (#302) -
assets are now chunked into sub-components prior to indicator calculation thus
parallelization now is applied to a single level (#322) -
chunk_size
now is properly set to 100,000 ha as per documentation (before
it was set to 10,000 ha) (#324) -
setting
chunk_size=NULL
is now allowed and skips chunking (#331) -
treecover indicators now trough a message if landscapemetrics is not
installed (#325) -
setting
outdir
viamapme_options()
now probes the destination by trying
to write a GTiff file and errors if unsuccessful (#335) -
code previously using
httr
now useshttr2
(#330) -
new resources:
-
new indicators:
calc_slope()
(#355, @fBedecarrats)calc_ipbes_biomes()
(#345)calc_humanfootprint()
(#341)calc_gsw_time_series()
(#354, @karpfen)calc_species_richness()
(#359)calc_exposed_population()
(#321)calc_precipitation_chelsa()
(#318)calc_key_biodiversity_area()
(#349, @karpfen)calc_biodiversity_intactness_index()
(#351, @karpfen)calc_vul_carbon()
,calc_man_carbon()
, andcalc_irr_carbon()
(#339)
Bug fixes
- fixes transforming asset to the CRS of raster dataset
incalc_deforestation_drivers()
(#300) write_portfolio()
now drops indicators with only NULL values instead
of throwing an error (#303)get_ucdp_ged()
now adds SRS infos to the footprints object (#313)- uses binary writing mode for
worldpop
resource on Windows (#319)
Internal
.check_portfolio()
now checks ifassetid
has unique values and only
overrides them if this in not the case (#305).read_raster()
now reads values into memory and removes VRT files on-exit (#311).fetch_resources()
now honors both creation and opening options (#315)httr
calls are replaced with the respectivehttr2
equivalents (#329)