#GRASS IRC Log - 2009-04-13

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
00:20:39 CIA-9: hcho * r36714 /grass/trunk/general/g.mapsets/main.c: minor refactoring
00:20:39 sigq: grassfeed: Changeset [36714]: minor refactoring <https://trac.osgeo.org/grass/changeset/36714>
00:20:52 CIA-9: hcho * r36715 /grass/branches/develbranch_6/general/g.mapsets/main.c: minor refactoring
00:22:39 sigq: grassfeed: Changeset [36715]: minor refactoring <https://trac.osgeo.org/grass/changeset/36715>
07:26:24 CIA-9: neteler * r36716 /grass-web/trunk/grass64/binary/mswindows/ ( . native/ ): added mswindows
07:26:26 sigq: grassfeed: Changeset [36716]: added mswindows <https://trac.osgeo.org/grass/changeset/36716>
07:46:55 CIA-9: neteler * r36717 /grass-web/trunk/grass64/binary/mswindows/native/ ( 13 files in 3 dirs ): install instructions - still need updates
07:47:03 markusN: new WinGRASS binaries: http://grass.osgeo.org/grass64/binary/mswindows/native/WinGRASS-6.4.0RC4-1-Setup.exe
07:47:04 sigq: grassfeed: Changeset [36717]: install instructions - still need updates <https://trac.osgeo.org/grass/changeset/36717>
07:54:35 sigq: grassfeed: Release/6.4.0RC4-News edited by neteler <https://trac.osgeo.org/grass/wiki/Release/6.4.0RC4-News>
07:57:38 CIA-9: neteler * r36718 /grass-web/trunk/download/software.inc: +stand-alone installer from Colin
07:57:39 sigq: grassfeed: Changeset [36718]: +stand-alone installer from Colin <https://trac.osgeo.org/grass/changeset/36718>
08:07:19 CIA-9: neteler * r36719 /grass-web/trunk/grass64/binary/mswindows/native/README.html: many HTML fixes
08:09:00 sigq: grassfeed: Changeset [36719]: many HTML fixes <https://trac.osgeo.org/grass/changeset/36719>
09:57:22 markusN: hi arkygeek
09:57:37 arkygeek: hi
09:57:49 markusN: which Linux do you have?
09:57:58 arkygeek: kubuntu intrepid
10:00:12 markusN: I thought that Jachym made 6.4 binaries for that but cannot find them
10:01:48 arkygeek: regardless of 6.2 or 6.4 on linux, it should not be that different should it
10:01:58 markusN: besides the possibility to compile yourself ( http://grass.osgeo.org/wiki/Compile_and_Install#Ubuntu_7.10_64-bit ), perhaps the compiler optimization was different?
10:02:00 sigq: Title: Compile and Install - GRASS-Wiki ( at grass.osgeo.org )
10:02:01 arkygeek: especially 6.4 being slower
10:02:12 markusN: but only on Mac you say?
10:02:17 arkygeek: i used binaries for bot installs
10:02:34 arkygeek: i am running 6.4 on mac, 6.2 on linux
10:02:43 arkygeek: s/bot/both
10:02:45 markusN: I don't know if William uses optimization
10:02:52 arkygeek: ahh
10:03:14 arkygeek: that might be it then hey?
10:04:11 markusN: according to grass64/macosx/ReadMe.rtf he doesn't
10:04:37 markusN: http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx
10:04:38 sigq: Title: /grass/branches/develbranch_6/macosx - GRASS GIS - Trac ( at trac.osgeo.org )
10:04:42 markusN: just guessing
10:04:53 markusN: best is to ask him via email
10:05:05 arkygeek: so if i build it from source, it might be better
10:05:08 markusN: aim is that 6.4 is *faster* than 6.2
10:05:17 markusN: and it is for r.cost, r.watershed etc
10:05:37 markusN: maybe yes, then you know what compiler settings you prefer
10:19:16 markusN: arkygeek: found it: grass-preview-doc_6.4~20081031-1_all.deb in http://les-ejk.cz/ubuntu/dists/intrepid/multiverse/binary-i386/, a bit old though
10:19:27 markusN: will try to convince jachym to rebuild RC4
10:19:58 arkygeek: ok, I will watch for that... I don't need to run any more models for a while now, so can wait ;- )
10:20:28 : * arkygeek bookmarks the url
10:21:33 wildintellect: hmm do those instructions talk about optimizations - I built the other day and seem to recall it was just which add-ons to inlcude or not
10:21:38 wildintellect: or is that what you mean
10:22:37 arkygeek: ? not sure i follow you
10:28:22 markusN: wildintellect: I mean gcc optimization
10:28:52 markusN: what I guess you mean is that Addons contains *replacements* for some modules
10:29:00 markusN: r.los -> r.viewshed
10:29:06 markusN: r.cost -> r.terracost
10:29:18 markusN: the new implementations are completely different
10:29:27 markusN: and 1000 to 1 million times faster : )
10:29:59 markusN: some precision issue yet in r.viewshed otherwise it had been moved to main GRASS already
10:30:12 markusN: and r.terracost just arrived and needs more testing
10:30:37 wildintellect: markusN, I guess I'm confused by "I don't know if William uses optimization"
10:30:55 wildintellect: are there flags to better optimize when running make?
10:30:59 doktoreas: hello folks
10:31:49 markusN: hi doktoreas
10:33:52 markusN: wildintellect: I use this http://rafb.net/p/Hmidwe92.html
10:33:53 sigq: Title: Nopaste - No description ( at rafb.net )
10:33:55 markusN: so yes
10:34:28 markusN: William doesn't use -O2 optimization to my knowledge
10:34:47 markusN: ( btw: -O3 may case troubles )
11:11:15 CIA-9: neteler * r36720 /grass-addons/raster/r.terracost/initialize.cc: declare mapset const
11:11:16 sigq: grassfeed: Changeset [36720]: declare mapset const <https://trac.osgeo.org/grass/changeset/36720>
11:11:20 wildintellect: markusN, ah thanks I wasn't aware of those since there not in the general build docs
11:11:33 wildintellect: and I don't really know my way around make
11:17:52 : * markusN checks INSTALL file
11:20:21 wildintellect: ah I always follow the webpages
11:22:35 wildintellect: I see it in the INSTALL file, although there's no explanation of what -O2 does
11:22:41 wildintellect: or means
11:22:55 markusN: see ( I ) CODE OPTIMIZATION
11:23:09 markusN: well, it optimizes : )
11:23:23 markusN: no idea what's behind, I don't know gcc internals
11:24:07 markusN: I'm afraid to point you to http://gcc.gnu.org/onlinedocs/
11:24:08 sigq: Title: GCC online documentation - GNU Project - Free Software Foundation ( FSF ) ( at gcc.gnu.org )
11:24:55 wildintellect: ya I tried to see if it said in the man pages, but haven't found it yet
11:26:01 wildintellect: http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/Optimize-Options.html#Optimize-Options
11:26:02 sigq: Title: Optimize Options - Using the GNU Compiler Collection ( GCC ) ( at gcc.gnu.org )
11:26:24 wildintellect: markusN, thanks, that's quite informative and I'll have to remember it for all sorts of other stuff
11:28:29 markusN: the optimization business is quite complex
11:29:02 CIA-9: neteler * r36721 /grass/branches/develbranch_6/INSTALL: cosmetics
11:29:02 CIA-9: neteler * r36722 /grass/branches/releasebranch_6_4/INSTALL: cosmetics
11:29:44 sigq: grassfeed: Changeset [36722]: cosmetics <https://trac.osgeo.org/grass/changeset/36722> || Changeset [36721]: cosmetics <https://trac.osgeo.org/grass/changeset/36721>
11:31:42 CIA-9: neteler * r36723 /grass/trunk/INSTALL: cosmetics
11:31:53 markusN: ok, applied a bit of cosmetics
11:33:33 sigq: grassfeed: Changeset [36723]: cosmetics <https://trac.osgeo.org/grass/changeset/36723>
11:35:42 markusN: wildintellect: see now also http://grass.osgeo.org/wiki/Compile_and_Install#Optimization
11:35:47 sigq: Title: Compile and Install - GRASS-Wiki ( at grass.osgeo.org )
11:40:04 wildintellect: about the only thing I don't see is the -j option for people with more than 1 core or cpu
11:40:41 markusN: good point
11:40:49 markusN: but that's make not optimization
11:41:31 wildintellect: it optimizes the time to build but yes not technically
11:45:18 markusN: http://grass.osgeo.org/wiki/Compile_and_Install#Parallelized_compilation_on_multi-core_CPUs
11:45:22 sigq: Title: Compile and Install - GRASS-Wiki ( at grass.osgeo.org )
11:48:10 wildintellect: thanks
11:49:21 markusN: feel free to improve it ( it's a wiki )
11:51:25 wildintellect: is the login based on OSGeo?
11:52:03 wildintellect: ah, yes good I should have permission then
11:52:35 wildintellect: hmm or not
11:56:58 markusN: I think it is not yet connected to LDAP
11:57:01 markusN: so please register
11:57:41 wildintellect: already done
11:58:58 markusN: perfect
15:31:08 CIA-9: neteler * r36724 /grass-addons/raster/r.terracost/main.cc: conditionalize G_get_window( ) and G_get_set_window( ) due to API change from GRASS 6 to 7
16:07:08 CIA-9: neteler * r36725 /grass-addons/raster/r.terracost/ ( Makefile7 r.terracost.html ): Makefile7 added for GRASS 7 ( rename to Makefile to use ); GRASS 7 requires manual with name of module, not description.html
16:54:40 madcat`: hey
16:57:00 madcat`: anyone here?
21:59:50 arkygeek: good morning :- )
22:01:02 arkygeek: I have about 200 rasters that are quite large, but they don't need to be... they are binary, with only a bit in the center as 1's. The zeros are irrelevant to me. Is there a way I can reduce the size of the raster?
22:02:42 arkygeek: I generated them from a cost surface created by r.walk that goes from 0 to 100,000 and then stopped at a certain extent and kept all points within that extent that were less than a certain slope
22:16:38 cgs_bob_: arkygeek: hi there! you might be looking for r.compress?
22:17:15 arkygeek: cgs_bob_: i will read the man page about that
22:18:36 cgs_bob_: arkygeek: from what I read, you have to uncompress the fil before you use it.
22:19:03 arkygeek: GRASS programs can read both compressed and regular ( uncompressed ) file formats. This allows the use of whichever raster data format consumes less space.
22:19:20 arkygeek: but it looks like they should be compressed aoutomatically
22:20:16 cgs_bob_: you would think : ) I'm sure it is not done because it would affect performance
22:20:24 arkygeek: cgs_bob_: I think i need to somehow acutally remove the zero values
22:20:31 arkygeek: 'trim' the raster
22:22:39 cgs_bob_: I wonder if you can use gdal and create a 1 bit tif with 0's as nodata?
22:23:05 arkygeek: does it make it smaller if I replace all the zeros with nullData?
22:23:12 arkygeek: r.null will do that if it does
22:23:57 cgs_bob_: I would think so...I guess you'll just have to try
22:55:55 pavel_: Hi
22:56:30 pavel_: there is still problem wit r.in.wms on 6.4 RC4
22:56:55 pavel_: r.in.wms out=global_mosaic mapserver=http://wms.jpl.nasa.gov/wms.cgi layers=global_mosaic ... results: eval: 1: Syntax error: "( " unexpected