[GRASS-user] Running v.in.ogr in screen

   I'm importing a soils theme from a .e00 file. This is one of three .e00
files for the county soils, and it's been running for 4-1/4 hours importing
10,044 features.

   I'd like to run the other two imports overnight using the screen program.
Has someone done this before and is willing to share the command with me?

Thanks,

Rich

On Tue, 2009-11-17 at 15:20 -0800, Rich Shepard wrote:

I'm importing a soils theme from a .e00 file. This is one of three .e00
files for the county soils, and it's been running for 4-1/4 hours importing
10,044 features.

   I'd like to run the other two imports overnight using the screen program.
Has someone done this before and is willing to share the command with me?

Thanks,
Rich

Hi Rich,

out of curiosity, why is screen useful in this case? What other/ more
advantages using screen are there?

Silly thought: if it's just to be able to continue using GRASS why not
create an extra mapset, import there, continue working in your "default"
mapset and copy later the imported data wherever you like to.

Best Regards, Nikos

On Wed, 18 Nov 2009, ??? ??? wrote:

out of curiosity, why is screen useful in this case? What other/ more
advantages using screen are there?

Nikos,

   I can start a script running to import both .e00 files, log out, and go to
sleep for the night while the process crawls along in the background. If I
wanted to stay logged in I could just open another virtual terminal and run
the module there.

Rich

On Wed, Nov 18, 2009 at 12:20 AM, Rich Shepard <rshepard@appl-ecosys.com> wrote:

I'm importing a soils theme from a .e00 file. This is one of three .e00
files for the county soils, and it's been running for 4-1/4 hours importing
10,044 features.

(which GRASS version is that?)

I'd like to run the other two imports overnight using the screen program.
Has someone done this before and is willing to share the command with me?

I use screen regularly, a cool tool:

Docs:
https://savannah.gnu.org/projects/screen/
http://www.pixelbeat.org/docs/screen/

Usage:
- Just run 'screen' and you are set.
- To disconnect from the session press Control-A, Control-D.
- To list your screens type 'screen -ls'
- To reconnect with a disconnected screen run 'screen -r [number]'
   ('number' you need if you have several screens running.)

Markus

On Tue, 2009-11-17 at 15:43 -0800, Rich Shepard wrote:

On Wed, 18 Nov 2009, ??? ??? wrote:

> out of curiosity, why is screen useful in this case? What other/ more
> advantages using screen are there?

Nikos,

   I can start a script running to import both .e00 files, log out, and go to
sleep for the night while the process crawls along in the background. If I
wanted to stay logged in I could just open another virtual terminal and run
the module there.

Rich

Great, thank you!

On Wed, 18 Nov 2009, Markus Neteler wrote:

(which GRASS version is that?)

   6.4svn from end of last week.

I use screen regularly, a cool tool:

Docs:
https://savannah.gnu.org/projects/screen/
http://www.pixelbeat.org/docs/screen/

Usage:
- Just run 'screen' and you are set.
- To disconnect from the session press Control-A, Control-D.
- To list your screens type 'screen -ls'
- To reconnect with a disconnected screen run 'screen -r [number]'
  ('number' you need if you have several screens running.)

Markus,

   Thank you. I've known of screen for a long time but never used it before
now.

   Can I create new mapsets in the same location from the command line? If
so, I suppose what I want to do is initiate two screen sessions, each
running v.in.ogr with a different source .e00 file and writing the output to
a different mapset.

   Yes, I've read the book (still 2nd ed.), but haven't used GRASS for years
before these past couple of weeks.

Much appreciated,

Rich