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

Drag and drop files on Cate's main window #597

Closed
Evadzi opened this issue Mar 27, 2018 · 3 comments
Closed

Drag and drop files on Cate's main window #597

Evadzi opened this issue Mar 27, 2018 · 3 comments

Comments

@Evadzi
Copy link

Evadzi commented Mar 27, 2018

My cate software interface changed when I dragged CCI data from 'http://cci.esa.int/data#ftp' to the area under 'Local Data Source' above the 'details' button.

This dragging was made in attempt to escape the seemingly 'forever' waiting time to download data via the ESA CCI Open Data Portal.

@forman forman self-assigned this Mar 27, 2018
@forman forman added the gui label Mar 27, 2018
@forman
Copy link
Member

forman commented Mar 27, 2018

Surprisingly the Cate Desktop's main window accepts drag&drop from external link and displays the according web-page (this is because Cate Desktop is actually a Chromium-based browser window).

We may disable drag&drop until we really support it.

@forman forman changed the title Can dragging of CCI data work? Drag and drop files on Cate's main window Apr 17, 2018
@forman
Copy link
Member

forman commented Apr 17, 2018

Not only we can easily disable drag&drop we can also handle dropped files and invoke read_xxx(file=file) where xxxis based on the file extension.

@forman
Copy link
Member

forman commented Apr 17, 2018

We can now drop the following file types: nc, txt, csv, json, geojson, shp, gml.

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

2 participants