[GRASS-user] GRASS in th UK

Just thinking about UK GRASS users. How many out there? I'm not from
here, but I will be until October, so maybe we ca set up some sort of
meeting? pub? There will be a British Geomorphological Society
meeting, in July. Someone going?

cheers

--
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Visiting Researcher at Kingston University London - UK
  Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke

Hi.
here is a GRASS Teacher's address.
http://www.ucl.ac.uk/archaeology/staff/profiles/lake.htm
When I was there last July I met him and had a good
discussion.

I am a Geologist from India (Hyderabad), would be
happy to know how you use GRASS as a Geologist, and
what is the edge you find over ARC-GIS etc.

Greetings
Ravi Kumar
--- "Carlos \"Guâno\" Grohmann"
<carlos.grohmann@gmail.com> wrote:

Just thinking about UK GRASS users. How many out
there? I'm not from
here, but I will be until October, so maybe we ca
set up some sort of
meeting? pub? There will be a British
Geomorphological Society
meeting, in July. Someone going?

cheers

--

+-----------------------------------------------------------+

              Carlos Henrique Grohmann - Guano
  Visiting Researcher at Kingston University London
- UK
  Geologist M.Sc - Doctorate Student at IGc-USP -
Brazil
Linux User #89721 - carlos dot grohmann at gmail
dot com

+-----------------------------------------------------------+

_________________
"Good morning, doctors. I have taken the liberty of
removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first
words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

      ___________________________________________________________________________________
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html

Hello Ravi.

My main research interests are focused on geomorphometry and terrain
analysis, so I'm not doing any geological modeling in GRASS (at least
not now, but i want to). I my opinion, GRASS is behind Arc (and other
commercial packages) only in terms of final map creation (easy to
make, visual tools, etc). We also need some more interactive image
analysis tools (histogram stretching, for instance). Other than that,
I think we are _way_ ahead of ArcStuff. But that is just me saying,
since I don't have Windows in my computer for about five years now...

cheers

carlos

On 6/7/07, RAVI KUMAR <ravivundavalli@yahoo.com> wrote:

Hi.
here is a GRASS Teacher's address.
http://www.ucl.ac.uk/archaeology/staff/profiles/lake.htm
When I was there last July I met him and had a good
discussion.

I am a Geologist from India (Hyderabad), would be
happy to know how you use GRASS as a Geologist, and
what is the edge you find over ARC-GIS etc.

Greetings
Ravi Kumar
--- "Carlos \"Guâno\" Grohmann"
<carlos.grohmann@gmail.com> wrote:

> Just thinking about UK GRASS users. How many out
> there? I'm not from
> here, but I will be until October, so maybe we ca
> set up some sort of
> meeting? pub? There will be a British
> Geomorphological Society
> meeting, in July. Someone going?
>
> cheers
>
> --
>
+-----------------------------------------------------------+
> Carlos Henrique Grohmann - Guano
> Visiting Researcher at Kingston University London
> - UK
> Geologist M.Sc - Doctorate Student at IGc-USP -
> Brazil
> Linux User #89721 - carlos dot grohmann at gmail
> dot com
>
+-----------------------------------------------------------+
> _________________
> "Good morning, doctors. I have taken the liberty of
> removing Windows
> 95 from my hard drive."
> --The winning entry in a "What were HAL's first
> words" contest judged
> by 2001: A SPACE ODYSSEY creator Arthur C. Clarke
>
> _______________________________________________
> grassuser mailing list
> grassuser@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>

      ___________________________________________________________________________________
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html

--
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Visiting Researcher at Kingston University London - UK
  Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke

Hi All,

We're looking at running a Monte Carlo simulation with our GRASS data, and one step I'd like to simplify is making histograms. Currently we use R, but given that our input rasters have millions of cells, it's time consuming. I was thinking that we might be able to use GRASS directly, since we're just doing many r.mapcalc calls.

I see histogram.c, and ideally I'd like to just roll a custom r.mapcalc which adds its output to a histogram function, then write it out at the end of the program. My C chops are poor, but I'm imagining something as simple (in Python) as:

hist = {}
values = [0.1, 0.1, 0.2, 3, 5, 3, 0.1, 0.2, 3, 0.1, 0.1]

for v in values:
     if hist.has_key(v):
         hist[v] += 1
     else:
         hist[v] = 1

What would be my best bet for creating this histogram? Is hacking up my own mapcalc function feasible?

thanks for the guidance,
Shaun Walbridge

Shaun Walbridge wrote:

We're looking at running a Monte Carlo simulation with our GRASS data,
and one step I'd like to simplify is making histograms. Currently we
use R, but given that our input rasters have millions of cells, it's
time consuming. I was thinking that we might be able to use GRASS
directly, since we're just doing many r.mapcalc calls.

I see histogram.c, and ideally I'd like to just roll a custom r.mapcalc
which adds its output to a histogram function, then write it out at the
end of the program. My C chops are poor, but I'm imagining something as
simple (in Python) as:

hist = {}
values = [0.1, 0.1, 0.2, 3, 5, 3, 0.1, 0.2, 3, 0.1, 0.1]

for v in values:
     if hist.has_key(v):
         hist[v] += 1
     else:
         hist[v] = 1

What would be my best bet for creating this histogram? Is hacking up my
own mapcalc function feasible?

If you call G_want_histogram(1) before opening the output map, a
histogram will be generated automatically for any integer maps.

Also, running r.support.stats will generate the histogram for the
specified map.

--
Glynn Clements <glynn@gclements.plus.com>