A data compression and sampling methodology for ocean observing systems