-
Notifications
You must be signed in to change notification settings - Fork 7
Description
The function get_land_mask() for Barreto2023 dataset throws an error, when I downloaded just one selected variable:
library(pastclim)
set_data_path("d:/somedirectory/")
download_dataset("Barreto2023", "temperature_07")
lm <- get_land_mask(time_bp = -5000000, dataset = "Barreto2023")
This is a large dataset, it might take a while...
Error in check_var_downloaded(bio_variables, dataset) :
variable (bio01) not yet downloaded, usedownload_dataset()
This error doesn't make sense to me. I intentionally didn't download the whole dataset, because it is huge. I guess that's why you allow to download just one variable - which is very reasonable and which is what I did - downloaded just "temperature_07". Then why isn't landmask available just for that one variable? I guess it should be somehow, if you allow to download only part of the dataset?
I didn't find function to download the landmask itself.
I guess I am missing some knowledge here, a knowledge that could ideally be present within that error message or documentation (of get_land_mask function, probably).