Feature #151

Remove unnecessary padding code from gmt_nc

Added by Florian about 6 years ago. Updated 3 months ago.

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


Target version:-


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.


#1 Updated by Joaquim 3 months 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 3 months ago

  • Status changed from New to Closed

Also available in: Atom PDF