Skip to content

Commit 44ccb73

Browse files
Neil FloodNeil Flood
authored andcommitted
Updated GPL license version to GPL v3, in all .py files, and in LICENSE.txt
1 parent ba33e63 commit 44ccb73

26 files changed

+689
-278
lines changed

LICENSE.txt

Lines changed: 647 additions & 253 deletions
Large diffs are not rendered by default.

bin/fmask_sentinel2Stacked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# This program is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU General Public License
7-
# as published by the Free Software Foundation; either version 2
7+
# as published by the Free Software Foundation; either version 3
88
# of the License, or (at your option) any later version.
99
#
1010
# This program is distributed in the hope that it will be useful,

bin/fmask_sentinel2makeAnglesImage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# This program is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU General Public License
7-
# as published by the Free Software Foundation; either version 2
7+
# as published by the Free Software Foundation; either version 3
88
# of the License, or (at your option) any later version.
99
#
1010
# This program is distributed in the hope that it will be useful,

bin/fmask_usgsLandsatMakeAnglesImage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# This program is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU General Public License
7-
# as published by the Free Software Foundation; either version 2
7+
# as published by the Free Software Foundation; either version 3
88
# of the License, or (at your option) any later version.
99
#
1010
# This program is distributed in the hope that it will be useful,

bin/fmask_usgsLandsatSaturationMask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# This program is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU General Public License
7-
# as published by the Free Software Foundation; either version 2
7+
# as published by the Free Software Foundation; either version 3
88
# of the License, or (at your option) any later version.
99
#
1010
# This program is distributed in the hope that it will be useful,

bin/fmask_usgsLandsatStacked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# This program is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU General Public License
7-
# as published by the Free Software Foundation; either version 2
7+
# as published by the Free Software Foundation; either version 3
88
# of the License, or (at your option) any later version.
99
#
1010
# This program is distributed in the hope that it will be useful,

bin/fmask_usgsLandsatTOA.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# This program is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU General Public License
7-
# as published by the Free Software Foundation; either version 2
7+
# as published by the Free Software Foundation; either version 3
88
# of the License, or (at your option) any later version.
99
#
1010
# This program is distributed in the hope that it will be useful,

fmask/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This program is free software; you can redistribute it and/or
55
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
6+
# as published by the Free Software Foundation; either version 3
77
# of the License, or (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,

fmask/cmdline/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This program is free software; you can redistribute it and/or
55
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
6+
# as published by the Free Software Foundation; either version 3
77
# of the License, or (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,

fmask/cmdline/sentinel2Stacked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# This program is free software; you can redistribute it and/or
99
# modify it under the terms of the GNU General Public License
10-
# as published by the Free Software Foundation; either version 2
10+
# as published by the Free Software Foundation; either version 3
1111
# of the License, or (at your option) any later version.
1212
#
1313
# This program is distributed in the hope that it will be useful,

fmask/cmdline/sentinel2makeAnglesImage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This program is free software; you can redistribute it and/or
55
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
6+
# as published by the Free Software Foundation; either version 3
77
# of the License, or (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,

fmask/cmdline/usgsLandsatMakeAnglesImage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This program is free software; you can redistribute it and/or
55
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
6+
# as published by the Free Software Foundation; either version 3
77
# of the License, or (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,

fmask/cmdline/usgsLandsatSaturationMask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This program is free software; you can redistribute it and/or
55
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
6+
# as published by the Free Software Foundation; either version 3
77
# of the License, or (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,

fmask/cmdline/usgsLandsatStacked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# This program is free software; you can redistribute it and/or
99
# modify it under the terms of the GNU General Public License
10-
# as published by the Free Software Foundation; either version 2
10+
# as published by the Free Software Foundation; either version 3
1111
# of the License, or (at your option) any later version.
1212
#
1313
# This program is distributed in the hope that it will be useful,

fmask/cmdline/usgsLandsatTOA.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This program is free software; you can redistribute it and/or
55
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
6+
# as published by the Free Software Foundation; either version 3
77
# of the License, or (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,

