Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Markus Neteler
Am 18.01.2018 12:29 vorm. schrieb "Michael Barton" : Thanks Carlos, Many recent versions seem to take a long time to initialize the first time opened. And of course this needs to be opened with a Ctrl-click because I have not paid Apple $100/year to be able to sign packages. As far as I know th

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Michael Barton
Just tried it on my laptop. There is history in the minimalist python shell. You just have to hold down the cmd key while pressing the up or down arrow key. Michael C. Michael Barton Director, Center for Social Dynamics & Complexity Professor of Anthropology, School of Human

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Michael Barton
Carlos, I believe the problem here is that you are mixing the bundled Python with your system Python. There is no seaborn package installed in the app. We just bundled the Python needed to run GRASS and its modules. I assume you have installed seaborn into your system Python. But since within

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Carlos Grohmann
Hello Michael I got the error message when importing seaborn (see below). I'm more used to the regular terminal window, so that's where I noticed the lack of python history. I just checked on the GUI terminal, and seaborn imports without errors, but there's no history as well (the arrow key move t

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Michael Barton
Thanks Carlos, Many recent versions seem to take a long time to initialize the first time opened. And of course this needs to be opened with a Ctrl-click because I have not paid Apple $100/year to be able to sign packages. I am curious about the error message. Were these some of your custom scr

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Carlos Grohmann
Fantastic! After installing it, it kinda froze the first time I opened it, but the second time there was no issues. NVIZ works! I tried to run some python scripts and in the first time I got an error message, complaining about matplotlib, but luckily the error message said to use 'pythonw' inste

Re: [GRASS-user] d.legend in python loop draws larger background than requestes

2018-01-17 Thread Carlos Grohmann
Ok, I run it again and it seems that the issue was with the size of the background rectangle, the fontsize and the units string (' m') which all ended up being larger than the predefined size. Now I changed from using 'units' to 'title' and all the background rectangles remain with the same size.

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Michael Barton
Because this is a relatively new way to compile GRASS, I hesitate to claim it is a 'bug' in the 7.4 code until others have had a chance to look at the brief error output I sent. I'm not sure what to report is the problem at the moment, as the errors in 7.4 RB and 7.4.0RC2 seem different. I can c

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Markus Neteler
On Wed, Jan 17, 2018 at 11:14 PM, Michael Barton wrote: > I've just posted a new GRASS 7.2.2 dmg to the GRASS for Mac web site > (http://grassmac.wikidot.com). This one is compiled with gettext for > internationalization. Please test. Great! > I have not been able to get 7.4 to compile yet. If

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Michael Barton
I've just posted a new GRASS 7.2.2 dmg to the GRASS for Mac web site (http://grassmac.wikidot.com). This one is compiled with gettext for internationalization. Please test. I have not been able to get 7.4 to compile yet. Michael C. Michael Barton Director, Center for Soc

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Michael Barton
I understand the desire not to waste effort. However, it seems that it will still be some time before Phoenix is completely stable and we have code that works with it. Issues 1 and 2 seem to be easily fixable things in the current code. Are any other platforms using wxPython 3.0.2 yet? If so, do

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Michael Barton
Eric has already documented it pretty well. I'm making a set of notes organized a bit differently that will help me move through the workflow rapidly. Once we get it nailed down, we can put it on the WIKI and/or link to Eric's site. Michael C. Michael Barton Director, Center

[GRASS-user] r.watershed

2018-01-17 Thread Shane Carey
Hi, I was wondering if someone could tell me how r.watershed works in terms of creating stream network. I was of the opinion it just mapped a river from A to B based on the least cost search algorithm where elevation is the "cost"! However, it also calculates flow directions and flow accumulation

Re: [GRASS-user] d.legend in python loop draws larger background than requestes

2018-01-17 Thread Carlos Grohmann
You mean providing the data for it? I'm looping through 56 1x1degree DEMs, in about half of the cases the legend gets the larger rectangle. I used this same script before without any issues, the only difference is that now I'm setting the range for the legend. I tested it without the range paramet

Re: [GRASS-user] d.legend in python loop draws larger background than requestes

2018-01-17 Thread Anna Petrášová
On Wed, Jan 17, 2018 at 6:51 AM, Carlos Grohmann wrote: > Hello all > > I'm producing some pngs for an article, using d.mon, d.grid and d.legend in > a python loop. In some of the images, the legend background is fine, but in > others, the background rectangle is way larger than what I defined. >

[GRASS-user] d.legend in python loop draws larger background than requestes

2018-01-17 Thread Carlos Grohmann
Hello all I'm producing some pngs for an article, using d.mon, d.grid and d.legend in a python loop. In some of the images, the legend background is fine, but in others, the background rectangle is way larger than what I defined. This is an example of the loop: araca = ['tdx12_Araca', 'tdx30_Ar

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Anna Petrášová
Hi Michael and Eric, that's great indeed! What are the plans to document the entire process? Probably creating a GRASS wiki page? I would like to eventually switch to wxPython Phoenix, because I don't want to invest energy into fixing issues for wxpython 3 in case some of these things already wor

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-17 Thread Agustin Diez Castillo
Hi all, I’m missing a link to the new dmg, May I have a copy of it? Cheers Agustín > On 17 Jan 2018, at 08:16, Markus Neteler wrote: > > Ken, > > On Wed, Jan 17, 2018 at 7:49 AM, Ken Mankoff wrote: >> Hi Michael, >> >> Although my name is in the subject, I didn't get this email until just now