File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
sup3r/preprocessing/rasterizers Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 88import os
99from abc import ABC
1010from dataclasses import dataclass
11- from typing import Optional , Union
11+ from typing import ClassVar , Optional , Union
1212from warnings import warn
1313
1414import 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 ):
Original file line number Diff line number Diff 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 = (
You can’t perform that action at this time.
0 commit comments