Re: grdimage error

Paul Wessel <[email protected]> Wed, 13 Aug 2014 09:56:40 -1000
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
--Apple-Mail=_E77C0798-A618-45A4-B9C5-D91F0D0B7751
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

So the grid is already in UTM hence you cannot apply -Ju again.  You'll =
need to see example 28 for how to mix UTM grid and geo annotations.  =
This may perhaps not be possible through the web interface.  Basically =
you would plot the grid using a linear scale -Jx1:50000 and overlay a =
psbasemap with the -Ju projection.

-p

On Aug 13, 2014, at 9:52 AM, Felix Bostel <[email protected]> wrote:

> Yes, it is. I just can run grdimage, grdclip, grd2xyz. grdclip works =
with my grid file,  grdimage and grd2xyz don't.=20
>=20
> This is the file information derived from QGIS metadata.
>=20
> Driver:
>=20
> GDAL
>       provider
>=20
> netCDF
> Network Common Data Format
> Dataset Description
>=20
> /home/felix/Dokumente/jABC/Test/data/slope_uri_utm.nc
>=20
> NC_GLOBAL#Conventions=3DCF-1.0
>=20
> NC_GLOBAL#Source_Software=3DEsri
>       ArcGIS
>=20
> slope_uri_utm.tif#coordinates=3Dx
>       y
>=20
> =
slope_uri_utm.tif#esri_pe_string=3DPROJCS["WGS_1984_UTM_zone_32N",GEOGCS["=
GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.2572235=
63]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION=
["Transverse_Mercator"],PARAMETER["false_easting",500000.0],PARAMETER["fal=
se_northing",0.0],PARAMETER["central_meridian",9.0],PARAMETER["scale_facto=
r",0.9996],PARAMETER["latitude_of_origin",0.0],UNIT["Meter",1.0]]
>=20
> slope_uri_utm.tif#grid_mapping=3Dtransverse_mercator
>=20
> slope_uri_utm.tif#long_name=3Dslope_uri_utm.tif
>=20
> slope_uri_utm.tif#missing_value=3D-3.4028235e+38
>=20
> slope_uri_utm.tif#units=3DMeter
>=20
> transverse_mercator#false_easting=3D500000
>=20
> transverse_mercator#false_northing=3D0
>=20
> transverse_mercator#grid_mapping_name=3Dtransverse_mercator
>=20
> transverse_mercator#latitude_of_projection_origin=3D0
>=20
> transverse_mercator#longitude_of_central_meridian=3D9
>=20
> transverse_mercator#scale_factor_at_central_meridian=3D0.9996
>=20
> x#long_name=3Dx
>       coordinate of projection
>=20
> x#standard_name=3Dprojection_x_coordinate
>=20
> x#units=3DMeter
>=20
> y#long_name=3Dy
>       coordinate of projection
>=20
> y#standard_name=3Dprojection_y_coordinate
>=20
> y#units=3DMeter
>=20
> Band 1
>=20
> coordinates=3Dx
>       y
>=20
> =
esri_pe_string=3DPROJCS["WGS_1984_UTM_zone_32N",GEOGCS["GCS_WGS_1984",DATU=
M["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Green=
wich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Merca=
tor"],PARAMETER["false_easting",500000.0],PARAMETER["false_northing",0.0],=
PARAMETER["central_meridian",9.0],PARAMETER["scale_factor",0.9996],PARAMET=
ER["latitude_of_origin",0.0],UNIT["Meter",1.0]]
>=20
> grid_mapping=3Dtransverse_mercator
>=20
> long_name=3Dslope_uri_utm.tif
>=20
> missing_value=3D-3.4028235e+38
>=20
> NETCDF_VARNAME=3Dslope_uri_utm.tif
>=20
> units=3DMeter
>=20
> Dimensions:
>=20
> X: 1001 Y:
>       1442 Bands: 1=20
>=20
> Origin:
>=20
> 422535,5.2057e+06
>=20
> Pixel Size:
>=20
> 77.467,-77.467
>=20
> No Data Value
>=20
> -3.40282e+38
>    =20
>=20
> Data Type:
>=20
> GDT_Float32
>       - Thirty two bit floating point=20
>=20
> Pyramid overviews:
>=20
> Layer Spatial Reference System:=20
>=20
> +proj=3Dutm
>       +zone=3D32 +datum=3DWGS84 +units=3Dm +no_defs
>=20
> Layer Extent (layer original source
>         projection):=20
>=20
> 422534.9726139035774395,5093988.6136936303228140
>       : 500079.4581443184870295,5205696.0543880462646484
>=20
> Band
>=20
> Band 1
>=20
> Band No
>=20
> 1
>=20
> No Stats
>=20
> No stats
>       collected yet=20
>=20
>    =20
>=20
>=20
>=20
>      =20
> On 13.08.2014 21:30, Paul Wessel wrote:
>> Seems odd if you can run grdimage on the serve but not grdinfo? I =
doubt they have disabled some of the programs.  Unless you have a web =
interface that only allows a few things.  We also don't know what GMT =
version you are running so it is still pretty unconstrained.  Without =
info on file area etc I cannot really help.
>>=20
>> -p
>>=20
>> On Aug 13, 2014, at 9:24 AM, Felix Bostel <[email protected]> =
wrote:
>>=20
>>> Of course! You're totally right. But I still get the same error =
message...
>>>=20
>>> On 13.08.2014 19:38, Paul Wessel wrote:
>>>> Your -R is probably wrong.  The trailing "r" means that your area =
is defined by the lower left (8.5/9) and upper right (46.5/47) corners =
you specified, but I suspect you instead mean to say
>>>>=20
>>>> -R8.5/46.5/9/47r
>>>>=20
>>>> The other selection would requires an enormous image grid and hence =
the memory message.
>>>>=20
>>>> -p
>>>>=20
>>>> On Aug 13, 2014, at 7:18 AM, Felix Bostel <[email protected]> =
wrote:
>>>>=20
>>>>> command line: (grdimage)
>>>>> -Ju32T/1:50000 -R8.5/9/46.5/47r -K -O
>>>>> (I'm using gmt via a service which runs on a university server. =
grdinfo doesn't run there).  Is it possible to get the gird information =
in other ways (e.g.: QGIS)? I tried to install gmt locally, but haven't  =
succeeded, yet.
>>>>>=20
>>>>> Cheers, Felix
>>>>>=20
>>>>> On 12.08.2014 22:58, Paul Wessel wrote:
>>>>>> Insufficient info.  Please post your grdimage command line as =
well as output of grdinfo of your grid.
>>>>>>=20
>>>>>> Cheers, Paul
>>>>>>=20
>>>>>> Sent from my iPad
>>>>>>=20
>>>>>>> On Aug 12, 2014, at 12:06 PM, Felix =
Bostel<[email protected]>  wrote:
>>>>>>>=20
>>>>>>> Hello,
>>>>>>>=20
>>>>>>> I want to visualize a slope (format: netCDF) using grdimage.
>>>>>>> I get the following error message:
>>>>>>> "error 104: execution failed: GMT Fatal Error: grdimage =
requesting negative n_items (-64887781) - exceeding 32-bit counting?"
>>>>>>> My grid file is a 32-bit file. I also tried to process a smaller =
part of the grid using the -R option.
>>>>>>>=20
>>>>>>> Has anyone an idea what could help to slove this problem?
>>>>>>>=20
>>>>>>> Best regards,
>>>>>>> Felix
>>>>>>>=20
>>>>>>> Mailing list for GMT discussions of all kinds.  If you are not =
sure you have found a bug, discuss it here first.
>>>>>>> To formally report bugs or request features, please register and =
add New Issue on gmt.soest.hawaii.edu
>>>>>>> To unsubscribe, send the message "signoff gmt-help" =
[email protected]
>>>>>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use =
forum on gmt.soest.hawaii.edu instead.
>>>>>> Mailing list for GMT discussions of all kinds.  If you are not =
sure you have found a bug, discuss it here first.
>>>>>> To formally report bugs or request features, please register and =
add New Issue on gmt.soest.hawaii.edu
>>>>>> To unsubscribe, send the message "signoff gmt-help" =
[email protected]
>>>>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use =
forum on gmt.soest.hawaii.edu instead.
>>>>> Mailing list for GMT discussions of all kinds.  If you are not =
sure you have found a bug, discuss it here first.
>>>>> To formally report bugs or request features, please register and =
add New Issue on gmt.soest.hawaii.edu
>>>>> To unsubscribe, send the message "signoff gmt-help" to =
[email protected]
>>>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use =
forum on gmt.soest.hawaii.edu instead.
>>>> Mailing list for GMT discussions of all kinds.  If you are not sure =
you have found a bug, discuss it here first.
>>>> To formally report bugs or request features, please register and =
add New Issue on gmt.soest.hawaii.edu
>>>> To unsubscribe, send the message "signoff gmt-help" to =
[email protected]
>>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use =
forum on gmt.soest.hawaii.edu instead.
>>> Mailing list for GMT discussions of all kinds.  If you are not sure =
you have found a bug, discuss it here first.
>>> To formally report bugs or request features, please register and add =
New Issue on gmt.soest.hawaii.edu
>>> To unsubscribe, send the message "signoff gmt-help" to =
[email protected]
>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use =
forum on gmt.soest.hawaii.edu instead.
>> Mailing list for GMT discussions of all kinds.  If you are not sure =
you have found a bug, discuss it here first.
>> To formally report bugs or request features, please register and add =
New Issue on gmt.soest.hawaii.edu
>> To unsubscribe, send the message "signoff gmt-help" to =
[email protected]
>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use =
forum on gmt.soest.hawaii.edu instead.
>=20
> Mailing list for GMT discussions of all kinds. If you are not sure you =
have found a bug, discuss it here first. To formally report bugs or =
request features, please register and add New Issue on =
gmt.soest.hawaii.edu To unsubscribe, send the message "signoff gmt-help" =
to [email protected] Note: gmt-help will become obsolete on Sept =
1, 2014 - please use forum on gmt.soest.hawaii.edu instead.


Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to [email protected]
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.

--Apple-Mail=_E77C0798-A618-45A4-B9C5-D91F0D0B7751
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=iso-8859-1

<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">So the grid is already in UTM hence you cannot apply -Ju again. &nbsp;You'll need to see example 28 for how to mix UTM grid and geo annotations. &nbsp;This may perhaps not be possible through the web interface. &nbsp;Basically you would plot the grid using a linear scale -Jx1:50000 and overlay a psbasemap with the -Ju projection.<div><br></div><div>-p</div><div><br><div><div>On Aug 13, 2014, at 9:52 AM, Felix Bostel &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div bgcolor="#FFFFFF" text="#000000">
    Yes, it is. I just can run grdimage, grdclip, grd2xyz. grdclip works
    with my grid file,&nbsp; grdimage and grd2xyz don't. <br>
    <br>
    This is the file information derived from QGIS metadata.<br>
    <br>
    <meta name="qrichtext" content="1"><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><span style=" color:#ffffff;">Driver:</span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">GDAL
      provider</p><div style="margin: 0px; text-indent: 0px;">netCDF<br>
      Network Common Data Format</div><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">Dataset Description</span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">/home/felix/Dokumente/jABC/Test/data/slope_uri_utm.nc</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">NC_GLOBAL#Conventions=CF-1.0</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">NC_GLOBAL#Source_Software=Esri
      ArcGIS</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">slope_uri_utm.tif#coordinates=x
      y</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">slope_uri_utm.tif#esri_pe_string=PROJCS["WGS_1984_UTM_zone_32N",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting",500000.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",9.0],PARAMETER["scale_factor",0.9996],PARAMETER["latitude_of_origin",0.0],UNIT["Meter",1.0]]</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">slope_uri_utm.tif#grid_mapping=transverse_mercator</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">slope_uri_utm.tif#long_name=slope_uri_utm.tif</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">slope_uri_utm.tif#missing_value=-3.4028235e+38</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">slope_uri_utm.tif#units=Meter</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">transverse_mercator#false_easting=500000</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">transverse_mercator#false_northing=0</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">transverse_mercator#grid_mapping_name=transverse_mercator</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">transverse_mercator#latitude_of_projection_origin=0</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">transverse_mercator#longitude_of_central_meridian=9</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">transverse_mercator#scale_factor_at_central_meridian=0.9996</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">x#long_name=x
      coordinate of projection</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">x#standard_name=projection_x_coordinate</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">x#units=Meter</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">y#long_name=y
      coordinate of projection</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">y#standard_name=projection_y_coordinate</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">y#units=Meter</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">Band 1</span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">coordinates=x
      y</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">esri_pe_string=PROJCS["WGS_1984_UTM_zone_32N",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting",500000.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",9.0],PARAMETER["scale_factor",0.9996],PARAMETER["latitude_of_origin",0.0],UNIT["Meter",1.0]]</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">grid_mapping=transverse_mercator</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">long_name=slope_uri_utm.tif</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">missing_value=-3.4028235e+38</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">NETCDF_VARNAME=slope_uri_utm.tif</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">units=Meter</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">Dimensions:</span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">X: 1001 Y:
      1442 Bands: 1 </p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">Origin:</span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">422535,5.2057e+06</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">Pixel Size:</span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">77.467,-77.467</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">No Data Value</span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">-3.40282e+38
    </p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">Data Type:</span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">GDT_Float32
      - Thirty two bit floating point </p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">Pyramid overviews:</span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">Layer Spatial Reference System: </span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">+proj=utm
      +zone=32 +datum=WGS84 +units=m +no_defs</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">Layer Extent (layer original source
        projection): </span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">422534.9726139035774395,5093988.6136936303228140
      : 500079.4581443184870295,5205696.0543880462646484</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ffffff;">Band</span></p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">Band 1</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">Band No</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">1</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">No Stats</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">No stats
      collected yet <br>
    </p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
      <!--EndFragment--></p>
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-1">
    <style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
    <div class="moz-cite-prefix">On 13.08.2014 21:30, Paul Wessel wrote:<br>
    </div>
    <blockquote cite="mid:[email protected]" type="cite">
      <pre wrap="">Seems odd if you can run grdimage on the serve but not grdinfo? I doubt they have disabled some of the programs.  Unless you have a web interface that only allows a few things.  We also don't know what GMT version you are running so it is still pretty unconstrained.  Without info on file area etc I cannot really help.

-p

On Aug 13, 2014, at 9:24 AM, Felix Bostel <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Of course! You're totally right. But I still get the same error message...

On 13.08.2014 19:38, Paul Wessel wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Your -R is probably wrong.  The trailing "r" means that your area is defined by the lower left (8.5/9) and upper right (46.5/47) corners you specified, but I suspect you instead mean to say

-R8.5/46.5/9/47r

The other selection would requires an enormous image grid and hence the memory message.

-p

On Aug 13, 2014, at 7:18 AM, Felix Bostel <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote:

</pre>
          <blockquote type="cite">
            <pre wrap="">command line: (grdimage)
-Ju32T/1:50000 -R8.5/9/46.5/47r -K -O
(I'm using gmt via a service which runs on a university server. grdinfo doesn't run there).  Is it possible to get the gird information in other ways (e.g.: QGIS)? I tried to install gmt locally, but haven't  succeeded, yet.

Cheers, Felix

On 12.08.2014 22:58, Paul Wessel wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">Insufficient info.  Please post your grdimage command line as well as output of grdinfo of your grid.

Cheers, Paul

Sent from my iPad

</pre>
              <blockquote type="cite">
                <pre wrap="">On Aug 12, 2014, at 12:06 PM, Felix Bostel<a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>  wrote:

Hello,

I want to visualize a slope (format: netCDF) using grdimage.
I get the following error message:
"error 104: execution failed: GMT Fatal Error: grdimage requesting negative n_items (-64887781) - exceeding 32-bit counting?"
My grid file is a 32-bit file. I also tried to process a smaller part of the grid using the -R option.

Has anyone an idea what could help to slove this problem?

Best regards,
Felix

Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a>
To unsubscribe, send the message "signoff gmt-help" <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a> instead.
</pre>
              </blockquote>
              <pre wrap="">Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a>
To unsubscribe, send the message "signoff gmt-help" <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a> instead.
</pre>
            </blockquote>
            <pre wrap="">Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a>
To unsubscribe, send the message "signoff gmt-help" to <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a> instead.
</pre>
          </blockquote>
          <pre wrap="">Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a>
To unsubscribe, send the message "signoff gmt-help" to <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a> instead.
</pre>
        </blockquote>
        <pre wrap="">Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a>
To unsubscribe, send the message "signoff gmt-help" to <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a> instead.
</pre>
      </blockquote>
      <pre wrap="">Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a>
To unsubscribe, send the message "signoff gmt-help" to <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a> instead.
</pre>
    </blockquote>
    <br>
  </div>

Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a>
To unsubscribe, send the message "signoff gmt-help" to <a href="mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on <a href="http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a> instead.
</blockquote></div><br></div></body></html>
Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message &quot;signoff gmt-help&quot; to <a href="mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
--Apple-Mail=_E77C0798-A618-45A4-B9C5-D91F0D0B7751--