[GRASS-user] Execution failed g.proj.exe

2009-12-01 Thread Helmut Kudrnovsky
>Dear List, > >I just installed WinGRASS-6.4.0svn-r39740-2-Setup.exe on Windows XP >professional and when starting the system using the >spearfish database I get >the message Error in command execution: Execution failed g.proj.exe -p . > >Any ideas? > >Bes regards, > >Klaus please add your comm

Re: [GRASS-user] using GDAL to view netcdf files in GRASS

2009-12-01 Thread John A Stevenson
Carbonari, Katie (IS) wrote: Hello. I'm trying to use GDAL to convert my netcdf file into a GTiff so it can be read into GRASS. I tried using "gdal_translate -of GTiff -b 1 NETCDF:FILE.nc:Outfile Outfile.tiff" You probably need to specify a coordinate system, too. Do this with the -a_srs

Re: [GRASS-user] reading a column/vector of a raster image

2009-12-01 Thread Glynn Clements
Peng Du wrote: > I am dealing with a satellite image which has N bands, each band of size > row x col. Is there any way to read one column of a certain band or all > the bands of a certain point? I only found G_get_raster_row which works > for row. You can use G_set_window() (Rast_set_window

Re: [GRASS-user] *Direction* to nearest vector?

2009-12-01 Thread Daniel Victoria
Just a guess... Maybe v.distance? Create a point raster, on point for each cell in your raster. Run v.distance and look for the to_angle value calculated. Then convert the points back to raster v.distance man page... http://www.ces.iisc.ernet.in/grass/grass64/manuals/html64_user/v.distance.ht

Re: [GRASS-user] r.horizon problems with large DEM

2009-12-01 Thread Markus Neteler
Joshua, On Mon, Nov 30, 2009 at 5:50 PM, Joshua Campbell wrote: > Markus, > > Thanks for the input. I reviewed the r.sun page and unfortunately r.sun > doesn't provide the specific horizon angle provided by r.horizon. My goal is > not to compute solar irradiance. ok. > I was able to run r.horiz

[GRASS-user] Finding Missing Point

2009-12-01 Thread Rich Shepard
I have a map that's supposed to have 3 points (sites) on it, all relatively close together. The geographic coordinates were projected to lcc using v.proj and the region's boundaries and parameters adjusted to the map using 'g.region vect=sites'. My problem is that only two sites display, and

[GRASS-user] Re: i.atcorr with MSS band 5,6,7

2009-12-01 Thread Marco Tuckner
> I thought the MSS sensor only had 4 bands, and the TMS sensor sensor 7? Sorry, I heven't expressed myself clearly. I am working with old images from the 1970ies recorded by Landsat 1. According to http://landsat.gsfc.nasa.gov/about/mss.html http://eros.usgs.gov/#/Guides/landsat_mss the MSS used

Re: [GRASS-user] Re: i.atcorr with MSS band 5,6,7

2009-12-01 Thread Michael Perdue
i.atcorr supports the MSS sensor aboard Landsat 5 and is not applicable to Landsat 1 data (nor landsat's 2,3 or 4). In-order to atmospherically correct landsat 1 data with i.atcorr you'll need to add support for it. It's not hard and I would be willing to spare what free time I can to help

[GRASS-user] memory leak in calc_covariance

2009-12-01 Thread Peng Du
Hi There In grass6_devel/imagery/i.pca/main.c, calc_covariance(...), rowbuf1 and rowbuf2 are each allocated bands times, but only freed bands-1 times. Isn't this a leak? Thanks, Peng ___ grass-user mailing list grass-user@lists.osgeo.org http://list

[GRASS-user] Re: Georectify problem

2009-12-01 Thread Richard Chirgwin
"One Moment in Time". Jetzt reinhören! http://produkte.web.de/go/05/ -- next part -- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1747 bytes Desc: S/MIME Cryptographic Signature Url : htt

[GRASS-user] reproject from lat/long to utm

2009-12-01 Thread Janet Choate
HI, thanx for any help. seems this should be a pretty straight forward thing to do, but am not having any success. i am trying to reproject a raster from lat/long to utm. i created a new location with a utm projection, then tried to use r.proj to reproject a raster from another location. r.proj i

Re: [GRASS-user] reproject from lat/long to utm

2009-12-01 Thread maning sambale
Try to include the full path of your location ([/work/projects/Willamette]) On Wed, Dec 2, 2009 at 1:47 PM, Janet Choate wrote: > HI, > thanx for any help.  seems this should be a pretty straight forward thing to > do, but am not having any success. > i am trying to reproject a raster from lat/lo

Re: [GRASS-user] reproject from lat/long to utm

2009-12-01 Thread Janet Choate
I tried using the full path (i.e. the PERMANENT mapset lives within the /work/projects/Willamette location), but get the 'not found' error. is there any other command i need to run prior to r.proj, or any additional options to include, or how to list the path other than the way i am? the original

Re: [GRASS-user] reproject from lat/long to utm

2009-12-01 Thread maning sambale
On Wed, Dec 2, 2009 at 2:28 PM, Janet Choate wrote: > I tried using the full path (i.e. the PERMANENT mapset lives within the > /work/projects/Willamette location), but get the 'not found' error. > is there any other command i need to run prior to r.proj, or any additional > options to include, or

Re: [GRASS-user] reproject from lat/long to utm

2009-12-01 Thread maning sambale
try this: r.proj input=dem dbase=/work/projects/ location=Willamette mapset=PERMANENT On Wed, Dec 2, 2009 at 2:45 PM, maning sambale wrote: > On Wed, Dec 2, 2009 at 2:28 PM, Janet Choate wrote: >> I tried using the full path (i.e. the PERMANENT mapset lives within the >> /work/projects/Willamet