Fri, Nov 29 2002
13:30:46
|
|
Request killed by bernhard
|
|
Subject: critical import and display by r.in.arc within cignus OS
Platform: WindowsNT/2000/XP
grass obtained from: Trento Italy site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 5.0.0 pre3 jan 2002
We have grass5 under windows 2000 with cignus emulator.
With this input file:
< ncols # >
< nrows # >
< xllcorner 0 >
< yllcorner 0 >
< cellsize 1 >
< nodata_value -9999 >
< .................... >
< .................... >
< .................... >
< .................... >
we launch command:
GRASS> r.in.arc
with default parameters.
Sometimes, not always, alternatively for certain numbers of rows and columns
we obtain a raster and we can also display.
Some other times , with unknown logic, at displaying we have following system
error:
> WARNING: Fail of initial read of compressed file [layer100 in set1]
> WARNING: unable to open raster map [layer100 in set1]
> ERROR: Not able to open cellfile for [layer100]
May you help us, please?
Thanks very much.
Regards
===========================
davide lisa & emanuele gilio
TILAB (telecom italia lab)
via reiss romoli 274
10148 torino (italy)
tel. 00 39 011 2288581
e-mail emanuele.gilio@tilab.com
web www.tilab.com
|
|
Fri, Nov 29 2002
21:12:09
|
|
Mail sent by egm2@jps.net
|
|
Return-Path |
<egm2@jps.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Fri, 29 Nov 2002 12:16:07 -0800
|
From |
"Eric G. Miller" <egm2@jps.net>
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1460] (grass) critical import and display by r.in.arc within cignus OS
|
Message-ID |
<20021129201607.GB28535@localhost>
|
Mail-Followup-To |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
References |
<20021129095913.ACE1913A1B@lists.intevation.de>
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
In-Reply-To |
<20021129095913.ACE1913A1B@lists.intevation.de>
|
User-Agent |
Mutt/1.4i
|
Sender |
"Eric G. Miller" <egm2@jps.net>
|
X-Spam-Status |
No, hits=-3.3 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.43
|
X-Spam-Level |
|
On Fri, Nov 29, 2002 at 10:59:13AM +0100, Request Tracker wrote:
[snip]
> we launch command:
> GRASS> r.in.arc
> with default parameters.
>
> Sometimes, not always, alternatively for certain numbers of rows and columns
> we obtain a raster and we can also display.
> Some other times , with unknown logic, at displaying we have following system
error:
>
> > WARNING: Fail of initial read of compressed file [layer100 in set1]
> > WARNING: unable to open raster map [layer100 in set1]
> > ERROR: Not able to open cellfile for [layer100]
This occurs when the row index can't be read (first message is from
src/libes/gis/format.c). Are you sure r.in.arc successfully imported
these rasters (r.in.arc did not report errors)?
--
"...the plural of anecdote is [not?] data." - attrib. to George Stigler
|
|
Fri, Nov 29 2002
21:12:09
|
|
Status changed to open by _rt_system
|
|
Wed, Dec 4 2002
10:23:39
|
|
Mail sent by mneteler
|
|
< ncols # >
< nrows # >
These lines look suspicious. I don't think that any GIS will accept
them.
Emanuele, can we close this report?
Markus
|
|
Fri, Dec 6 2002
11:55:43
|
|
Mail sent by lisad@TILAB.COM
|
|
Return-Path |
<Davide.Lisa@TILAB.COM>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Disposition-notification-to |
lisad@TILAB.COM
|
Date |
Fri, 06 Dec 2002 11:52:02 +0100
|
From |
Lisa Davide <lisad@TILAB.COM>
|
Subject |
[bug #1460] (grass) Transaction (mneteler)
|
To |
grass-bugs@intevation.de
|
Message-id |
<000d01c29d15$82b99670$9530a2a3@cselt.it>
|
MIME-version |
1.0
|
X-MIMEOLE |
Produced By Microsoft MimeOLE V5.50.4910.0300
|
X-Mailer |
Microsoft Outlook Express 5.50.4522.1200
|
Content-type |
text/plain; charset="iso-8859-1"
|
Content-transfer-encoding |
quoted-printable
|
Importance |
normal
|
Priority |
normal
|
X-Priority |
3
|
X-MSMail-priority |
Normal
|
thread-index |
AcKdFYNJnSSQggTfT7Gdnd6Oh9Q5Sg==
|
Content-Class |
urn:content-classes:message
|
X-OriginalArrivalTime |
06 Dec 2002 10:52:02.0903 (UTC) FILETIME=[827EFE70:01C29D15]
|
X-Spam-Status |
No, hits=2.0 required=5.0 tests=MIME_EXCESSIVE_QP,SPAM_PHRASE_02_03,USER_AGENT_OE version=2.43
|
X-Spam-Level |
** |
BUG # 1460
[second part]
We launch the pgm.csh tc-shell script (like a csh in LINUX you know) =
from
GRASS5 prompt (in cygwin OS)
For example:
GRASS5> pgm.csh 10 10
and we have a report in error.log file
we tested the program with a lot of different couples of rows and =
columns,
and some results are:
pgm.csh 10 10 ----> OK
pgm.csh 30 20 ----> OK
pgm.csh 30 50 ----> ERROR
pgm.csh 50 40 ----> ERROR
pgm.csh 10 50 ----> OK
pgm.csh 20 20 ----> ERROR
.................................. etc. etc.
(ERROR meaning: > ERROR: Not able to open cellfile for [ras30_50])
Can you help us?
Thank you very much.
Regards
Davide Lisa
Emanuele Gilio
###########################################
### pgm.csh ################################
### create a random raster with rows and columns defined by user
###########################################
###########################################
#!/bin/tcsh.exe
## create matrix
cat > awk.tmp << 'AWKEND'
BEGIN {
print "ncols " ncolumns
print "nrows " nrows
print "xllcorner 0"
print "yllcorner 0"
print "cellsize 1"
print "nodata_value -9999"
for(i=3D1;i<=3Dnrows;i++)
{
for(k=3D1; k<=3Dncolumns; k++)
{
c =3D int(rand() * ncolumns )
printf"%d ",c
}
printf"\n"
}
}
'AWKEND'
gawk -v nrows=3D$1 -v ncolumns=3D$2 -f awk.tmp > ras$1_$2.txt
## import raster
r.in.arc input=3Dras$1_$2.txt output=3Dras$1_$2
## delete file ASCII
rm -f ras$1_$2.txt awk.tmp
## draw raster
d.mon select=3Dx0
d.erase
d.rast ras$1_$2 >>& error.log
## delete raster
g.remove rast=3Dras$1_$2
###########################################
###########################################
###########################################
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Emanuele Gilio
TILAB - MBGP
Via Reiss Romoli, 274
10148 Torino (Italy)
Tel. 39+011 2288581
Fax 39+011 2287056
e-mail emanuele.gilio@tilab.com
http www.telecomitalialab.com
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-----Original Message-----
From: Markus Neteler via RT [mailto:grass-bugs@intevation.de]
Sent: mercoled=EC 4 dicembre 2002 10.24
To: Gilio Emanuele
Subject: [bug #1460] (grass) Transaction (mneteler)
this bug's URL: http://intevation.de/rt/webrt?serial_num=3D1460
Wed, Dec 4 2002 10:23:39: Request 1460 was acted upon.
Transaction: Mail sent by mneteler
Queue: grass
Area: bug
Subject: critical import and display by r.in.arc within cignus OS
Owner:
Requestors: emanuele.gilio@tilab.com
Status: open
-------------------------------------------------------------------------=
< ncols # >
< nrows # >
These lines look suspicious. I don't think that any GIS will accept
them.
Emanuele, can we close this report?
Markus
-------------------------------------------- Managed by Request Tracker
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please contact us by
replying to MailAdmin@tilab.com. Thank you
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|
|
Thu, Dec 12 2002
00:04:48
|
|
Comments added by bernhard
|
|
It does not seem to be a critical bug -> lowering priority. |
|
Thu, Dec 12 2002
00:04:55
|
|
Priority changed to 40 by bernhard
|
|
Fri, Aug 8 2003
11:43:20
|
|
Subject changed to import and display by r.in.arc (cygnus) by bernhard
|
|
Fri, Aug 8 2003
11:45:38
|
|
Status changed to resolved by bernhard
|
|
Fri, Aug 8 2003
11:45:38
|
|
Mail sent by bernhard
|
|
There has not been an answer from Emanuele for 8 month.
The procedure should be retested with the dubious lines deleted
and with a current version of GRASS.
Current is 5.0.2 where the bug was reported for 5.0.0 pre3.
Therefore I'm closing this bug report.
|
|