Re: [GRASS-user] Run grass console from a cronjob

2015-08-26 Thread Nick Jachowski
I've had this problem from cron before and a solution I've found is to print all the environment variables using the linux command "printenv". Run printenv from your console and from the cron then compare the output and see what's different. Then when you find the critical differences set those v

Re: [GRASS-user] upload long lat coordinates to attribute table

2013-08-06 Thread Nick Jachowski
Hi Pierluigi, I often find myself trying to accomplish a similar task. I find it suits my needs to export the data as a csv, add the extra columns in a spreadsheet program, then import the updated csv. Best, Nick On Tue, Aug 6, 2013 at 3:17 PM, Ing. Pierluigi De Rosa < pierluigi.der...@gfosservi

Re: [GRASS-user] Looking for technique to equalize shading of adjacent Aster dem tiles

2012-06-04 Thread Nick Jachowski
Or maybe you could use the r.patch command to combine them into one raster with one colortable. On Mon, Jun 4, 2012 at 3:36 PM, Helmut Kudrnovsky wrote: > >One of my aims is to take a nice grayscale image to use in deforming mesh > topology. The circuit straddles >two tiles and the shading is m

Re: [GRASS-user] Identifying Why Vector Map Lables Do Not Display

2012-05-28 Thread Nick Jachowski
Hi Rich, I've had this problem before and for me it always seemed to be an issue of setting the size of labels correctly, which can be tricky sometimes, particularly if your location is latlong (if I remember correctly the size is in map units, so in that case you need to compute your desired labe

Re: [GRASS-user] Multiply raster sum by a number?

2012-05-05 Thread Nick Jachowski
Hi Tanya, Try this in the command line: r.mapcalc "newmap = 741.0 * 0.01" or in the GUI use the map calculator and put in your desired equation as above. The output of this command will be a new map with a value of 7.41. You can read about the mapcalc command here: http://grass.fbk.eu/gdp/html

Re: [GRASS-user] How to import an ascii file?

2012-03-23 Thread Nick Jachowski
Hi Jose, Maybe you want to use the command: r.in.ascii. http://grass.fbk.eu/gdp/html_grass63/r.in.ascii.html -Nick 2012/3/24 José Carlos Guerrero Antúnez > Hi, > > I use r.in.gdal to import an ascii file but I have the following message, > > Projection of input dataset and current location app

Re: [GRASS-user] how to make a grid with my DEM

2012-02-12 Thread Nick Jachowski
Hi Janet, Do you mean you want to create contour lines at 30m intervals? If so, r.contour would do the trick. Best, Nick On Sat, Feb 11, 2012 at 1:56 AM, Janet Choate wrote: > Hi all, > i want to simply divide my DEM into 30m grid cells - does anyone know how > to do this? > i have previously us

Re: [GRASS-user] Re: GRASS EXAMPLE

2012-01-22 Thread Nick Jachowski
I think that means to start grass, such as type "grass" into your command line and then go through the steps to select your location so as to start a grass session. 2012/1/22 Hrachya Astsatryan > On 1/22/12 12:57 AM, Sören Gebbert wrote: > > Hi Hrachya, > make sure you started a valid grass ses

Re: [GRASS-user] Weights of Evidence in GRASS?

2012-01-18 Thread Nick Jachowski
Hi Gergely, I do a lot of predictive modeling, and the approach I take is to export my data (prepared in GRASS GIS) to an open-source modeling software such WEKA, and then map the results using GRASS. It takes a little more work than utilizing built in modeling options often found in GIS software,

Re: [GRASS-user] Re: r.fillnulls for large area

2011-12-24 Thread Nick Jachowski
Dear All, Thanks for all the help on this matter. Sorry for the late reply (fieldwork and vacation got in the way...)! I ended up solving the problem by (1) filling the ocean nulls, (2) splitting the region into subregions, and (3) running it on a more powerful machine. Best, Nick On Fri, Dec 2

Re: [GRASS-user] r.fillnulls for large area

2011-12-01 Thread Nick Jachowski
Hi Hamish, Thanks for the advice to fill the ocean with zeros. It worked better, and didn't get "killed", but it still didn't work...This time it made it further than before, but it got "abondoned" - see the output below... Maybe I need to split my region into subregions and run r.fillnulls on ea

Re: [GRASS-user] r.fillnulls for large area

2011-11-30 Thread Nick Jachowski
Hi Mark, I tried that, and it made it farther (almost to completion I think), but it still died. See output below. Thanks, Nick GRASS 6.4.1 (seasia_ll):/media/little/projects/seasia > r.fillnulls srtmm out=srtmmf A user raster mask (MASK) is present. Saving it... Rename raster to Locating and

[GRASS-user] r.fillnulls for large area

2011-11-30 Thread Nick Jachowski
Hello GRASS community, I am having trouble filling the null areas in the SRTM (3 second resolution) DEM for Southeast Asia. I think the reason is because the region I am trying fill is too large. The region is almost a billion cells - see g.region -p output below - but about 40% of that region is

Re: [GRASS-user] Arcgis Majority command for Grass GIS

2011-11-22 Thread Nick Jachowski
Try r.series method=mode. On Tue, Nov 22, 2011 at 10:37 PM, leonidas wrote: > What's the equivalent command of Arcgis Majority in Grass GIS: > http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Majority > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/A

Re: [GRASS-user] Plotting estimation.-

2011-11-14 Thread Nick Jachowski
Hi Freddy, try: g.region vect=VectorMapThatYouWantToTurnToRast g.region res=VerySmallNumber v.to.rast Best, Nick On Tue, Nov 15, 2011 at 8:49 AM, Freddy López wrote: > Thanks Maris. > > Can you be a little more specific, please? > > I read on v.to.rast: "Before running v.to.rast, the user sho

Re: [GRASS-user] Color table for multiple rasters

2011-10-13 Thread Nick Jachowski
Maybe you're looking for: r.colors map=$map rast=$other_map You can give each map the color table from one particular map and then it will be comparable across maps. You'll need to make sure you give it the color table from the map with the widest range though, or else you'll have some spots in yo

Re: [GRASS-user] Eliminat small patches

2011-10-03 Thread Nick Jachowski
Hi Luisa, I wrote a script that does exactly what you want to do. It uses r.clump, r.stats, and r.reclass in addition to some bash coding to make the input file for r.reclass from the r.stats output minus the clumps below your threshold size. Let me know if you want me to send you the code. I'd b

Re: [GRASS-user] Averaging a set of rasters

2011-09-06 Thread Nick Jachowski
I think "r.series method=average ..." should do the trick. On Wed, Sep 7, 2011 at 12:27 AM, Seth Price wrote: > Is there any way to take a set of rasters (the output from many days of > r.sun, for example) and average all their values together? > Thanks, > Seth___

Re: [GRASS-user] Rainfall interpolation for a time series

2011-08-15 Thread Nick Jachowski
Hi Hanlie, I've this before with 11 gauge stations, also using TRMM data. You'll probably want to write a script and use r.mask to mask the interpolation map to your grid cell, then do r.sum on your masked area. After that just divide by the area to get the average rainfall. Given the small area a

Re: [GRASS-user] Re: Limit d.raster with vector map

2011-06-30 Thread Nick Jachowski
I would do what Daniel said, but use the raster (use command v.to.rast) as a mask (use command r.mask) to limit the displayed area to the vector map area. On Thu, Jun 30, 2011 at 9:40 PM, Daniel Lee wrote: > I would do the following, assuming you've got an area vector that's > covering > the ras

Re: [GRASS-user] Grid

2011-04-28 Thread Nick Jachowski
I make my grids in octave/matlab (command: griddata) then bring them into grass. Attached is an example. If you have any questions shoot me an e-mail. On Thu, Apr 28, 2011 at 3:40 PM, vinod kumar wrote: > Hi All, > > I want to make grid using grass. Can anyone help me. > > Thanks in advance, >

Re: [GRASS-user] Help on Define a color table

2011-04-26 Thread Nick Jachowski
You could use r.mapcalc and make all negs = -1, all pos = 1, leave all 0 = 0. Then make a color table where -1 is blue, 0 is green and 1 is red. I'm doing the very same thing right now :-) [Sent from a mobile device] On Apr 26, 2011, at 11:16 PM, Franz Schiller wrote: > Greetings > I haver s

Re: [GRASS-user] v.in.ascii: DBMI-DBF driver error

2011-03-11 Thread Nick Jachowski
Now it says: GRASS 6.4.0 (latlong):~/Desktop/nick/grassdata/data > db.connect -p driver:dbf database:/home/nick/Desktop/nick/grassdata/latlong/PERMANENT/dbf/ schema: group: Previously it said : GRASS 6.4.0 (latlong):~/Desktop/nick/grassdata/data > db.connect -p driver:dbf database:'~/Desktop/nic

Re: [GRASS-user] v.in.ascii: DBMI-DBF driver error

2011-03-10 Thread Nick Jachowski
1, 2011 at 1:49 PM, Markus Neteler wrote: > Hi Nick > > Odd. Please check the permissions of > the ../dbf/ directory. > > There is nothing special to install > for DBF support. > > Markus > > On 3/11/11, Nick Jachowski wrote: > > Thanks for the help Markus, b

Re: [GRASS-user] v.in.ascii: DBMI-DBF driver error

2011-03-10 Thread Nick Jachowski
ame error message in both, one is running GRASS 6.4.0RC5 on Ubuntu 9.10 the other is running GRASS 6.4.0 on Ubuntu 10.04 in a vm. Sorry to bother the list again! Nick On Fri, Mar 11, 2011 at 12:13 AM, Markus Neteler wrote: > On Thu, Mar 10, 2011 at 3:45 PM, Nick Jachowski > wrote: &g

[GRASS-user] v.in.ascii: DBMI-DBF driver error

2011-03-10 Thread Nick Jachowski
Hi all, I'm trying to use v.in.ascii and I'm getting a "DBMI-DBF driver error." --- GRASS 6.4.0RC5 (latlong_coral):~/grassdata/latlong_coral > v.in.ascii input=kyy.csv out=kyy skip=1 fs=, columns='x, y, cat int' cat=3Scanning input for column types... Maximum input row length: 86 M

[GRASS-user] r.in.gdal: import jpeg

2011-03-03 Thread Nick Jachowski
Hi All, I'm having a problem importing a jpeg using r.in.gdal. I've done it successfully in the past but I have forgotten what I did. Now when I import a jpeg into an xy location it is just a solid block of color (name.red, name.blue, name.green). I think it has something to do with the g.regio

Re: [GRASS-user] i.cluster not working in GRASS 7

2011-02-18 Thread Nick Jachowski
at 4:38 PM, Nick Jachowski wrote: > Hi Ned and Daniel, > > I have run into this problem in the past, and I believe it may have to do > with your convergence, min_size, and classes settings. Try decreasing some > of those and see if you don't get better results. You c

Re: [GRASS-user] i.cluster not working in GRASS 7

2011-02-18 Thread Nick Jachowski
Hi Ned and Daniel, I have run into this problem in the past, and I believe it may have to do with your convergence, min_size, and classes settings. Try decreasing some of those and see if you don't get better results. You can also try increasing your separation from 0.0 (the default) to 1.0 or 1

Re: [GRASS-user] Landsat SLC-Off data usage

2010-12-07 Thread Nick Jachowski
ndris < nikos.alexand...@uranus.uni-freiburg.de> wrote: > Nick Jachowski: > > > I have been working a lot with SLC-Off imagery lately. Some people in my > > department have used the gap filling programs floating around the net, > but > > I'm not familiar with them pe

Re: [GRASS-user] Landsat SLC-Off data usage

2010-12-04 Thread Nick Jachowski
Hi Chetan, I have been working a lot with SLC-Off imagery lately. Some people in my department have used the gap filling programs floating around the net, but I'm not familiar with them personally. I've settled on using r.patch as well, although you have to be careful how you apply it. I found

Fwd: [GRASS-user] i.gensig comment- Signature 1 not positive definite

2010-11-25 Thread Nick Jachowski
I had this same error message sometime in the past few weeks, and I can't remember exactly what I did, but it was one of the following: 1) Data has to be transformed to 0-255 positive integers 2) You need to apply a mask to the null values 3) Possibly your training area is not large enough This i

Re: [GRASS-user] Re: Using i.gensig- How to keep original values

2010-11-17 Thread Nick Jachowski
I'm having a similar problem whereby every time I run i.gensig followed by i.maxlik it results in a single class for all the pixels. This doesn't happen when I use i.cluster with i.maxlik. I haven't analysed the sig file closely to see if the problem might be there, but I will try that tomorrow.

[GRASS-user] i.smap and NULL (Landsat 7)

2010-11-12 Thread Nick Jachowski
Dear Grass List, I am trying to do radiometric classifications on Landsat 7 SLC-Off imagery (i.e. it has lots of NULL data). My question is regarding i.smap. The documentation says: "The module i.smap does not support MASKed or NULL cells. Therefore it might be necessary to create a copy of the

Re: [GRASS-user] g.extension (e.g. to install i.landsat.toar)

2010-10-27 Thread Nick Jachowski
--- Do I have to install GRASS from source for g.extension to work? Thanks, Nick On Sun, Oct 24, 2010 at 9:56 PM, Nick Jachowski wrote: > Thanks for your help Markus. > > I am now trying to use g.extension with GRASS 6.5.svn and GRASS 7.0.svn on > Ubuntu 10.10, however when I start ei

Re: [GRASS-user] g.extension (e.g. to install i.landsat.toar)

2010-10-24 Thread Nick Jachowski
On Fri, Oct 22, 2010 at 12:09 PM, Markus Neteler wrote: > On Fri, Oct 22, 2010 at 4:20 PM, Nick Jachowski > wrote: > > > > I'm trying to get the grass add-on i.landsat.toar to work using > g.extension, > > and I've had many problems. I had been trying it

[GRASS-user] g.extension (e.g. to install i.landsat.toar)

2010-10-22 Thread Nick Jachowski
I'm trying to get the grass add-on i.landsat.toar to work using g.extension, and I've had many problems. I had been trying it on opensuse 11.3 and I installed various versions of grass from source, but they all had problems and did not work. I've almost given up, and now I am running grass on po