Skip to content

Commit eee8ba1

Browse files
committed
removed nn and idw exo agg methods. Just keeping mean.
1 parent d1da167 commit eee8ba1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sup3r/preprocessing/rasterizers/exo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import os
99
from abc import ABC
1010
from dataclasses import dataclass
11-
from typing import Optional, Union
11+
from typing import ClassVar, Optional, Union
1212
from warnings import warn
1313

1414
import dask.array as da
@@ -128,7 +128,7 @@ class will output a topography raster corresponding to the file_paths
128128

129129
# These sometimes have a time dimension but we don't need the time in
130130
# the cache file
131-
STATIC_FEATURES = ('topography', 'srl')
131+
STATIC_FEATURES: ClassVar = ('topography', 'srl')
132132

133133
@log_args
134134
def __post_init__(self):

tests/rasterizers/test_exo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def test_obs_agg(s_enhance, with_nans):
366366
source_files=f'{td}/hr.nc',
367367
feature='u_10m_obs',
368368
s_enhance=s_enhance,
369-
t_enhance=1
369+
t_enhance=1,
370370
)
371371
agg_obs = np.asarray(te._get_data_3d())
372372
true_obs = (

0 commit comments

Comments
 (0)