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

Values persisted in "Open Local Dataset" window #308

Closed
HelenClifton opened this issue Aug 1, 2017 · 1 comment
Closed

Values persisted in "Open Local Dataset" window #308

HelenClifton opened this issue Aug 1, 2017 · 1 comment

Comments

@HelenClifton
Copy link

Expected behavior

Each time “Open Local Dataset” window is opened, the values contained in it should be cleared / reset.
(An exception might be the temporal and regional constraints)
See also #307

Actual behavior

The following values in the “Open Local Dataset” window are persisted the next time the window is opened:
• Time Constraints (if set)
• Region Constraints (if set)
• Variable Constraints (if set)

This can have some unwanted effects :
• Time Constraints which were correct for the old dataset, are now are shown as “out of range” if the new dataset has different temporal coverage.
• Variables are still selected from the old dataset even if they don’t exist in the new one

Steps to reproduce the problem

Note: It is necessary to first create two new local datasets – that is purpose of steps 1 to 7

  1. Open GUI

  2. From ESA CCI Open Data Portal list, select esacci.OZONE.mon.L3.NP.multi-sensor.multi-platform.MERGED.fv0002.r1 then click on “Download and/or open remote dataset”

  3. In the “Download Data Source”, enter:
    • Deselect time, region, variable constraints.
    • Change Unique ID to: local.ozone
    • Data source title: leave blank
    • Leave “Open after Download” unselected
    • Click “Download”

hc049 1

  1. Wait for download to be completed.

  2. From ESA CCI Open Data Portal list, select esacci.CLOUD.mon.L3C.CLD_PRODUCTS.MODIS.Aqua.MODIS_AQUA.2-0.r1 then click on “Download and/or open remote dataset”

  3. In the “Download Data Source” window:
    • Time constraint: 2003-01-01 to 2003-03-31
    • Region constraint: lat: -100 to 0, lon. -70 to 0
    • Deselect variable constraints.
    • Change Unique ID to: local.cloud
    • Data source title: leave blank
    • Leave “Open after Download” unselected
    • Click “Download”

hc049 2

  1. Wait for download to be completed.

  2. From local data store list, select local.ozone then “Open local dataset”

  3. In the “Open local dataset” window, enter:
    • Time constraint: 2008-01-01 to 2008-03-01
    • Region: Lon. from -90 to 90, lat. from -60 to 60
    • Select variables: O3_du, O3_du_tot
    • Click “Open Local”

hc049 3

  1. Now select local.cloud then “Open local dataset”

  2. In the “Open local dataset”, observe:
    • Time constraint: Out of range
    • Region: Lon. from -90 to 90, lat. from -60 to 60 (as before, although max lat/lon is out of range for Cloud dataset)
    • Variables: O3_du, O3_du_tot (as before, but these variables don’t exist in Cloud dataset)

hc049 4

Specifications

Cate 0.9.0-dev.4
Windows 7 Professional

@HelenClifton
Copy link
Author

Confirmed fixed in cate.0.9.0.dev.6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants