Re: [GRASS-user] How I can download the eigensystem.exe and source code

2012-10-05 Thread Sylvain Maillard
Hi,

simply go the the grass website (http://grass.osgeo.org), menu Download,
then Other platform and source code, and you will get the link to
download full source code (
http://trac.osgeo.org/grass/wiki/DownloadSource#GRASS6.4) or browse it (
http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4/)

You will perhaps prefer the trac browser (
http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4), it
is also possible to make search ... and you will find that the
m.eigensystem source code is available at :
http://trac.osgeo.org/grass/browser/grass-addons/grass6/misc/m.eigensystem


cheers,
Sylvain



2012/10/5 SWAPAN GHOSH swap.g...@gmail.com

 Dear all,

 Any one please supply me the source code for grass eigensystem.

 Thanks  Regards,

 Swapan Ghosh

 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] How I can download the eigensystem.exe and source code

2012-10-05 Thread SWAPAN GHOSH
Thank you very much Sylvain, I  compile the m.eigensystem successfully but
can't execute  the application. Actually the out come is not an
application(*.exe) but EIGENSYSTEM file. So, Please tell me How I can
handle it.

Thanks  Regards,

Swapan


On Fri, Oct 5, 2012 at 2:04 PM, Sylvain Maillard sylvain.maill...@gmail.com
 wrote:

 Hi,

 simply go the the grass website (http://grass.osgeo.org), menu
 Download, then Other platform and source code, and you will get the
 link to download full source code (
 http://trac.osgeo.org/grass/wiki/DownloadSource#GRASS6.4) or browse it (
 http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4/)

 You will perhaps prefer the trac browser (
 http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4), it
 is also possible to make search ... and you will find that the
 m.eigensystem source code is available at :
 http://trac.osgeo.org/grass/browser/grass-addons/grass6/misc/m.eigensystem


 cheers,
 Sylvain



 2012/10/5 SWAPAN GHOSH swap.g...@gmail.com

 Dear all,

 Any one please supply me the source code for grass eigensystem.

 Thanks  Regards,

 Swapan Ghosh

 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] PBS

2012-10-05 Thread Albert Saribekyan



HI all!
Albert Saribekyan.



I do make and install in GRASS7 i.vi.mpi module, its already running all right 
!!
I have wrote and run my script outside of GRASS and its also worked ok! 
script is in attached file!!

but I have to write a PBS script for that
something like this 
#!/bin/bash


#PBS -N ndvi_mpi
#PBS -e ndvi_mpi.err
#PBS -o ndvi_mpi.log
#PBS -q armgrid
#PBS -l nodes=1:ppn=4
echo Master process running on `hostname`
echo Directory is `pwd`
echo PBS has allocated the following nodes:
echo `cat $PBS_NBODEFILE`
#
# Define number of processors to send to mpirun for MPICH
##
NPROCS=`wc -l  $PBS_NODEFILE`
echo This job has allocated $NPROCS nodes
/bin/hostname

?

but do not know what to write next...
tell me something;

regards Albert.#!/bin/bash

GISBASE=/localuser/soft/grass7/grass-7.0.svn
export GISBASE

PATH=$PATH:$GISBASE/bin:$GISBASE/scripts
export PATH

if [ -z $LD_LIBRARY_PATH ]
then
  LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GISBASE/lib
else
 LD_LIBRARY_PATH=$GISBASE/lib
fi
export LD_LIBRARY_PATH

GIS_LOCK=$$

THE_GISDBASE=/localuser/albert/grassdata
THE_LOCATION=sevan_ndvi
THE_MAPSET=PERMANENT

THE_GRASSRC=/tmp/grassrc.$$

echo GISDBASE: $THE_GISDBASE
LOCATION_NAME: $THE_LOCATION
MAPSET: $THE_MAPSET
  $THE_GRASSRC
export GISRC=$THE_GRASSRC


##

/localuser/soft/mpich/bin/mpirun -np 2 i.vi.mpi --o viname=ndvi 
red=sevan_ndvi.3 nir=sevan_ndvi.4 output=ndvi_mpires_script tmp=1

exit 0

rm $THE_GRASSRC

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] How I can download the eigensystem.exe and source code

2012-10-05 Thread Helmut Kudrnovsky
Thank you very much Sylvain, I  compile the m.eigensystem successfully but
can't execute  the 
application. Actually the out come is not an application(*.exe) but
EIGENSYSTEM file. So, Please tell me
 How I can handle it.

