Commit 43f8d981 authored by PIOLLE's avatar PIOLLE
Browse files

removed returned in __init__

parent 99788a63
......@@ -24,7 +24,7 @@ class WHALESNCDataset(Dataset):
"""
def __init__(self, *args, time_units: str = DEFAULT_TIME_UNITS, **kwargs):
self.time_units = time_units
return super(WHALESNCDataset, self).__init__(
super(WHALESNCDataset, self).__init__(
*args,
field_matching={
'time_20hz': 'time', 'lat_20hz': 'lat', 'lon_20hz': 'lon'},
......@@ -80,7 +80,7 @@ class JASONWHALESNCDataset(Dataset):
"""
def __init__(self, *args, time_units: str = DEFAULT_TIME_UNITS, **kwargs):
self.time_units = time_units
return super(JASONWHALESNCDataset, self).__init__(
super(JASONWHALESNCDataset, self).__init__(
*args,
field_matching={
'time_20hz': 'time', 'glat.00': 'lat', 'glon.00': 'lon',
......@@ -100,4 +100,4 @@ class JASONWHALESNCDataset(Dataset):
self._std_dataset = xr.decode_cf(self._std_dataset)
self._std_dataset = self._std_dataset.drop('jday.00')
return super(JASONWHALESNCDataset, self)._transform()
\ No newline at end of file
return super(JASONWHALESNCDataset, self)._transform()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment