wallaceEcoMod / wallace

an interactive, reproducible, expandible, instructional, and open-source GUI-based app for ecological niche modeling
https://wallaceecomod.github.io/
GNU General Public License v3.0
132 stars 46 forks source link

WC/ecoClimate conflict between Env and Xfer #413

Open bjohnso005 opened 6 months ago

bjohnso005 commented 6 months ago

Wallace will crash if you use ecoClimate variables in the Env component but try to transfer to a new time using WorldClim variables in Transfer component.

Warning in raster::getData("CMIP5", var = "bio", res = round(envsRes * 60, : getData will be removed in a future version of raster . Please use the geodata package instead Warning: Error in .cmip5: resolution should be one of: 2.5, 5, 10 2: shiny::runApp 1: run_wallace [/Users/bajohnson135/Desktop/github/wallace/R/run_wallace.R#48]

Warning msg needs to be added, or add conditional if you use WC/eco for Env, you can only use WC/eco for transfer.