# HG changeset patch # User ecology # Date 1674662496 0 # Node ID 51b30155533de2cad1020063b75383eb69d232e1 # Parent 7899febbfb94b346e9a0551a8d690adb2a069e4a planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/obisindicators commit d1d3e8640457c30349b842ea05de64b9312890f4 diff -r 7899febbfb94 -r 51b30155533d macro.xml --- a/macro.xml Thu Dec 29 13:04:48 2022 +0000 +++ b/macro.xml Wed Jan 25 16:01:36 2023 +0000 @@ -1,5 +1,5 @@ - 0.0.1 + 0.0.2 r-base diff -r 7899febbfb94 -r 51b30155533d obisindicators.r --- a/obisindicators.r Thu Dec 29 13:04:48 2022 +0000 +++ b/obisindicators.r Wed Jan 25 16:01:36 2023 +0000 @@ -32,9 +32,10 @@ spe <- as.numeric(args[6]) rec <- as.numeric(args[7]) crs <- as.numeric(args[8]) - source(args[9]) + reso <- as.numeric(args[9]) source(args[10]) source(args[11]) + source(args[12]) } if (hr == "false") { @@ -63,7 +64,7 @@ #Create a discrete global grid #Create an ISEA discrete global grid of resolution 9 using the dggridR package: -dggs <- dggridR::dgconstruct(projection = "ISEA", topology = "HEXAGON", res = 9) +dggs <- dggridR::dgconstruct(projection = "ISEA", topology = "HEXAGON", res = reso) #Then assign cell numbers to the occurrence data occ$cell <- dggridR::dgGEO_to_SEQNUM(dggs, occ$decimalLongitude, occ$decimalLatitude)[["seqnum"]] diff -r 7899febbfb94 -r 51b30155533d obisindicators.xml --- a/obisindicators.xml Thu Dec 29 13:04:48 2022 +0000 +++ b/obisindicators.xml Wed Jan 25 16:01:36 2023 +0000 @@ -31,6 +31,7 @@ '$species' '$records' '$type' + '$resolution' '$__tool_directory__/analyze.r' '$__tool_directory__/visualize.r' '$__tool_directory__/data.r' @@ -41,8 +42,8 @@ + - @@ -52,6 +53,7 @@ + @@ -70,6 +72,7 @@ +