Bioinformatic approaches for objective detection of water masses on continental shelves