ERROR consnet

57 views
Skip to first unread message

Maria Alejandra Pinzon Suarez

unread,
Feb 26, 2012, 11:02:54 AM2/26/12
to ConsNet
Hi all,

I am using ConsNet and MaxEnt in my master thesis to prioritize areas
for conservation in Colombia. I am using as a surrogates 112 anuran
species, which distribution i got from MaxEnt. Then, I used the
programm developed by Fuller to convert the maxent outputs in a
representation file for Consnet. When i try to load the problem, all
the files load successfully but at the end there is a problem reading
one of the coordinates, this is what the programm showed me

missed latitude grid point [cellID 59368][latitude value: 6.98976,
expected: 15.40473]
java.lang.IllegalStateException: missed latitude grid point [cellID
59368][latitude value: 6.98976, expected: 15.40473]

I know i cant changed this latitude cause it will fall out of my study
area, i dont know why the programm expected that coordinate. I guess
there is a problem with my representation file, maybe cause it doesnt
have the rows and the columns, therefore ConsNet cant build the grid.
I really dont know. I tried to load the problem without the excluded
and included cells files but it also showed the same error.

Therefore, I wanted to ask you if this problem has happened before and
you might know the solution. This is what appears in the black box :)


G:\1. Male\Master_thesis\ConsNet>java -Xms512m -Xmx512m -showversion -
verbosegc
-jar consnet2.jar -properties consnet.properties
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)

loading properties: consnet.properties
GUI finishes loading
[GC 139776K->8198K(506816K), 0.0601101 secs]
[GC 147974K->10447K(506816K), 0.0450277 secs]
[GC 150223K->13053K(506816K), 0.0436721 secs]
[GC 152829K->15681K(506816K), 0.0242572 secs]
[GC 155457K->18266K(506816K), 0.0429643 secs]
[GC 158042K->20865K(506816K), 0.0528248 secs]
[GC 160641K->23475K(506816K), 0.0514779 secs]
[GC 163251K->26067K(506816K), 0.0514225 secs]
[GC 165843K->28657K(506816K), 0.0509072 secs]
[GC 168433K->31238K(506816K), 0.0511628 secs]
[GC 171014K->33834K(506816K), 0.0358473 secs]
[GC 173610K->36429K(506816K), 0.0341150 secs]
[GC 176205K->39015K(506816K), 0.0365587 secs]
[GC 178791K->41600K(506816K), 0.0342931 secs]
[GC 181376K->44184K(506816K), 0.0335489 secs]
[GC 183960K->46773K(506816K), 0.0340124 secs]
[GC 186549K->49371K(506816K), 0.0339657 secs]
[GC 189147K->51984K(506816K), 0.0338712 secs]
[GC 191760K->54610K(506816K), 0.0345847 secs]
[GC 194386K->57196K(506816K), 0.0365561 secs]
[GC 196972K->59803K(506816K), 0.0337665 secs]
[GC 199579K->62426K(506816K), 0.0345077 secs]
[GC 202202K->65054K(506816K), 0.0345934 secs]
[GC 204830K->67665K(506816K), 0.0346488 secs]
[GC 207441K->70280K(506816K), 0.0342172 secs]
[GC 210056K->72898K(506816K), 0.0338856 secs]
[GC 212674K->75472K(506816K), 0.0340355 secs]
[GC 215248K->82866K(506816K), 0.1034394 secs]
java.util.concurrent.ExecutionException:
java.lang.IllegalStateException: missed
latitude grid point [cellID 59368][latitude value: 6.98976, expected:
15.40473]

at java.util.concurrent.FutureTask$Sync.innerGet(Unknown
Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at
com.simetrix.xcommons.async.task.CallbackFuture.done(Unknown Source)
at java.util.concurrent.FutureTask
$Sync.innerSetException(Unknown Source
)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: missed latitude grid point
[cellID 5
9368][latitude value: 6.98976, expected: 15.40473]
at grids.reg_square.RegLatLongBuilder.indexCells(Unknown
Source)
at
grids.reg_square.RegLatLongBuilder.buildGridProtected(Unknown Source)

at grids.builder.GridBuilder.buildGrid(Unknown Source)
at problem.wizard.CreateProblemDataPanel
$BuildProblemDataTask.call(Unkno
wn Source)
at problem.wizard.CreateProblemDataPanel
$BuildProblemDataTask.call(Unkno
wn Source)
at com.simetrix.xcommons.async.task.CallbackFuture
$CallbackTask.call(Unk
nown Source)
... 5 more
java.lang.IllegalStateException: missed latitude grid point [cellID
59368][latit
ude value: 6.98976, expected: 15.40473]

thanks,

Maria Alejandra

Michael Ciarleglio

unread,
Feb 26, 2012, 11:46:26 AM2/26/12
to ConsNet
Hi Maria,

I think Trevon's program creates input files for a much older version
of ConsNet (long before the Java version). The number of columns is
different, so ConsNet may be reading the wrong column for the x and y
coordinates.

I have posted a conversion utility (along with a manual) that we use
in our lab. The name of the conversion utility is Maxent2Consnet.
There are instructions included with the program.

Please visit:

ConsNet homepage: http://uts.cc.utexas.edu/~consbio/Cons/consnet_home.html
conversion utility: http://uts.cc.utexas.edu/~consbio/Cons/maxcon.zip

For reference, ConsNet is complaining that the grid is mis-aligned at
cell 59368. If you see these errors in the future, I would try the
following things:

1) Use Maxent2ConsNet, it is very good at keeping the data lined up.
2) Double check that you have the correct number of columns in your
input file.
3) Check the grid spacing defined in the first row of the input file.
4) Look at the row for cell 59368 to see if it is unusual in any way.

Hope that helps.

Michael

On Feb 26, 10:02 am, Maria Alejandra Pinzon Suarez
Reply all
Reply to author
Forward
0 new messages