Mercurial > forge
changeset 11992:6f80e9b5a5cb octave-forge
add copyright (2)
line wrap: on
line diff
--- a/main/netcdf/inst/private/format2mode.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/format2mode.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + function mode = format2mode(format) mode = netcdf_getConstant("NC_NOCLOBBER");
--- a/main/netcdf/inst/private/nc2octtype.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/nc2octtype.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + function otype = nc2octtype(nctype) if nctype == netcdf_getConstant("NC_CHAR")
--- a/main/netcdf/inst/private/ncloc.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/ncloc.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + % resolves a location (variable or group) by name function [gid,varid] = ncloc(ncid,name)
--- a/main/netcdf/inst/private/ncvarid.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/ncvarid.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + function [gid,varid] = ncvarid(ncid,varname)
--- a/main/netcdf/inst/private/oct2nctype.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/oct2nctype.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + function nctype = oct2nctype(otype) typemap.int8 = 'byte';
--- a/main/netcdf/inst/private/test_netcdf_attributes.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_attributes.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + function test_netcdf_attributes() import_netcdf
--- a/main/netcdf/inst/private/test_netcdf_constant.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_constant.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + % test netcdf constants function test_netcdf_constant() import_netcdf
--- a/main/netcdf/inst/private/test_netcdf_create.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_create.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + function test_netcdf_create import_netcdf fname = [tempname '-octave-netcdf.nc'];
--- a/main/netcdf/inst/private/test_netcdf_datatypes.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_datatypes.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + function test_netcdf_datatypes() test_netcdf_type('byte','int8');
--- a/main/netcdf/inst/private/test_netcdf_high_level_interface.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_high_level_interface.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + fname = [tempname '-octave-netcdf.nc'];
--- a/main/netcdf/inst/private/test_netcdf_low_level_interface.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_low_level_interface.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + function test_netcdf_low_level_interface import_netcdf
--- a/main/netcdf/inst/private/test_netcdf_ncwriteschema.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_ncwriteschema.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + fname = [tempname '-octave-netcdf-scheme-unlim.nc'];
--- a/main/netcdf/inst/private/test_netcdf_ncwriteschema_chunking.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_ncwriteschema_chunking.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + fname = [tempname '-octave-netcdf-scheme-chunk.nc'];
--- a/main/netcdf/inst/private/test_netcdf_ncwriteschema_group.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_ncwriteschema_group.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + fname = [tempname '-octave-netcdf-scheme-group.nc'];
--- a/main/netcdf/inst/private/test_netcdf_ncwriteschema_unlim.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_ncwriteschema_unlim.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + fname = [tempname '-octave-netcdf-scheme-unlim.nc'];
--- a/main/netcdf/inst/private/test_netcdf_scalar_variable.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_netcdf_scalar_variable.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + function test_netcdf_scalar_variable() import_netcdf
--- a/main/netcdf/inst/private/test_scalar_variable.m Tue Jul 30 08:18:00 2013 +0000 +++ b/main/netcdf/inst/private/test_scalar_variable.m Tue Jul 30 09:41:59 2013 +0000 @@ -1,3 +1,18 @@ +%% Copyright (C) 2013 Alexander Barth +%% +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; If not, see <http://www.gnu.org/licenses/>. + function test_netcdf_scalar_variable() import_netcdf