dankelley / ocencdf

Interface from oce to netcdf
https://dankelley.github.io/ocencdf/
2 stars 1 forks source link

ctd2ncdf() should handle NA values #8

Closed dankelley closed 1 year ago

dankelley commented 1 year ago

NA values (like below) are not being converted to the fill value. This will be easy, and will be incorporated in a commit to be pushed later this afternoon (also solving several other bugs, which I can't be bothered listing as issues).

> library(oce)
> data(section)
> stn <- section[["station", 100]]
> stn[["nitrate"]]
 [1] 0.00 0.37 1.96 3.86 8.85   NA   NA   NA   NA   NA   NA   NA   NA   NA
[15]   NA   NA   NA   NA   NA   NA   NA   NA   NA   NA
dankelley commented 1 year ago

Done