have you tried the wxgui-g.extension-manager?

m.eigensystem is a grass-addon; so you can add this grass-addon by the
wxgui-g.extension-manager.

furthermore m.eigensystem isn't a standalone application, it works only
within a grass-session.



-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-I-can-download-the-eigensystem-exe-and-source-code-tp5006549p5006736.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Can't load Grass 7 on Windows 7

2012-10-05 Thread Helmut Kudrnovsky
I just tried to load the latest version and got a different error. Print
screen attached

it's related to 

http://lists.osgeo.org/pipermail/grass-dev/2012-October/060217.html
https://trac.osgeo.org/osgeo4w/ticket/305



-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Can-t-load-Grass-7-on-Windows-7-tp5005384p5006739.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] v.proj error: latitude or longitude exceeded limits

2012-10-05 Thread Rich Shepard

  Working with 6.5svn on Slackware and trying to reproject from a lat/lon
location to a project location. I can display the source map in the input
locatoin. This is the command log:

(Fri Oct  5 10:34:46 2012) v.proj --overwrite --verbose input=biosites 
location=Nevada-LL mapset=PERMANENT Input Projection Parameters:  +proj=longlat 
+no_defs

+a=6378137 +rf=298.257222101 +towgs84=0,0,0,0,0,0,0
Input Unit Factor: 1
Output Projection Parameters:  +proj=tmerc +lat_0=34.75
+lon_0=-115.58333 +k=0. +x_0=20.1016
+y_0=800.10163 +no_defs +a=6378137 +rf=298.257222101
+towgs84=0.000,0.000,0.000
Output Unit Factor: 0.3048006096012192
WARNING: Vector map biosites already exists and will be overwritten
Reprojecting primitives:
WARNING: pj_transform() failed: latitude or longitude exceeded limits
ERROR: Error in pj_do_transform
(Fri Oct  5 10:34:46 2012) Command finished (0 sec)

  Where do I look for the source of this error?

TIA,

Rich


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Rich Shepard

  Running 6.5svn on Slackware and trying to import an ASCII text file with
lat/lon coordinates. Here are the first two lines of the file:

SC-100|41.42188333|-115.99418333
SC|42.30416667|-116.1060

  When I run this command:

v.in.ascii -n
in='/home/rshepard/projects/nevada/queenstake/sites-data/biosites.csv'
out=biosites format=standard col='name varchar(10), y double precision, x
double precision' x=3 y=2 cat=0 --o

(all on one line, but wrapped in the MUA), I get this error:

ERROR: Error reading ASCII file: (bad type)
   [SC-100|41.42188333|-115.99418333]

  Where should I start looking for the source of this error?

Rich




___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Helmut Kudrnovsky
v.in.ascii [...] col='name varchar(10), y double precision, x double
precision' x=3 y=2 cat=0 --o 

