Skip to Content.

mget-help - [mget-help] connectivity tool

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: Dana Haggarty <>
To:
Subject: [mget-help] connectivity tool
Date: Mon, 09 May 2011 18:32:59 -0700
Hi there,
I am a phd student at UBC. I am trying to use your coral connectivity tool to look at connectivity between rockfish conservation areas in BC. I've been excited to see if I can get it to work!

I have used a raster of the conservation area as the "reef" and a raster of modeled available adult habitat as the reef cover (with no habitat=0, habitat =1).

The tool has not executed because I haven't got the available habitat raster in the correct format (see error message below). I tried to convert the raster to a floating points using the "Raster to Float" conversion tool, and although it ran successfully, I wasn't able to add the new raster to my project. Can you please give me some suggestions on what I need to do to get it into the correct format?

thanks very much!
Dana

------------
Executing: CoralReefConnectivityCreateSimulationFromArcGISRasters C:\Users\hp\Documents\GIS\RCAConnect RCA_raster3 AvailAdulthab1 WaterMask_50 false
Start Time: Mon May 09 18:18:22 2011
Running script CoralReefConnectivityCreateSimulationFromArcGISRasters...
ValueError: The raster or raster layer AvailAdulthab1, specified for the reefCoverRaster parameter, is a 8-bit unsigned integer raster or raster layer but this function requires a raster or raster layer with one of the following pixel types: 32-bit floating point', '64-bit floating point. Please provide a raster or raster layer with an allowed pixel type.
<type 'exceptions.ValueError'>: The raster or raster layer AvailAdulthab1, specified for the reefCoverRaster parameter, is a 8-bit unsigned integer raster or raster layer but this function requires a raster or raster layer with one of the following pixel types: 32-bit floating point', '64-bit floating point. Please provide a raster or raster layer with an allowed pixel type.
Failed to execute (CoralReefConnectivityCreateSimulationFromArcGISRasters).
End Time: Mon May 09 18:18:23 2011 (Elapsed Time: 1.00 seconds)

--
~^~^~^~^~^~^~^~^~^~^~^~^~^~^~
Dana Haggarty, M.Sc.
217 Machleary St.
Nanaimo BC, V9R 2G7
250-591-3723 or 250-668-2722

Archives powered by MHonArc.
Top of Page