From 51cdf363b5ed0b64ec22fecb655eb22ce0022225 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Fri, 2 Jun 2023 16:07:22 -0500 Subject: [PATCH] Add copyright to files we forgot (#1390) --- experiments/ssl4eo/compress_l5_l1.sh | 3 +++ experiments/ssl4eo/compress_l7_l1.sh | 3 +++ experiments/ssl4eo/compress_l7_l2.sh | 3 +++ experiments/ssl4eo/compress_l8_l1.sh | 3 +++ experiments/ssl4eo/compress_l8_l2.sh | 3 +++ experiments/ssl4eo/compute_dataset_pca.py | 4 +++- experiments/ssl4eo/delete_mismatch.py | 3 +++ experiments/ssl4eo/delete_mismatch.sh | 3 +++ experiments/ssl4eo/sample_conus.sh | 3 +++ 9 files changed, 27 insertions(+), 1 deletion(-) diff --git a/experiments/ssl4eo/compress_l5_l1.sh b/experiments/ssl4eo/compress_l5_l1.sh index 926eed7f2..8f75c20f9 100755 --- a/experiments/ssl4eo/compress_l5_l1.sh +++ b/experiments/ssl4eo/compress_l5_l1.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + set -euo pipefail # User-specific parameters diff --git a/experiments/ssl4eo/compress_l7_l1.sh b/experiments/ssl4eo/compress_l7_l1.sh index 1171f1dde..3a84339ac 100755 --- a/experiments/ssl4eo/compress_l7_l1.sh +++ b/experiments/ssl4eo/compress_l7_l1.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + set -euo pipefail # User-specific parameters diff --git a/experiments/ssl4eo/compress_l7_l2.sh b/experiments/ssl4eo/compress_l7_l2.sh index 7d816d0e4..ba36295fe 100755 --- a/experiments/ssl4eo/compress_l7_l2.sh +++ b/experiments/ssl4eo/compress_l7_l2.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + set -euo pipefail # User-specific parameters diff --git a/experiments/ssl4eo/compress_l8_l1.sh b/experiments/ssl4eo/compress_l8_l1.sh index 7f1f0c258..61a3505eb 100755 --- a/experiments/ssl4eo/compress_l8_l1.sh +++ b/experiments/ssl4eo/compress_l8_l1.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + set -euo pipefail # User-specific parameters diff --git a/experiments/ssl4eo/compress_l8_l2.sh b/experiments/ssl4eo/compress_l8_l2.sh index 01efa6731..faac4a3c4 100755 --- a/experiments/ssl4eo/compress_l8_l2.sh +++ b/experiments/ssl4eo/compress_l8_l2.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + set -euo pipefail # User-specific parameters diff --git a/experiments/ssl4eo/compute_dataset_pca.py b/experiments/ssl4eo/compute_dataset_pca.py index a98189c93..018786bbb 100755 --- a/experiments/ssl4eo/compute_dataset_pca.py +++ b/experiments/ssl4eo/compute_dataset_pca.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import argparse import glob import os @@ -12,7 +15,6 @@ if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("directory", help="directory to recursively search for files") parser.add_argument("--ext", default="tif", help="file extension") - parser.add_argument("--nan", default=0, type=float, help="fill value") parser.add_argument("--scale", default=255, type=float, help="scale factor") args = parser.parse_args() diff --git a/experiments/ssl4eo/delete_mismatch.py b/experiments/ssl4eo/delete_mismatch.py index b6dab00a1..31968ffb7 100755 --- a/experiments/ssl4eo/delete_mismatch.py +++ b/experiments/ssl4eo/delete_mismatch.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import argparse import os import shutil diff --git a/experiments/ssl4eo/delete_mismatch.sh b/experiments/ssl4eo/delete_mismatch.sh index 848933a19..4f2a2e54e 100755 --- a/experiments/ssl4eo/delete_mismatch.sh +++ b/experiments/ssl4eo/delete_mismatch.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + set -euo pipefail # User-specific parameters diff --git a/experiments/ssl4eo/sample_conus.sh b/experiments/ssl4eo/sample_conus.sh index 8ab9b01e9..e25ef8a8d 100755 --- a/experiments/ssl4eo/sample_conus.sh +++ b/experiments/ssl4eo/sample_conus.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + set -euo pipefail # User-specific parameters