I am using Circuitscape to do some landscape connectivity mapping, and in the past I have used the "Export to Circuitscape" tool available in ArcMap. My university no longer provides the license for ArcMap, so I was curious if there is another similar tool that formats and exports files in Arc Pro for use in Circuitscape? I am aware of linkage mapper, but to my knowledge it doesn't have what I need. I have manually projected, resampled, and used the raster to ASCII tool to try and format the files myself, but the ASCII headers (specifically the ncols and nrows) need to be the same in order for the files to work in Circuitscape and they never are. If there isnt a tool, is there a way to ensure that the ASCII headers match up without messing up the maps? Thank you!!
do you have any more recent documentation than this?
Inputs, Outputs and Options · Circuitscape.jl Documentation
ncols <Number of columns>
nrows <Number of rows>
xllcorner <X coordinate of lower left corner>
yllcorner <Y coordinate of lower left corner>
cellsize <size of each cell>
NODATA_value <Code for cells with no habitat, focal nodes, sources or grounds>
they use tab delimited format (which is different)
Numeric data only. Columns are delimited with tabs and rows are delimited with new line characters.
Raster to ascii Raster to ASCII (Conversion)—ArcGIS Pro | Documentation
uses
NCOLS xyz
NROWS xyz
XLLCORNER xyz
YLLCORNER xyz
CELLSIZE xyz
NODATA_VALUE xyz
row 1
row 2
.
.
but it is space delimited.
So, how is nrows and ncols getting misinterpreted
Thank you so much for responding!
The picture above is of my two files, I need the ncols and the nrows to match for both in order for it to run through Circuitscape, I have resampled to match the cellsize for both, but I am not aware of any tool that would allow me to match the ncols and nrows. And after i can get them to match, I would need to reformat the ASCII heading to match the Circuitscape format?
I see no indication that you set an analysis extent
Cell Alignment (Environment setting)—ArcGIS Pro | Documentation
the raster that you consider "correct" should be set as the "snap raster"
Snap Raster (Environment setting)—ArcGIS Pro | Documentation
and when you are using raster to ascii, you will note that there a variety of environment parameters that are supported by the tool. If you don't want surprises (like changing extent), then set them in the tool's Environment tab
Raster to ASCII (Conversion)—ArcGIS Pro | Documentation
Environments
Auto Commit, Cell Size, Cell Size Projection Method, Current Workspace, Extent, Geographic Transformations, Output CONFIG Keyword, Output Coordinate System, Scratch Workspace