Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 17, 2023
1 parent c462c6a commit 2cccc0f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions datacube_alchemist/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ def measurements(self, input_measurements) -> Dict[str, Measurement]:
return self.output_measurements

def compute(self, data) -> xr.Dataset:

"""
Implementation ported from https://github.com/daleroberts/nrt-predict/blob/main/nrtmodels/burnscar.py#L39
"""
Expand Down Expand Up @@ -512,7 +511,6 @@ def measurements(self, input_measurements) -> Dict[str, Measurement]:
return self.output_measurements

def compute(self, data) -> xr.Dataset:

gm_base_year = 2018

# TODO - remove this section, for debugging only. Find the S2 data for the geomedian
Expand Down Expand Up @@ -725,7 +723,6 @@ def measurements(self, input_measurements) -> Dict[str, Measurement]:
return self.output_measurements

def compute(self, data) -> xr.Dataset:

# Load base Geomedian from datacube
gm_base_year = data.time.dt.year.values[0] - 1
if gm_base_year == 2021:
Expand Down
1 change: 0 additions & 1 deletion datacube_alchemist/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def resampling(self) -> Union[str, Mapping[str, str]]:

@property
def transform(self) -> Type[Transformation]:

module_name, class_name = self.transform_name.rsplit(".", maxsplit=1)
module = importlib.import_module(name=module_name)
imported_class = getattr(module, class_name)
Expand Down

0 comments on commit 2cccc0f

Please sign in to comment.