Load Exampledata: Zip is downloaded but not fully unziped to enmapbox/exampledata
affected: current develop version (Version 3.9.20211018T093436.develop)
Comments (11)
-
-
-
assigned issue to
- changed version to 3.9
-
assigned issue to
-
If not fully unzipped, which parts are unzipped instead and to whloch local folder?
-
reporter - Zip file lies in enmapboxplugin/enmapbox
-
enmapboxplugin/enmapbox/exampledata contains
init.py
pycache
enmap_berlin.hdr
enmap_berlin.qml
hires_berlin.hdr
library_berlin.hdr
library_berlin.json
library_berlin.qml
library_berlin.sli
-
This is caused by @Andreas Janz 's changes of internal zip structure, which now does not include the
/enmapboxtestdata/
folder anymore.
-
- changed status to resolved
resolves
#809Signed-off-by: Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de benjamin.jakimow@geo.hu-berlin.de
→ <<cset f9afa669a926>>
-
@Andreas Janz there are several files which still use
"import enmapboxtestdata"
insteadimport enmapbox.exampledata
-
I think we decided that together, to change the folder name, but anyway. Example data is now located under \enmap-box\enmapbox\exampledata
In the ZIP file you now also have the exampledata subfolder:
I would suggest to also change that in the downloader code.
-
@Andreas Rabe
there are several files which still use
"import enmapboxtestdata"
insteadimport enmapbox.exampledata
Are you sure? Which tests do you mean? Haven’t we renamed the unittest files to be imported via this package? Not quit sure if I miss something here. How would you import unit test data? I’m using the enmapboxtestdata module for that:
QGISPlugIns/enmap-box/tests/src/enmapboxtestdata.py
I guess that is what you are refering to, right?
-
Seems there are still several other files that want to import enmapboxtestdata:
-
Gotcha! Those are all deprecated hubdc/hubflow unittests or example snippets. Those will be gone in v3.10/11.
- Log in to comment
I can confirm that on Win10.