fmask/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# This program is free software; you can redistribute it and/or
99
# modify it under the terms of the GNU General Public License
10-
# as published by the Free Software Foundation; either version 2
10+
# as published by the Free Software Foundation; either version 3
1111
# of the License, or (at your option) any later version.
1212
#
1313
# This program is distributed in the hope that it will be useful,

fmask/fillminima.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717
# This program is free software; you can redistribute it and/or
1818
# modify it under the terms of the GNU General Public License
19-
# as published by the Free Software Foundation; either version 2
19+
# as published by the Free Software Foundation; either version 3
2020
# of the License, or (at your option) any later version.
2121
#
2222
# This program is distributed in the hope that it will be useful,

fmask/fmask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#
3333
# This program is free software; you can redistribute it and/or
3434
# modify it under the terms of the GNU General Public License
35-
# as published by the Free Software Foundation; either version 2
35+
# as published by the Free Software Foundation; either version 3
3636
# of the License, or (at your option) any later version.
3737
#
3838
# This program is distributed in the hope that it will be useful,

fmask/fmaskerrors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# This program is free software; you can redistribute it and/or
99
# modify it under the terms of the GNU General Public License
10-
# as published by the Free Software Foundation; either version 2
10+
# as published by the Free Software Foundation; either version 3
1111
# of the License, or (at your option) any later version.
1212
#
1313
# This program is distributed in the hope that it will be useful,

fmask/landsatTOA.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
# This program is free software; you can redistribute it and/or
1010
# modify it under the terms of the GNU General Public License
11-
# as published by the Free Software Foundation; either version 2
11+
# as published by the Free Software Foundation; either version 3
1212
# of the License, or (at your option) any later version.
1313
#
1414
# This program is distributed in the hope that it will be useful,

fmask/landsatangles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# This program is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU General Public License
7-
# as published by the Free Software Foundation; either version 2
7+
# as published by the Free Software Foundation; either version 3
88
# of the License, or (at your option) any later version.
99
#
1010
# This program is distributed in the hope that it will be useful,

fmask/saturationcheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010
# This program is free software; you can redistribute it and/or
1111
# modify it under the terms of the GNU General Public License
12-
# as published by the Free Software Foundation; either version 2
12+
# as published by the Free Software Foundation; either version 3
1313
# of the License, or (at your option) any later version.
1414
#
1515
# This program is distributed in the hope that it will be useful,

fmask/sen2meta.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@
44
Currently only has a class for the tile-based metadata file.
55
66
"""
7+
# This file is part of 'python-fmask' - a cloud masking module
8+
# Copyright (C) 2015 Neil Flood
9+
#
10+
# This program is free software; you can redistribute it and/or
11+
# modify it under the terms of the GNU General Public License
12+
# as published by the Free Software Foundation; either version 3
13+
# of the License, or (at your option) any later version.
14+
#
15+
# This program is distributed in the hope that it will be useful,
16+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
# GNU General Public License for more details.
19+
#
20+
# You should have received a copy of the GNU General Public License
21+
# along with this program; if not, write to the Free Software
22+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23+
724
from __future__ import print_function, division
825

926
import datetime

fmask/valueindexes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This program is free software; you can redistribute it and/or
55
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
6+
# as published by the Free Software Foundation; either version 3
77
# of the License, or (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,

fmask/zerocheck.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# This program is free software; you can redistribute it and/or
1212
# modify it under the terms of the GNU General Public License
13-
# as published by the Free Software Foundation; either version 2
13+
# as published by the Free Software Foundation; either version 3
1414
# of the License, or (at your option) any later version.
1515
#
1616
# This program is distributed in the hope that it will be useful,
@@ -68,4 +68,4 @@ def riosAllZeroes(info, inputs, outputs, otherArgs):
6868
"""
6969
if inputs.input[otherArgs.band].max() > 0:
7070
otherArgs.nonZeroFound = True
71-
71+

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This program is free software; you can redistribute it and/or
55
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
6+
# as published by the Free Software Foundation; either version 3
77
# of the License, or (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,

0 commit comments

Comments
 (0)