Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove incorrect init in dem plugin #168

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading