To allow extraction of PET from the CGIAR-CSI Global aridity and PET database (http://www.cgiar-csi.org/data/global-aridity-and-pet-database), you must manually download the file 'Global PET - Annual.zip' from the above url (follow 'Download from the HarvestChoice Dropbox'), and unzip it in some directory. Then set the path with options() as shown below in the examples.
get_zomer_pet(data)
data | Dataframe with longitude, latitude |
---|
# NOT RUN { options(zomerpetpath="path/to/zomer") dat <- data.frame(longitude=c(150,145,140), latitude=c(-33,-33,-33)) get_zomer_pet(dat) # }