Feature #151

Remove unnecessary padding code from gmt_nc

Added by Florian almost 6 years ago. Updated 4 days ago.

Status:ClosedStart date:2012-09-26
Priority:NormalDue date:
Assignee:Florian% Done:

0%

Category:-
Target version:-
Platform:

Description

Since r10476 some of the functions

pad_grid:               Add padding to a grid
unpad_grid:             Remove padding from a grid
padding_copy:           Fill padding by replicating the border cells
padding_zero:           Fill padding with zeros
are not in effect anymore. The code should be purged or merged with GMT_grd_pad_on/GMT_grd_pad_off if more efficient.

History

#1 Updated by Joaquim 4 days ago

Checked that unpad_grid() (now gmtnc_unpad_grid) is used in gmt_nc_write_grd. Anyway, we now trust in Coverity to tell us about dead code so I'm closing this.

#2 Updated by Joaquim 4 days ago

  • Status changed from New to Closed

Also available in: Atom PDF