Nds2 fetch minute trend problem
Created by: areeda
Master io.nds2 is missing minute_trend_times
, easy to add BUT while it works fine when installed with setup.py it fails with pip from my rep.
I cloned a copy and diffed without finding anything. The error now is:
Command used to generate plot: /usr/local/ldvw/bin/gwpy-plot timeseries --chan 'L1:DMT-SNSW_EFFECTIVE_RANGE_MPC.mean,m-trend' --start 1180048398 --duration 100 --out '/var/cache/tomcat/temp/ldvw2352190172758286256.png' Time Series (GWpy): Status: 3 Output: Error: , 'module' object has no attribute 'minute_trend_times' Time Series (GWpy) Stderr: /usr/share/tomcat/.local/lib/python2.7/site-packages/astropy/config/configuration.py:541: ConfigurationMissingWarning: Configuration defaults will be used due to OSError:Could not find unix home directory to search for astropy config dir on None warn(ConfigurationMissingWarning(msg)) /usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/timeseries/io/nds2.py:95: UserWarning: Requested at least one minute trend, but start and stop GPS times are not multiples of 60. Times will be expanded outwards to compensate warnings.warn("Requested at least one minute trend, but " File "/usr/local/ldvw/bin/gwpy-plot", line 138, in result_code = prod.makePlot(args) File "/usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/cli/cliproduct.py", line 853, in makePlot self.getTimeSeries(args) File "/usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/cli/cliproduct.py", line 494, in getTimeSeries verbose=verb) File "/usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/utils/deps.py", line 84, in wrapper return func(*args, **kwargs) File "/usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/timeseries/core.py", line 268, in fetch allow_tape=allow_tape, type=type, dtype=dtype)[str(channel)] File "/usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/utils/deps.py", line 84, in wrapper return func(*args, **kwargs) File "/usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/timeseries/core.py", line 770, in fetch allow_tape=allow_tape) File "/usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/utils/deps.py", line 84, in wrapper return func(*args, **kwargs) File "/usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/timeseries/core.py", line 801, in fetch allow_tape=allow_tape).crop(start, end) File "/usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/io/nds2.py", line 327, in wrapped_func return func(*args, **kwargs) File "/usr/share/tomcat/.local/lib/python2.7/site-packages/gwpy/timeseries/io/nds2.py", line 98, in fetch start, end = io_nds2.minute_trend_times(start, end) Error generating or saving image.```