diff --git a/tsg_util/read_file_woa01.m b/tsg_util/read_file_woa01.m index 8fd49cdb06d9a4869acb53db55135edb9d7accd5..aeaa694e9ad09650cd39169957e178fb1a49393c 100644 --- a/tsg_util/read_file_woa01.m +++ b/tsg_util/read_file_woa01.m @@ -1,14 +1,15 @@ function levitus = read_file_woa01(file) % a mettre dans la classe de base oceano puisque commun a tous -% read_woa01.m % % read WOA01 Levitus T-S-O2, Stddev & nb_obs Netcdf file in memory -% $Id: read_file_woa01.m 123 2007-02-12 08:35:45Z jgrelet $ +% $Id$ filesfound = checkforfiles( file ); if filesfound == 0; - error(['Couldn''t find ', file]) + warning(['Couldn''t find ', file]); + levitus = -1; + return; end % a commenter en production