Skip to content

Commit

Permalink
remove incorrect init in dem plugin (#168)
Browse files Browse the repository at this point in the history
Co-authored-by: Emma Ai <[email protected]>
  • Loading branch information
emmaai and Emma Ai authored Nov 14, 2024
1 parent 1aa3496 commit 9ecc309
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions odc/stats/plugins/lc_veg_class_a1.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Plugin of Module A1 in LandCover PipeLine
"""

from typing import Tuple, Optional, Dict
from typing import Optional, Dict

import numpy as np
import xarray as xr
Expand All @@ -19,13 +19,6 @@ class StatsDem(StatsPluginInterface):
VERSION = "0.0.1"
PRODUCT_FAMILY = "lccs"

def __init__(
self,
measurements: Optional[Tuple[str, ...]] = None,
**kwargs,
):
super().__init__(**kwargs)

def native_transform(self, xx):
# reproject cannot work with nodata being int for float
# hence convert to nan
Expand Down

0 comments on commit 9ecc309

Please sign in to comment.