Open mhidas opened 4 years ago
Not sure about the numpy one, but the assertRaisesRegex one is just a straight search/replace, because it was just renamed.
Yep, I just wasn't ready to fix them right now, and as you say the numpy ones will take a bit more debugging, so just noting here as a reminder for later.
/sw/chef/src/python-aodntools/aodntools/timeseries_products/hourly_timeseries.py:540: PendingDeprecationWarning: dropping variables using `drop` will be deprecated; using drop_vars is encouraged.
nc_aggregated = nc_aggregated.drop('OBSERVATION')
/sw/chef/src/python-aodntools/aodntools/timeseries_products/gridded_timeseries.py:88: SerializationWarning: saving variable TEMP_count with floating point data as an integer dtype without any _FillValue to use for NaNs
agg_dataset.to_netcdf(output_path, encoding=encoding, format='NETCDF4_CLASSIC')
velocity_hourly_timeseries.py:195: DeprecationWarning: parsing timezone aware datetimes is deprecated; this will raise an error in the future
chunk_start = np.datetime64(nc.attrs['time_deployment_start'])
velocity_hourly_timeseries.py:196: DeprecationWarning: parsing timezone aware datetimes is deprecated; this will raise an error in the future
chunk_end = np.datetime64(nc.attrs['time_deployment_end'])
See also #136 :
hourly_timeseries.py:401: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
and
hourly_timeseries.py:311: FutureWarning: 'base' in .resample() and in Grouper() is deprecated. The new arguments that you should use are 'offset' or 'origin'.
Various
DeprecationWarning
andRuntimeWarning
pop up when running the unittests. These should ideally be fixed before they become errors.E.g.