marlonecobos / kuenm

kuenm: An R package for detailed calibration and construction of Maxent Ecological Niche Models.
63 stars 24 forks source link

Having issue with MOP #26

Closed Pritam31 closed 3 years ago

Pritam31 commented 3 years ago

Hi Marlon, I ran this codes kuenm_mmop(G.var.dir = gvars, M.var.dir = mvars, sets.var = sets_var, out.mop = outmop, percent = 10, comp.each = 2000, parallel = TRUE) and got this error Error in kuenm_mmop(G.var.dir = gvars, M.var.dir = mvars, sets.var = sets_var, : Argument is.swd is not defined. but I have not used swd anywhere above.

marlonecobos commented 3 years ago

Please see the options in the function's documentation. If you did not use swd format, set the argument to FALSE.

Pritam31 commented 3 years ago

Hi, is_swd <- FALSE

outmop <- "MOP_results" kuenm_mmop(G.var.dir = gvars, M.var.dir = mvars, is.swd = is_swd, sets.var = "Set_5",

  • out.mop = outmop, percent = 10, comp.each = 2000,
  • parallel = TRUE) I ran above script and got below result Error in .local(.Object, ...) :

Error in .rasterObjectFromFile(x, band = band, objecttype = "RasterLayer", : Cannot create a RasterLayer object from this file.