removing nans

Help
mark
2013-01-04
2013-10-17
  • mark
    mark
    2013-01-04

    Hello,
    a model occasionally outputs NaN in a vertical column at  single point. Is there a way to replace these NaNs with e.g. average of the neighbors or such?
    Thanks,
    Mark

     
  • Charlie Zender
    Charlie Zender
    2013-01-04

    Better to change the NaNs to missing values following

    http://nco.sf.net/nco.html#NaN

     
  • mark
    mark
    2013-01-04

    thanks, but sorry that seemed a bit clumsy. I found a simpler way:
    http://ncclamp.sourceforge.net/