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

Opening local dataset: User can select variables which aren't in dataset #315

Closed
HelenClifton opened this issue Aug 4, 2017 · 3 comments
Assignees
Milestone

Comments

@HelenClifton
Copy link

HelenClifton commented Aug 4, 2017

Expected behavior

A local dataset is created by downloading a remote data source with variable constraints applied.
The local dataset is then opened. It should only be possible for the user to select variables which exist in the local dataset.

May have a link to #314

Actual behavior

In the "Open local dataset" window, the full list of variables from the remote data source is displayed, including those which aren't in the local dataset. The user can open a resource by selecting any of these.

Steps to reproduce the problem

1.In the remote data sources list, select esacci.CLOUD.mon.L3C.CLD_PRODUCTS.multi-sensor.multi-platform.ATSR2-AATSR.2-0.r1 and click “download and/or open remote dataset” button
In “Download Data Source” window:
• Select Time Constraint: 2007-01-01 to 2007-04-01
• Select Region Constraint: Longititude from -100 to 100, Latitude from -60 to 60
• Select Variables from the list: cee, cee_corr_unc, cee_prop_unc, cee_std, cee_unc
• Check “Download and make local data source“
• Leave the unique identifier as the default value
• Ensure “Open dataset from local data source“ is not selected
• Click “Download & Open Local“

hc 053 1

  1. Wait for download to complete then in the local data sources list, select
    local.CLOUD.mon.L3C.CLD_PRODUCTS.multi-sensor.multi-platform.ATSR2-AATSR.2-0.r1
    Click “Open local dataset” button
    In “Open Local Dataset” window:
    • Select Variables constraint and open the list

hc 053 2
• See that the full list of variables is displayed even though the dataset has been created in previous step from sub-set of five variables (cee, cee_corr_unc, cee_prop_unc, cee_std, cee_unc)

hc 053 3

  1. Select some variables which are not in the dataset, click OK then "Open Local"

hc 053 4

  1. Look at Workspace panel. New resource has been created of type Dataset. Details pane indicates that the dataset contains the variables which were selected in the last step

hc 053 5

Specifications

Cate 0.9.0-dev.4
Windows 7 Professional

@mzuehlke
Copy link
Collaborator

The make_local function of the OPD data source does not update the metadata according to the selected constraints:

  • date_time
  • geospatial boundaries
  • variables

kbernat pushed a commit that referenced this issue Sep 6, 2017
kbernat pushed a commit that referenced this issue Sep 6, 2017
kbernat pushed a commit that referenced this issue Sep 6, 2017
kbernat pushed a commit that referenced this issue Sep 6, 2017
kbernat pushed a commit that referenced this issue Sep 6, 2017
kbernat pushed a commit that referenced this issue Sep 6, 2017
kbernat pushed a commit that referenced this issue Sep 7, 2017
@forman
Copy link
Member

forman commented Sep 15, 2017

Removed cu_mandatory because it is implied by cu_review

@forman forman added this to the 1.0 milestone Sep 21, 2017
@HelenClifton
Copy link
Author

Confirmed fixed in cate-0.9.0-dev7

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

4 participants