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

Possible issue accessing AUX_MET data that is not optimized #79

Open
santilland opened this issue Dec 15, 2021 · 0 comments
Open

Possible issue accessing AUX_MET data that is not optimized #79

santilland opened this issue Dec 15, 2021 · 0 comments

Comments

@santilland
Copy link
Member

It is possible there is an issue when accessing AUX_MET products that are not optimized, needs to be further investigated, following error appeared:

Traceback (most recent call last):
  File "/usr/local/eoxserver/eoxserver/services/views.py", line 75, in ows
    result = handler.handle(request)
  File "/usr/local/eoxserver/eoxserver/services/ows/wps/v10/execute.py", line 182, in handle
    outputs = process.execute(**inputs)
  File "/usr/local/aeolus/aeolus/processes/util/base.py", line 329, in execute
    out_data = self.accumulate_for_messagepack(out_data_iterator)
  File "/usr/local/aeolus/aeolus/processes/aux_met.py", line 140, in accumulate_for_messagepack
    for type_name, data in data_iterator:
  File "/usr/local/aeolus/aeolus/aux_met.py", line 256, in extract_data
    mask_data = scale_data(mask_data, scalefactor)
  File "/usr/local/aeolus/aeolus/aux_met.py", line 358, in scale_data
    return interp1d(old_x, data, kind='nearest', axis=0)(new_x)
  File "/var/www/vires/venv_p36_eoxs/lib64/python3.6/site-packages/scipy/interpolate/interpolate.py", line 451, in __init__
    y = y.astype(np.float_)
ValueError: setting an array element with a sequence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant