[GRASSLIST:3215] Re: r.proj with big files

Len Coop coopl at ippc2.orst.edu
Mon Feb 25 18:52:43 EST 2002


Anthony,

I am reprojecting into Lat Long, which does not use meters!
Your idea is helpful but not correct. 

r.proj works when I halve the
resolution to 60 m/ ew-re=0.000722, ns-res=0.000417
13,308 cols by 12,610 rows. It only takes ca 10 minutes.
I can keep working from 60 back towards 
30 m to determine at what point it crashes my system,
and watch with top, but it still looks like a MEMORY problem.
Thanks,
Len 

Anthony G Burns wrote:
> 
> Len
> 
> Are you intentionally requesting an output resolution of  ew-res   0.000778 and ns-res  0.000500
> - For a 30 meter input resolution you should request a 30 meter output resolution.  The .0005
> resolution will be a file that is (my math isn't that good) maybe  60000 times larger, which could
> wipe out your hard drive storage explaining why  you must reboot to clear out the tmp file.  You
> may need to set the defaults for your output projection.
> 
> good luck.
> 
> Anthony
> 
> At 12:39 PM 2/25/02 -0800, you wrote:
> 
> > Patrick,
> >
> > I forget the number of rows-cols that I was able to re-project when I bumped my
> > PIII 550 box
> > from 256 MB to 384 MB, but it was less than the 20000x24000 (90 MB) file
> > I would like to reproject at the moment.
> >
> > My new box (PIV 1.9 Ghz) has .5 GB Rambus memory,
> > which would be expensive to toss and replace with 1 GB, but I suspect that
> > would NOT be enough for these NLCD files. As it goes now, I CRASH the box
> > running r.proj, requiring a cold boot, which I have never run into before
> > with Linux (the process should die and not take the whole operating system
> > down with it). Here is the final thing I see (this after downsizing output
> > resolution) before the box freezes:
> >
> > GRASS:~ > r.proj input=NLCD.OR location=nw_cd
> > Input:
> > Cols:   23924 (23924)
> > Rows:   20221 (20221)
> > North: 2907510.000000 (2907510.000000)
> > South: 2300940.000000 (2300940.000000)
> > West:  -2301360.000000 (-2301360.000000)
> > East:  -1583700.000000 (-1583700.000000)
> > ew-res: 29.997492
> > ns-res  29.997033
> >
> > Output:
> > Cols:   12358 (12391)
> > Rows:   10508 (10508)
> > North: 46.989583 (46.989583)
> > South: 41.735417 (41.735417)
> > West:  -125.065565 (-125.065565)
> > East:  -115.453673 (-115.428007)
> > ew-res: 0.000778
> > ns-res  0.000500
> > Allocating memory and reading input map...   66%
> >
> >
> > So I maintain that r.proj seems to have big problems with big files.
> >
> > Len
> >


-- 
Leonard Coop
Research Associate
Entomology Dept & Integrated Plant Protection Center
2046 Cordley
Oregon State University
Corvallis OR 97331-2907
Phone 541-737-5523
Fax   541-737-3080
http://osu.orst.edu/dept/entomology/coopl



More information about the grass-user mailing list