ncwa mis-handles missing data

Ken
2013-03-20
2013-10-17
  • Ken
    Ken
    2013-03-20

    Am I using these operators wrong? It seems to me that there are lots of problems with handling missing data:

    > ncdump foo.nc
    netcdf foo {
    dimensions:
    lat = 2 ;
    variables:
    short v(lat) ;
    v:missing_value = -1s ;
    data:

    v = _, 0 ;
    }
    > ncwa -h foo.nc bar.nc
    > ncdump bar.nc
    netcdf bar {
    variables:
    short v ;
    v:missing_value = -1s ;
    data:

    v = -16383 ;
    }

     
  • Ken
    Ken
    2013-03-20

    The problem I was having was with ncwa version 4.0.8. I upgraded to 4.1.0, which appears to be the most recent version available via MacPorts, and the problem appears to be resolved.

    -Ken