Trying to visualize SLA: Too many indices for array: array is 0-dimensional, but 1 were indexed
Opened this issue · 0 comments
Dear dev-team,
I am running a cate-webapi on a localhost and are trying out the webui to develop some cci-mooc exercises. When trying to visualize sea level anomalies I run into problems.
Expected behavior
In the cate web-gui: when I download/cache esacci.SEALEVEL.mon.L4.MSLA.multi-sensor.multi-platform.MERGED.2-0.r1. I expect to be able to find these in the variables section, so I can visualize these.
Actual behavior
The data is downloaded to the local datastore but an error is thrown:
" too many indices for array: array is 0-dimensional, but 1 were indexed". And the variables are not present.
Some hints/suspicion from my side:
In the json file linked to the local variable on the machine which runs the webapi. I can see entries like:
[ "local.SLAV2/ESACCI-SEALEVEL-L4-MSLA-MERGED-20151215000000-fv02.nc", "2015-11-30T00:00:00", "2015-11-30T00:00:00" ]
Are these supposed to be time ranges and are the same beginning and end time allowed? If not, this may be the cause of having a 0-length array (as the time interval has 0 length too).
Steps to reproduce the problem
- Start the cate web-gui
- Download/Cache esacci.SEALEVEL.mon.L4.MSLA.multi-sensor.multi-platform.MERGED.2-0.r1 for use as a variable
Specifications
cate 2.1.4 running as a localhost webapi called from https://cate.climate.esa.int/sa?serviceUrl=http://localhost:4000
All the best,
Roelof