Bug #1097

New auto -I syntax in grdimage is not recognized

Added by Joaquim 6 months ago. Updated 6 months ago.

Status:ClosedStart date:2017-05-15
Priority:NormalDue date:
Assignee:Paul% Done:

100%

Category:-
Target version:-
Affected version:5.x-svn Platform:

Description

gmtmex('grdimage -I gebco_8m.nc -P -JS21/90/10c -R10/68/50/80r -K > lixo.ps')
Error using gmtmex
GMT: Attempting to address a prhs entry that does not exist

History

#1 Updated by Paul 6 months ago

  • Status changed from New to In Progress
  • Assignee set to Paul
  • % Done changed from 0 to 50

OK, try GMT r1825, rebuild gmtmex and pass -I+ and see if it works. It should see the + as a file and not supply any rhs grids in mex and then the module knows what -I+ means, which is now the recommended way to do auto shading (we still accept -I as well for command line work).

#2 Updated by Joaquim 6 months ago

Hmm, r1825? And gmtmex.c was not changed.

#3 Updated by Paul 6 months ago

Sorry, try r18267 for GMT. No change to gmtmex since you now will pass -I+.

#4 Updated by Joaquim 6 months ago

Me too sorry, had forgotten the + in -I. It works

gmt("grdimage -I+ gebco_8m.nc -P -JS21/90/10c -R10/68/50/80r > lixo.ps")

#5 Updated by Paul 6 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

#6 Updated by Paul 6 months ago

  • Status changed from Resolved to Closed

Closed as fixed.

Also available in: Atom PDF