|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Geoware and grdrasterHi,
Since GMT 4.5.1 (with Geoware 1.1), I'm getting the following messages from grdraster: ---<--------------------cut here---------------start------------------->--- $ grdraster 33 -G/tmp/junk.grd -R-100/-55/40/76 -V grdraster: Actual size of file /usr/local/share/geoware/DATA/grids/world_relief_6m_grd.i2 [12960892] differs from expected [12971694]. Verify file and its grdraster.info details. ---<--------------------cut here---------------end--------------------->--- The 33 above refers to my own entry for a GEBCO bathymetry grid, but the same occurs if others are used. In this case, there's no output. Commenting out the line for the file above in grdraster.info: ---<--------------------cut here---------------start------------------->--- $ grdraster 33 -G/tmp/junk.grd -R-100/-55/40/76 -V grdraster: Warning: Unable to stat file /usr/local/share/geoware/DATA/grids/dist_to_coast_1m_grd.i2 grdraster: Warning: Unable to stat file /usr/local/share/geoware/DATA/grids/world_stable_lights_30s_grd.i2 grdraster: Warning: Unable to stat file /usr/local/share/geoware/DATA/grids/world_stable_lights_1m_grd.i2 grdraster: Warning: Unable to stat file /usr/local/share/geoware/DATA/grids/world_stable_lights_2m_grd.i2 grdraster: Warning: Unable to stat file /usr/local/share/geoware/DATA/grids/world_stable_lights_5m_grd.i2 grdraster: Warning: Unable to stat file /usr/local/share/geoware/DATA/grids/world_stable_lights_10m_grd.i2 grdraster: Warning: Unable to stat file /usr/local/share/geoware/DATA/grids/ETOPO_1m_grd.i2 grdraster: Reading from raster /usr/local/share/geoware/DATA/grids/Gebco_1m_grd.i2 grdraster: Finished reading from /usr/local/share/geoware/DATA/grids/Gebco_1m_grd.i2 grdraster: min max and # NaN found: -5217 1938 0 ---<--------------------cut here---------------end--------------------->--- In this case, there is valid output. Is anybody with Geoware seeing this problem? Any ideas as to what the problem with the messages about warnings and size might be would be appreciated. Cheers, -- Seb To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
Re: Geoware and grdrasterHi Seb-
grdraster started recently to enforce the correctness of information in grdraster.info. Apparently the world_relief_6m_grd.i2 entry is wrong: It should be P and not G. As for grdraster: Warning: Unable to stat file /usr/local/share/geoware/DATA/ grids/dist_to_coast_1m_grd.i2 I can only guess that either the permissions are wrong or there is no such file. Cheers, Paul > On Nov 2, 2009, at 8:20 AM, Sebastian P. Luque wrote: > Hi, > > Since GMT 4.5.1 (with Geoware 1.1), I'm getting the following messages > from grdraster: > > ---<--------------------cut here--------------- > start------------------->--- > $ grdraster 33 -G/tmp/junk.grd -R-100/-55/40/76 -V > grdraster: Actual size of file /usr/local/share/geoware/DATA/grids/ > world_relief_6m_grd.i2 [12960892] differs from expected [12971694]. > Verify file and its grdraster.info details. > ---<--------------------cut here--------------- > end--------------------->--- > > The 33 above refers to my own entry for a GEBCO bathymetry grid, but > the > same occurs if others are used. In this case, there's no output. > Commenting out the line for the file above in grdraster.info: > > ---<--------------------cut here--------------- > start------------------->--- > $ grdraster 33 -G/tmp/junk.grd -R-100/-55/40/76 -V > grdraster: Warning: Unable to stat file /usr/local/share/geoware/ > DATA/grids/dist_to_coast_1m_grd.i2 > grdraster: Warning: Unable to stat file /usr/local/share/geoware/ > DATA/grids/world_stable_lights_30s_grd.i2 > grdraster: Warning: Unable to stat file /usr/local/share/geoware/ > DATA/grids/world_stable_lights_1m_grd.i2 > grdraster: Warning: Unable to stat file /usr/local/share/geoware/ > DATA/grids/world_stable_lights_2m_grd.i2 > grdraster: Warning: Unable to stat file /usr/local/share/geoware/ > DATA/grids/world_stable_lights_5m_grd.i2 > grdraster: Warning: Unable to stat file /usr/local/share/geoware/ > DATA/grids/world_stable_lights_10m_grd.i2 > grdraster: Warning: Unable to stat file /usr/local/share/geoware/ > DATA/grids/ETOPO_1m_grd.i2 > grdraster: Reading from raster /usr/local/share/geoware/DATA/grids/ > Gebco_1m_grd.i2 > grdraster: Finished reading from /usr/local/share/geoware/DATA/ > grids/Gebco_1m_grd.i2 > grdraster: min max and # NaN found: -5217 1938 0 > ---<--------------------cut here--------------- > end--------------------->--- > > In this case, there is valid output. > > Is anybody with Geoware seeing this problem? Any ideas as to what the > problem with the messages about warnings and size might be would be > appreciated. > > Cheers, > > -- > Seb > > To unsubscribe, send the message "signoff gmt-help" to listserv@... To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
Re: Geoware and grdrasterThank you, Paul.
On Mon, 02 Nov 2009 14:36:01 -1000, Paul Wessel <p.wessel@...> wrote: > Hi Seb- grdraster started recently to enforce the correctness of > information in grdraster.info. Apparently the world_relief_6m_grd.i2 > entry is wrong: It should be P and not G. Indeed, this solved that problem. > As for > grdraster: Warning: Unable to stat file /usr/local/share/geoware/DATA/grids/dist_to_coast_1m_grd.i2 > I can only guess that either the permissions are wrong or there is no > such file. OK, dist_to_coast_1m_grd had a *.i4 suffix (not *.i2 as listed in grdraster.info), and the other files had a *.b suffix (not *.i2 as in grdraster.info). However, after correcting these, dist_to_coast_1m_grd.i4 is now causing the: grdraster: Actual size of file /usr/local/share/geoware/DATA/grids/dist_to_coast_1m_grd.i4 [933250496] differs from expected [466625694]. Verify file and its grdraster.info details. message, and I've tried changing "G" to "P", as for world_relief_6m_grd.i2, but that didn't solve it. Could the header size be wrong? Thanks in advance for any further advice. Cheers, -- Seb To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
Re: Geoware and grdrasterThe dist file should be *.i4 (4 byte integer).
-p On Nov 2, 2009, at 3:09 PM, Sebastian P. Luque wrote: > Thank you, Paul. > > > On Mon, 02 Nov 2009 14:36:01 -1000, > Paul Wessel <p.wessel@...> wrote: > >> Hi Seb- grdraster started recently to enforce the correctness of >> information in grdraster.info. Apparently the world_relief_6m_grd.i2 >> entry is wrong: It should be P and not G. > > Indeed, this solved that problem. > > >> As for > >> grdraster: Warning: Unable to stat file /usr/local/share/geoware/ >> DATA/grids/dist_to_coast_1m_grd.i2 > >> I can only guess that either the permissions are wrong or there is no >> such file. > > OK, dist_to_coast_1m_grd had a *.i4 suffix (not *.i2 as listed in > grdraster.info), and the other files had a *.b suffix (not *.i2 as in > grdraster.info). However, after correcting these, > dist_to_coast_1m_grd.i4 is now causing the: > > grdraster: Actual size of file /usr/local/share/geoware/DATA/grids/ > dist_to_coast_1m_grd.i4 [933250496] differs from expected > [466625694]. Verify file and its grdraster.info details. > > message, and I've tried changing "G" to "P", as for > world_relief_6m_grd.i2, but that didn't solve it. Could the header > size > be wrong? Thanks in advance for any further advice. > > Cheers, > > -- > Seb > > To unsubscribe, send the message "signoff gmt-help" to listserv@... To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
Re: Geoware and grdrasterOn Mon, 02 Nov 2009 19:09:28 -0600,
"Sebastian P. Luque" <spluque@...> wrote: [...] > OK, dist_to_coast_1m_grd had a *.i4 suffix (not *.i2 as listed in > grdraster.info), and the other files had a *.b suffix (not *.i2 as in > grdraster.info). However, after correcting these, > dist_to_coast_1m_grd.i4 is now causing the: > grdraster: Actual size of file > /usr/local/share/geoware/DATA/grids/dist_to_coast_1m_grd.i4 > [933250496] differs from expected [466625694]. Verify file and its > grdraster.info details. > message, and I've tried changing "G" to "P", as for > world_relief_6m_grd.i2, but that didn't solve it. Could the header > size be wrong? Thanks in advance for any further advice. Of course, if I would have been quicker, the *.i4 suggests it should have "l", rather than "i" in grdraster.info. Thanks! -- Seb To unsubscribe, send the message "signoff gmt-help" to listserv@... |
| Free embeddable forum powered by Nabble | Forum Help |