Hackstream 0.7.7

37 views
Skip to first unread message

filippo...@gmail.com

unread,
Jul 8, 2014, 11:42:25 AM7/8/14
to jgras...@googlegroups.com
Hi all,
I noticed the module hackstream is missing in the jgrasstools 0.7.7, is it true?
Would it be possible to reintroduce it?
Thanks in advance.

Filippo

Silvia Franceschi

unread,
Jul 28, 2014, 4:15:04 AM7/28/14
to jgras...@googlegroups.com
Hi Filippo,
Hackstream is now integrated in the NetworkAttributeExtractor.

Silvia



--
You received this message because you are subscribed to the Google Groups "jgrasstools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jgrasstools...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

filippo...@gmail.com

unread,
Aug 13, 2014, 4:03:07 AM8/13/14
to jgras...@googlegroups.com
Hi Silvia,
thanks for the answer. I tried NetworkAttributeBuilder (I didn't find NetworkAttributeExtractor) to get the Hack numbering map of a small basin but when the code arrives at Pfafstetter it seems to stop (without any error message), consider that I left the PC working all night long:
I copy what I get from the console (I omit the part of the reading coverage)


Find outlets...
0%...
100%...
Finished.
Extract vectors...
Finished.
Connect channels...
0%...
100%...
Finished.
Calculate Strahler...
Finished.
Calculate Pfafstetter...


Is there a way to exclude Strahler and Pfafstetter since I just need Strahler?

I am using Win7 64bit, Intel Xeon CPU 2.93 Ghz, 12GB of ram and udig 1.4.0 and jgrasstools 0.7.7


any suggestion? Thanks in advance

filippo...@gmail.com

unread,
Aug 13, 2014, 4:04:50 AM8/13/14
to jgras...@googlegroups.com
When I wrote
Is there a way to exclude Strahler and Pfafstetter since I just need Strahler?
I meant I just need Hack stream numbering.
Sorry

andrea antonello

unread,
Aug 13, 2014, 4:11:20 AM8/13/14
to jgras...@googlegroups.com
Hi,

> thanks for the answer. I tried NetworkAttributeBuilder (I didn't find
> NetworkAttributeExtractor) to get the Hack numbering map of a small basin
> but when the code arrives at Pfafstetter it seems to stop (without any error
> message), consider that I left the PC working all night long:
> I copy what I get from the console (I omit the part of the reading coverage)
>
>
> Find outlets...
> 0%...
> 100%...
> Finished.
> Extract vectors...
> Finished.
> Connect channels...
> 0%...
> 100%...
> Finished.
> Calculate Strahler...
> Finished.
> Calculate Pfafstetter...

This is of no help. Please enable the debug option when you send it
log messages. Maybe something related to the problem might appear in
there.

> Is there a way to exclude Strahler and Pfafstetter since I just need
> Strahler?

No, I am afraid there is not.
The right way here is to understand the problem and try to fix it, so
that others don't run into the same problem.

Andrea

filippo...@gmail.com

unread,
Aug 13, 2014, 4:33:43 AM8/13/14
to jgras...@googlegroups.com
Hi,
thanks for the answer, here the debug log message:

Process started: 2014-08-13 10:01:09

------------------------------>8----------------------------
Launching command:
------------------
cmd /c C:\Users\Filippo\AppData\Local\Temp\udig_spatialtoolbox.bat

(you can run the above from command line, customizing the content)
----------------------------------->8---------------------------------

Script run:
-----------
def simulation = new oms3.SimBuilder(logging:'OFF').sim(name:'NetworkAttributesBuilder') {

model {

components  {
    '_extractvectornet0'        '_extractvectornet'
}

parameter  {
    '_extractvectornet0.inNet'        'W:/COMMESSE/2013/13-08A-BZ-COMPRENSORIO_BASSA_ATESINA_-PZP_TRKUMA/3.sviluppo/8.grassdata/25832_TKM/K0/cell/net_K0_2.5m'
    '_extractvectornet0.inFlow'        'W:/COMMESSE/2013/13-08A-BZ-COMPRENSORIO_BASSA_ATESINA_-PZP_TRKUMA/3.sviluppo/8.grassdata/25832_TKM/K0/cell/DD_K0_2.5m'
    '_extractvectornet0.inTca'        'W:/COMMESSE/2013/13-08A-BZ-COMPRENSORIO_BASSA_ATESINA_-PZP_TRKUMA/3.sviluppo/8.grassdata/25832_TKM/K0/cell/TCA_K0_2.5m'
    '_extractvectornet0.doHack'        'true'
    '_extractvectornet0.outNet'        'W:/COMMESSE/2013/13-08A-BZ-COMPRENSORIO_BASSA_ATESINA_-PZP_TRKUMA/3.sviluppo/8.grassdata/25832_TKM/K0/cell/net_vec_K0_2.5m'
    '_extractvectornet0.outHack'        'W:/COMMESSE/2013/13-08A-BZ-COMPRENSORIO_BASSA_ATESINA_-PZP_TRKUMA/3.sviluppo/8.grassdata/25832_TKM/K0/cell/HackStream_K0_2.5m_new'
}

connect  {
}

}
}
result = simulation.run();

println " "



------------------------------>8----------------------------

Environment used:
-----------------
ProgramData =    C:\ProgramData
USERPROFILE =    C:\Users\Filippo
PATHEXT =    .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
windows_tracing_logfile =    C:\BVTBin\Tests\installpackage\csilogfile.log
ProgramFiles(x86) =    C:\Program Files (x86)
VBOX_MSI_INSTALL_PATH =    C:\Program Files\Oracle\VirtualBox\
SystemDrive =    C:
TEMP =    C:\Users\Filippo\AppData\Local\Temp
windows_tracing_flags =    3
ProgramFiles =    C:\Program Files
Path =    C:/Program Files (x86)/uDig/1.4.0/udig/jre/bin/server;C:/Program Files (x86)/uDig/1.4.0/udig/jre/bin;C:/Program Files (x86)/uDig/1.4.0/udig/jre/lib/amd64;C:\Program Files (x86)\MiKTeX 2.9\miktex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\uDig\1.4.0\udig;
HOMEDRIVE =    C:
PROCESSOR_REVISION =    2c02
USERDOMAIN =    alatyr
ALLUSERSPROFILE =    C:\ProgramData
ProgramW6432 =    C:\Program Files
PROCESSOR_IDENTIFIER =    Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
CM2013DIR =    C:\Program Files (x86)\Common Files\Autodesk Shared\Materials\
SESSIONNAME =    Console
TMP =    C:\Users\Filippo\AppData\Local\Temp
AGSDESKTOPJAVA =    C:\Program Files (x86)\ArcGIS\Desktop10.0\
PROCESSOR_ARCHITECTURE =    AMD64
LOGONSERVER =    \\ALATYR
=:: =    ::\
CommonProgramFiles =    C:\Program Files\Common Files
OS =    Windows_NT
FP_NO_HOST_CHECK =    NO
HOMEPATH =    \Users\Filippo
PROCESSOR_LEVEL =    6
CommonProgramW6432 =    C:\Program Files\Common Files
LOCALAPPDATA =    C:\Users\Filippo\AppData\Local
ILBDIR =    C:\Program Files (x86)\Common Files\Autodesk Shared\Materials\
COMPUTERNAME =    ALATYR
DellClientSystemUpdatePath =    C:\Program Files (x86)\Dell\ClientSystemUpdate\
SystemRoot =    C:\Windows
windir =    C:\Windows
NUMBER_OF_PROCESSORS =    12
PSModulePath =    C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC =    C:\Users\Public
USERNAME =    Filippo
CommonProgramFiles(x86) =    C:\Program Files (x86)\Common Files
ComSpec =    C:\Windows\system32\cmd.exe
APPDATA =    C:\Users\Filippo\AppData\Roaming
------------------------------>8----------------------------


Reading coverage: net_K0_2.5m
Finished.
Reading coverage: DD_K0_2.5m
Finished.
Reading coverage: TCA_K0_2.5m
Finished.
Find outlets...
0%...
10%...
20%...
30%...
40%...
50%...
60%...
70%...
80%...
90%...

100%...
Finished.
Extract vectors...
Finished.
Connect channels...
0%...
10%...
20%...
30%...
40%...
50%...
60%...
70%...
80%...
90%...

100%...
Finished.
Calculate Strahler...
Finished.
Calculate Pfafstetter...

hope it helps.
Thanks again
Filippo

andrea antonello

unread,
Aug 19, 2014, 5:40:18 PM8/19/14
to jgras...@googlegroups.com
Hi Filippo, sorry for the long delay, the email got lost in my inbox.

The log you sent in doesn't seem to have any problem at all. Did it
finish in the end?


Andrea
Reply all
Reply to author
Forward
0 new messages