[GRASS-user] How to plot arrows style of speed and direction
of wind...
SGW00412 at nifty.com
SGW00412 at nifty.com
Sun Jun 26 03:33:45 EDT 2011
Dear grass user
I succeeded in installing add-on, d.barb.
The procedure of the installation is shown below (1) - (5).
I show the map drawn by the sample data.
http://homepage1.nifty.com/8856/g20110220.png
I wish to express my gratitude to Mr. Hmish who made wonderful add-on.
Thank you !!
Best
Yasuo shimada
---
(1) upgrade grass
6.4.0 upgrade to 6.4.1
(2) install grass.dev
(3) installsubversion
(4) correct two make files
/usr/lib/grass64/make
Platform.make
Grass.make
http://www.mail-archive.com/grass-user@lists.osgeo.org/msg16723.html
---Platform.make---
# platform specific dirs
ARCH_DISTDIR = $(GRASS_HOME)/dist.$(ARCH)
ARCH_BINDIR = $(GRASS_HOME)/bin.$(ARCH)
ERRORLOG = $(GRASS_HOME)/error.log
with
ARCH_DISTDIR = $(GRASS_HOME)
ARCH_BINDIR = $(GRASS_HOME)/bin
---Grass.make--
# GRASS dirs
GRASS_HOME = /build/buildd/grass-6.4.0
RUN_GISBASE = /build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu
with
# GRASS dirs
GRASS_HOME = /usr/lib/grass64
# not sure what should be here since
/usr/lib/grass64/dist.i486-pc-linux-gnu does not exist:
RUN_GISBASE = /usr/lib/grass64
---
(5) install (g.exetnsion extension=d.barb) with su
-----------------------------------
SGW00412 at nifty.comさん:
> Dear Moritz and all
>
> Thank you for useful advices !
>
> Method [2] succeeded. However, the resolution should be small, and it devise
it
> a little more.
>
> Method [3] failed in the installation.
> I have improved two files --Module.make, Grass.make-- referring to a past log.
> However, the installation failed with the following message;
>
> /usr/bin/install -c /usr/lib/grass64 /bin/d.barb /usr/lib/grass64/bin/
>
> Best
>
> Yasuo shimada
> ----------
> > Use icon= for defining a symbol (see [1] for examples).
> >
> > But you might be better off using a raster approach and d.rast.arrow.
> > See example at [2].
> >
> > Or check out Hamish' d.barb AddOn module [3].
> >
> > Moritz
> >
> > [1] http://grass.osgeo.org/wiki/IconSymbols
> > [2] http://grass.osgeo.org/wiki/Meteorology
> > [3] http://grass.osgeo.org/wiki/GRASS_AddOns#d.barb
>
>
> I tried [2] and [3].
>
> [2]
>
>
> Moritz Lennert <mlennert at club.worldonline.be>さん:
> > On 23/06/11 16:03, sgw00412 at nifty.com wrote:
> > > Dear grass user
> > >
> > > Recently, I am feeling sorry for many questions....
> > >
> > > I'm looking for how to plot arrows of speed and direction of wind.
> > > for example, if station A has 4m/s and Eest (degree 90 )of annual average
> wind
> > > situation,
> > > the plot like arrow style;
> > > <----xA
> > > Other hand, if station B has 2m/s and West (degree 270 ) of annal average
> wind
> > > situation,
> > > the plot also like arrow style:
> > > Bx-->
> > > ...and so on.
> > >
> > > In this case, data set is as follows;
> > >
> > > station | lat | lon | w.speed | w.direction |
> > > tokyo | 35.2| 25.4| 4.0 | 90 |
> > > osaka | 24.5| 33.9| 2.0 | 270 |
> > > ...
> > >
> > > w.speed is single and w.direction is integer. Wind direciotn ranges
between
> 1
> > > (=north), 90 (=east), 180 (=south), 270 (=west) and 360 (=north).
> > >
> > > I think that this data set can import to vector data by using v.in.ascii...
> > > So, I'm looking for command -- d.vect --, but can not find to arrows style
> of
> > > speed and direction of wind...I think that it is difficult to show an
arrow
> st
> > > yle by using two properties (=two columns, speed and direction )....
> >
> > You can use rot_column to define rotation and size_colum to define size
> > depending on speed. But this is size, not length...
> >
> > Use icon= for defining a symbol (see [1] for examples).
> >
> > But you might be better off using a raster approach and d.rast.arrow.
> > See example at [2].
> >
> > Or check out Hamish' d.barb AddOn module [3].
> >
> > Moritz
> >
> > [1] http://grass.osgeo.org/wiki/IconSymbols
> > [2] http://grass.osgeo.org/wiki/Meteorology
> > [3] http://grass.osgeo.org/wiki/GRASS_AddOns#d.barb
More information about the grass-user
mailing list