Circuitscape / datasets

Data for Circuitscape and Omniscape examples
MIT License
0 stars 1 forks source link

where to find examples to set up focal node location file?? #1

Closed Dahn-YoungDong closed 3 years ago

Dahn-YoungDong commented 3 years ago

You tutorial pointed towards a folder of examples. I could not find them. Best

vlandau commented 3 years ago

Which tutorial?

Dahn-YoungDong commented 3 years ago

"Examples are in the examples directory (located where Circuitscape is installed) and can also be found on the Circuitscape downloads page."

From website: " https://docs.circuitscape.org/Circuitscape.jl/latest/options/#Raster-resistance-map-or-network/graph "

General question is: how to set up a focal node location file? my raster input is a resistance map in asc format from output of resistanceGA.

On Thu, Apr 22, 2021 at 12:29 PM Vincent Landau @.***> wrote:

Which tutorial?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Circuitscape/datasets/issues/1#issuecomment-825046576, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUSUW7OVLV7PCUZ5FL6X3TTKBMH3ANCNFSM43M6KENQ .

-- Dahn-young (Dahny) Dong [image: A button with "Hear my name" text for name playback in email signature] https://www.name-coach.com/danyang-dong

vlandau commented 3 years ago

Ah, that is from the old version of Circuitscape. We need to update the docs (cc @ranjanan @ViralBShah). The files can be found here: https://github.com/Circuitscape/Circuitscape.py/tree/master/examples -- the .asc files should work with Circuitscape.jl.

There are some more details further down in the documentation on focal node files (e.g. here). Note also that .tif format is supported in addition to .asc. A node file is a raster with positive integer values, where each integer value corresponds to a unique node (which can consist of more than one pixel), and all other pixels are set to NoData (in the .asc case, -9999).

vlandau commented 3 years ago

I'm going to close this issue and open a new one in the Circuitscape.jl repository where it will have more visibility.

Dahn-YoungDong commented 3 years ago

Do you mean that both inputs should be .asc? For simplicity sake, for example, I am using .asc file as the resistance map. I also then should use an asc. grid data as the focal node location.

On Thu, Apr 22, 2021 at 1:01 PM Vincent Landau @.***> wrote:

Ah, that is from the old version of Circuitscape. We need to update the docs (cc @ranjanan https://github.com/ranjanan @ViralBShah https://github.com/ViralBShah). The files can be found here: https://github.com/Circuitscape/Circuitscape.py/tree/master/examples -- the .asc files should work with Circuitscape.jl.

There are some more details further down in the documentation on focal node files (e.g. here https://docs.circuitscape.org/Circuitscape.jl/latest/options/#ASCII-raster-format). Note also that .tif format is supported in addition to .asc. A node file is a raster with positive integer values, where each integer value corresponds to a unique node (which can consist of more than one pixel), and all other pixels are set to NoData (in the .asc case, -9999).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Circuitscape/datasets/issues/1#issuecomment-825067377, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUSUW5ZKBS3ML7BL675KHLTKBP6LANCNFSM43M6KENQ .

-- Dahn-young (Dahny) Dong [image: A button with "Hear my name" text for name playback in email signature] https://www.name-coach.com/danyang-dong

vlandau commented 3 years ago

Yep!