grdimage projection and region puzzle

Added by John 8 months ago

Aloha.

Can anyone tell me what grdimage is unhappy about and how to fix? I've previously tried adding +ue to the REGION parameter but that didn't seem to help. I assume that means meters but I can't find it in the doc.

Mahalo.

===============================================
+ gmt grdinfo USGS-Seamless-SouthernCA/level1/USGS-Seamless-Encinitas.nc
USGS-Seamless-Encinitas.nc: Title: Produced by grdcut
USGS-Seamless-Encinitas.nc: Command: grdcut USGS-Seamless-SD-Master-Clean.nc -GUSGS-Seamless-Encinitas.nc -R467924/477870/3653441/3662494
USGS-Seamless-Encinitas.nc: Remark:
USGS-Seamless-Encinitas.nc: Gridline node registration used [Cartesian grid]
USGS-Seamless-Encinitas.nc: Grid file format: nf = GMT netCDF format (32-bit float), CF-1.7
USGS-Seamless-Encinitas.nc: x_min: 467925 x_max: 477870 x_inc: 3 name: n_columns: 3316
USGS-Seamless-Encinitas.nc: y_min: 3653442 y_max: 3662493 y_inc: 3 name: n_rows: 3018
USGS-Seamless-Encinitas.nc: z_min: -40.145149231 z_max: 140.042678833 name: z
USGS-Seamless-Encinitas.nc: scale_factor: 1 add_offset: 0
USGS-Seamless-Encinitas.nc: format: netCDF-4 chunk_size: 133,132 shuffle: on deflation_level: 3

gmt grdimage USGS-Seamless-Encinitas.nc -JU11/12c -R467924/477870/3653441/3662494 -Csurface.cpt -K
grdimage [ERROR]: For a UTM or TM projection, your region 467924/477870/3653441/3662494 is too large to be in degrees and thus assumed to be in meters
grdimage [ERROR]: UTM projection insufficiently specified to auto-determine geographic region
grdimage [ERROR]: Syntax error -R option. Correct syntax:
-R<xmin>/<xmax>/<ymin>/<ymax>[/<zmin>/<zmax>]
Append r if giving lower left and upper right coordinates
-Rg or -Rd for global domain
-R<grdfile> to take the domain from a grid file
grdimage [ERROR]: Offending option -R467924/477870/3653441/3662494


Replies (1)

RE: grdimage projection and region puzzle - Added by John 8 months ago

Found the same issue in older forum replies. Paul responded and I now remember this problem. I can proceed.

(1-1/1)