name seems to be a SQL reserved word 
(http://drupal.org/node/141051)

maybe try another description?



-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/v-in-ascii-error-bad-type-reading-source-file-tp5006747p5006750.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Rich Shepard

On Fri, 5 Oct 2012, Helmut Kudrnovsky wrote:


change the order of the coordinates

-115.99418333|41.42188333|SC-100
-116.1060|42.30416667|SC


Helmut,

  OK, I'll do that. I assumed that specifying both the x and y column
numbers (starting with 1) and using the sequence of data types the order of
the attributes did not matter. I guess that it does matter. Might be worth
adding to the manual page.

Regards,

Rich

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Rich Shepard

On Fri, 5 Oct 2012, Helmut Kudrnovsky wrote:


v.in.ascii [...] col='name varchar(10), y double precision, x double
precision' x=3 y=2 cat=0 --o

name seems to be a SQL reserved word
maybe try another description?


Helmut,

  Makes no difference; tried 'site' and 'locattion' with the same results.
May be the sequence of attributes; I'll let awk re-order them and try again.

Thanks,

Rich

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Helmut Kudrnovsky
   OK, I'll do that. I assumed that specifying both the x and y column
numbers (starting with 1) and using the sequence of data types the order of
the attributes did not matter. I guess that it does matter. Might be worth
adding to the manual page. 

hhhmm ... interesting, I've tried your original file example:

SC-100|41.42188333|-115.99418333
SC|42.30416667|-116.1060

and following command (without specified cat - from the manual: Default: 0)

v.in.ascii -n input=C:\wd\inputcor.txt output=test4 columns=name
varchar(10), y double precision, x double precision x=3 y=2

and it works...





-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/v-in-ascii-error-bad-type-reading-source-file-tp5006747p5006761.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Rich Shepard

On Fri, 5 Oct 2012, Helmut Kudrnovsky wrote:


change the order of the coordinates

 ...

this is imported here in following location:



-PROJ_INFO-
name   : Lat/Lon
proj   : ll
datum  : wgs84
ellps  : wgs84
no_defs: defined
-PROJ_UNITS
unit   : degree
units  : degrees
meters : 1.0


  Here, it's:

-PROJ_INFO--
name: Lat/Lon
proj: ll
datum: nad83
ellps: grs80
towgs84: 0,0,0,0,0,0,0
no_defs: defined
-PROJ_UNITS-
unit: degree
units: degrees
meters: 1.0

and the results with the re-ordered attributes:

v.in.ascii -n
in='/home/rshepard/projects/nevada/queenstake/sites-data/biosites.csv'
out=biosites format=standard col='x double precision, y double precision, y
double precision', x=1 y=2 cat=0 --o
WARNING: Vector map biosites already exists and will be overwritten
ERROR: Error reading ASCII file: (unknown type)
   [-115.99418333|41.42188333|'SC-100']

  It must be something simple that I'm doing incorrectly when I used to not
make this mistake.

Thanks,

Rich

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Rich Shepard

On Fri, 5 Oct 2012, Helmut Kudrnovsky wrote:


hhhmm ... interesting, I've tried your original file example:
and it works...


  Well, that still leaves it not working here. :-)

  Had no issues with v.in.ascii before this.

Rich

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Helmut Kudrnovsky
Well, that still leaves it not working here. :-)
Had no issues with v.in.ascii before this. 

maybe it's possible to attach your original input-file (only a few lines) to
test?



-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/v-in-ascii-error-bad-type-reading-source-file-tp5006747p5006766.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Rich Shepard

On Fri, 5 Oct 2012, Helmut Kudrnovsky wrote:


maybe it's possible to attach your original input-file (only a few lines) to
test?


Helmut,

  It is a small file:

-115.99418333|41.42188333|'SC-100'
-116.1060|42.30416667|'SC'
-116.1835|42.3058|'JC-3'
-116.0323|41.5927|'JC-2'
-116.0823|41.4963|'JC-1'
-116.32216667|41.55516667|'GDSP-10'
-116.77716667|41.6508|'GD-1'
-116.03021667|41.33865000|'BC-3'
-116.04256667|41.33468333|'BC-2'
-116.0563|41.6263|'BC-1'
-116.5650|41.7083|'B(W)'
-116.06958333|41.27505000|'STV'
-116.07088333|41.2742|'STV-1'
-116.0804|41.26261667|'STV-10'
-116.00608333|41.27826667|'WP'
-116.0330|41.26675000|'WP-1'
-116.0539|41.2497|'WP-2'
-116.1783|41.8383|'WC-7'
-116.8367|42.3183|'WC-4'
-116.6733|41.9900|'WC-1'
-116.90261667|41.5498|'SHE-3'
-115.9076|41.37005000|'SHE-2'
-115.82316667|41.3574|'SHE-1'

Rich

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Helmut Kudrnovsky
v.in.ascii [...] format=standard [...]
 ^^^
from the manual
(http://grass.osgeo.org/grass65/manuals/html65_user/v.in.ascii.html)

format=string
Input file format
Options: point,standard
Default: point
point: simple x,y[,z] list
standard: GRASS vector ASCII format

try format=point (or just leave it,, because  Default: point)



-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/v-in-ascii-error-bad-type-reading-source-file-tp5006747p5006783.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii error: bad type reading source file

2012-10-05 Thread Rich Shepard

On Fri, 5 Oct 2012, Helmut Kudrnovsky wrote:


v.in.ascii [...] format=standard [...]

 ^^^
Helmut,

  I read the manual page and interpreted the points format as _only_ x, y, z
coordinates. Since I have text in there I thought the standard format was
the one to use. Obviously not.

Thanks for showing me where I went wrong,

Rich

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user