CCI-Tools / cate

ESA CCI Toolbox (Cate)
MIT License
50 stars 15 forks source link

Disappearing Chlorophyll - Cannot Time Travel #648

Open esacci opened 6 years ago

esacci commented 6 years ago

Cate Desktop 2.0.0-dev.11

  1. Create a local data source (all variables, monthly-gridded v2, Chlorophyll) of 1 period only
screen shot 2018-05-11 at 12 36 21 screen shot 2018-05-11 at 12 38 32
  1. The ds_1.chlor_a image is displayed fine ; use display range 0,0.3

  2. read_netcdf (drag from folder) a similar file (all variables, monthly-gridded v2, Chlorophyll) but covering the whole year (i.e. 12 time slices). Let's call this ds_2. Make sure it is viewable ; should not be a problem as with step 2.

  3. Go to time-slice number 3 of ds_2, i.e. a time-slice which is not the first one.

  4. Now delete resource ds_2.

  5. ds_1.chlor is now unviewable. Note the globe panel displays "ds_1.chlor_a at time = -". It appears to be stuck on a time-slice which doesn't exist for ds_1 (as ds_1 only has one time slice). Moreover, there is no way to change the time-slice for ds_1 to the first one (because the time-slider functionality is not available, having deleted ds_2).

ds_1 -

screen shot 2018-05-11 at 12 52 40

ds_2 -

screen shot 2018-05-11 at 12 54 40 screen shot 2018-05-11 at 12 54 51 screen shot 2018-05-11 at 12 55 01
forman commented 6 years ago

I guess the problem is that the time slider (and sliders for other extra, non-spatial dimensions) are generated from the selected variable (from VARIABLES panel) rather than the variable, if any, shown in the selected layer (from LAYERS panel).