Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Trying to visualize SLA: Too many indices for array: array is 0-dimensional, but 1 were indexed #970

Open
strawpants opened this issue Nov 23, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@strawpants
Copy link

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

  1. Start the cate web-gui
  2. 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

@forman forman added the bug label Apr 29, 2021
@forman forman added this to the 3.0 milestone Apr 29, 2021
@forman forman self-assigned this May 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants