Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle conflicting time values error in get_onc_ferry #46

Open
douglatornell opened this issue Oct 13, 2017 · 1 comment
Open

Handle conflicting time values error in get_onc_ferry #46

douglatornell opened this issue Oct 13, 2017 · 1 comment
Labels
bug Something isn't working major v3.3 Workers
Milestone

Comments

@douglatornell
Copy link
Member

Original report by Doug Latornell (Bitbucket: douglatornell, GitHub: douglatornell).


Should not preclude having data from other sensors for the date.

Traceback:

#!

2017-10-13 16:16:56,059 DEBUG [get_onc_ferry] ONC TWDP CO2SENSOR data for 2017-03-02 received and parsed
2017-10-13 16:16:56,071 DEBUG [get_onc_ferry] filtering ONC TWDP CO2SENSOR partial_pressure data for 2017-03-02 to exlude qaqcFlag!=1
2017-10-13 16:16:56,073 DEBUG [get_onc_ferry] filtering ONC TWDP CO2SENSOR co2 data for 2017-03-02 to exlude qaqcFlag!=1
2017-10-13 16:16:58,371 CRITICAL [get_onc_ferry] unhandled exception:
Traceback (most recent call last):
  File "/results/nowcast-sys/NEMO_Nowcast/nemo_nowcast/worker.py", line 381, in _do_work
    self._parsed_args, self.config, self.tell_manager)
  File "/results/nowcast-sys/SalishSeaNowcast/nowcast/workers/get_onc_ferry.py", line 120, in get_onc_ferry
    data_arrays, ferry_platform, ferry_config, location_config, ymd
  File "/results/nowcast-sys/SalishSeaNowcast/nowcast/workers/get_onc_ferry.py", line 481, in _create_dataset
    ferry_config['ONC station description'],
  File "/results/nowcast-sys/nowcast-env/lib/python3.6/site-packages/xarray/core/dataset.py", line 353, in __init__
    self._set_init_vars_and_dims(data_vars, coords, compat)
  File "/results/nowcast-sys/nowcast-env/lib/python3.6/site-packages/xarray/core/dataset.py", line 368, in _set_init_vars_and_dims
    data_vars, coords, compat=compat)
  File "/results/nowcast-sys/nowcast-env/lib/python3.6/site-packages/xarray/core/merge.py", line 365, in merge_data_and_coords
    return merge_core(objs, compat, join, explicit_coords=explicit_coords)
  File "/results/nowcast-sys/nowcast-env/lib/python3.6/site-packages/xarray/core/merge.py", line 421, in merge_core
    variables = merge_variables(expanded, priority_vars, compat=compat)
  File "/results/nowcast-sys/nowcast-env/lib/python3.6/site-packages/xarray/core/merge.py", line 163, in merge_variables
    merged[name] = unique_variable(name, dim_variables, dim_compat)
  File "/results/nowcast-sys/nowcast-env/lib/python3.6/site-packages/xarray/core/merge.py", line 85, in unique_variable
    % (name, out, var))
xarray.core.merge.MergeError: conflicting values for variable 'time' on objects to be combined:
first value: <xarray.IndexVariable 'time' (time: 1440)>
array(['2017-03-02T00:00:00.000000000', '2017-03-02T00:01:00.000000000',
       '2017-03-02T00:02:00.000000000', ..., '2017-03-02T23:57:00.000000000',
       '2017-03-02T23:58:00.000000000', '2017-03-02T23:59:00.000000000'], dtype='datetime64[ns]')
second value: <xarray.IndexVariable 'time' (time: 1413)>
array(['2017-03-02T00:27:00.000000000', '2017-03-02T00:28:00.000000000',
       '2017-03-02T00:29:00.000000000', ..., '2017-03-02T23:57:00.000000000',
       '2017-03-02T23:58:00.000000000', '2017-03-02T23:59:00.000000000'], dtype='datetime64[ns]')
@douglatornell
Copy link
Member Author

Original changes by Doug Latornell (Bitbucket: douglatornell, GitHub: douglatornell).


changed state from "new" to "open"

@douglatornell douglatornell added major Workers bug Something isn't working v3.3 labels Feb 2, 2020
@douglatornell douglatornell added this to the Future milestone Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major v3.3 Workers
Projects
None yet
Development

No branches or pull requests

1 participant