Skip to content

Commit

Permalink
Add copyright header to all source files (#190)
Browse files Browse the repository at this point in the history
This PR adds a copyright header and license information to all FarmVibes.AI source files.
  • Loading branch information
renatolfc authored Aug 2, 2024
1 parent fb4578c commit 84f906d
Show file tree
Hide file tree
Showing 438 changed files with 1,314 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.


DOCKER_VERSION=24.0.2
VSCODE_HOME=/home/vscode
Expand Down
3 changes: 3 additions & 0 deletions ops/admag/admag_seasonal_field_op.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from datetime import datetime
from typing import Any, Dict, Tuple

Expand Down
3 changes: 3 additions & 0 deletions ops/admag/get_prescription.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from typing import Dict

from vibe_core.admag_client import ADMAgClient
Expand Down
3 changes: 3 additions & 0 deletions ops/admag/list_prescriptions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from typing import Any, Dict, List, Tuple

from vibe_core.admag_client import ADMAgClient
Expand Down
3 changes: 3 additions & 0 deletions ops/admag/prescriptions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from datetime import datetime
from tempfile import TemporaryDirectory
from typing import Any, Dict, List, Tuple
Expand Down
3 changes: 3 additions & 0 deletions ops/admag/test_admag.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import copy
import json
import os
Expand Down
3 changes: 3 additions & 0 deletions ops/aggregate_statistics_timeseries/aggregate_timeseries.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Dict, List, cast
Expand Down
3 changes: 3 additions & 0 deletions ops/carbon_local/test_whatif.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime
from typing import List
Expand Down
3 changes: 3 additions & 0 deletions ops/carbon_local/whatif_comet_local.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import xml.etree.ElementTree as ET
from datetime import datetime, timezone
from typing import Any, Dict, List
Expand Down
3 changes: 3 additions & 0 deletions ops/chunk_raster/chunk_raster.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import hashlib
from typing import Any, Dict, List, Tuple, Union

Expand Down
3 changes: 3 additions & 0 deletions ops/clip_raster/clip_raster.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import logging
import os
from tempfile import TemporaryDirectory
Expand Down
3 changes: 3 additions & 0 deletions ops/combine_chunks/combine_chunks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import hashlib
import logging
import mimetypes
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_cloud_prob/compute_cloud_prob.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Any, Dict
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_cloud_water_mask/compute_cloud_water_mask.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Dict
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Any, Dict
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Any, Dict, cast
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_fcover/fcover.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

"""
FCOVER computation using a neural network as described in
https://step.esa.int/docs/extra/ATBD_S2ToolBox_L2B_V1.1.pdf
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_ghg_fluxes/compute_ghg_fluxes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from copy import copy
from dataclasses import asdict, dataclass
from enum import Enum, IntEnum, auto
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_ghg_fluxes/test_ghg_fluxes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime
from math import isclose
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_illuminance/compute_illuminance.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# pyright: reportUnknownMemberType=false
from typing import Dict, List, Union, cast

Expand Down
3 changes: 3 additions & 0 deletions ops/compute_index/index.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from collections import defaultdict
from tempfile import TemporaryDirectory
from typing import Any, Callable, Dict, List, cast
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_index/test_index.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime
from tempfile import TemporaryDirectory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Dict
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_ngi_egi_layers/compute_ngi_egi_layers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Dict
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_onnx/compute_onnx.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Dict, List, Optional, Union
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_onnx/test_compute_onnx.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import mimetypes
import os
from datetime import datetime, timedelta
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_onnx/test_compute_onnx_chunk.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime, timedelta
from pathlib import Path
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_pixel_count/compute_pixel_count.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Any, Dict
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_pixel_count/test_compute_pixel_count.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime
from typing import cast
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import logging
from tempfile import TemporaryDirectory
from typing import Any, Dict, List
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_raster_cluster/compute_raster_cluster.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import logging
from tempfile import TemporaryDirectory
from typing import Any, Dict
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_raster_gradient/compute_raster_gradient.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import mimetypes
import os
from tempfile import TemporaryDirectory
Expand Down
3 changes: 3 additions & 0 deletions ops/compute_shadow_prob/compute_shadow_prob.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Any, Dict
Expand Down
3 changes: 3 additions & 0 deletions ops/create_raster_sequence/create_raster_sequence.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from datetime import datetime
from typing import Any, Dict, List, Tuple, Union

Expand Down
3 changes: 3 additions & 0 deletions ops/datavibe_filter/datavibe_filter.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from datetime import datetime
from functools import partial
from typing import Dict
Expand Down
3 changes: 3 additions & 0 deletions ops/detect_driveway/detect_driveway.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Any, Dict, List, Optional, Tuple, cast
Expand Down
3 changes: 3 additions & 0 deletions ops/detect_outliers/detect_outliers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from datetime import datetime
from tempfile import TemporaryDirectory
from typing import Any, Callable, Dict, List, Sequence, Tuple, Union, cast
Expand Down
3 changes: 3 additions & 0 deletions ops/download_airbus/download_airbus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import re
from datetime import datetime
from tempfile import TemporaryDirectory
Expand Down
3 changes: 3 additions & 0 deletions ops/download_alos/download_alos.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from tempfile import TemporaryDirectory
from typing import Dict
Expand Down
3 changes: 3 additions & 0 deletions ops/download_alos/test_download_alos.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime, timezone
from typing import cast
Expand Down
3 changes: 3 additions & 0 deletions ops/download_ambient_weather/download_ambient_weather.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import logging
import mimetypes
import os
Expand Down
3 changes: 3 additions & 0 deletions ops/download_bing_basemap/download_bing_basemap.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import hashlib
import os
from tempfile import TemporaryDirectory
Expand Down
3 changes: 3 additions & 0 deletions ops/download_bing_basemap/test_download_bing_basemap.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime
from unittest.mock import MagicMock, patch
Expand Down
3 changes: 3 additions & 0 deletions ops/download_cdl_data/download_cdl.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import mimetypes
import os
from tempfile import TemporaryDirectory
Expand Down
3 changes: 3 additions & 0 deletions ops/download_cdl_data/download_cdl_data.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import mimetypes
import os
import xml.etree.ElementTree as ET
Expand Down
3 changes: 3 additions & 0 deletions ops/download_chirps/download_chirps.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import logging
import os
import re
Expand Down
3 changes: 3 additions & 0 deletions ops/download_climatology_lab/download_climatology_lab.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import mimetypes
import os
from tempfile import TemporaryDirectory
Expand Down
3 changes: 3 additions & 0 deletions ops/download_climatology_lab/test_download_climatology_lab.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime, timezone
from unittest.mock import MagicMock, patch
Expand Down
3 changes: 3 additions & 0 deletions ops/download_dem/download_dem.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import mimetypes
import os
from tempfile import TemporaryDirectory
Expand Down
3 changes: 3 additions & 0 deletions ops/download_dem/test_download_dem.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime, timezone
from unittest.mock import MagicMock, patch
Expand Down
3 changes: 3 additions & 0 deletions ops/download_era5/download_era5.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import logging
import mimetypes
import os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import mimetypes
import os
from tempfile import TemporaryDirectory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime, timezone
from unittest.mock import MagicMock, patch
Expand Down
3 changes: 3 additions & 0 deletions ops/download_from_ref/download_from_ref.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import hashlib
import mimetypes
import os
Expand Down
3 changes: 3 additions & 0 deletions ops/download_from_smb/download_rasters_from_smb.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import mimetypes
from pathlib import Path
from tempfile import TemporaryDirectory
Expand Down
3 changes: 3 additions & 0 deletions ops/download_gedi_product/download_gedi_product.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import logging
import os
from tempfile import TemporaryDirectory
Expand Down
3 changes: 3 additions & 0 deletions ops/download_gedi_product/test_download_gedi_product.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os
from datetime import datetime
from typing import Any, cast
Expand Down
Loading

0 comments on commit 84f906d

Please sign in to comment.