Bug #535

grdmath confused about geographic coordinates on command line

Added by Paul almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:2014-04-08
Priority:NormalDue date:
Assignee:Paul% Done:

100%

Category:-
Target version:Candidate for next bugfix release
Affected version:5.x-svn Platform:

Description

I am using a geographic grid, us.nc, as argument to -R, then doing a SDIST calculation. I get this warning:

grdmath -Rus.nc 105W 39N SDIST 100 LE = x.nc
grdmath: GMT: Longitude input data detected and successfully converted but will be considered Cartesian coordinates.
grdmath: GMT: If you need longitudes to be processed as periodic in 360 degrees then you must use -fg.

Adding -fg does not change this, but should be unnecessary since us.nc is a recognized geographic grid and things like 105W should be understood.

History

#1 Updated by Paul almost 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

That particular warning had a boolean that needed to be set when -fg was used or a geographic grid was read. Works in r13052.

#2 Updated by Paul almost 3 years ago

  • Status changed from Resolved to Closed

Closed as fixed.

Also available in: Atom PDF