fix exampledata download

Issue #771 resolved
Andreas Janz created an issue

Example data is still downloaded from the old repo, which will be deleted in the future:

Example data is now located in the EnMAP-Box repo: enmap-box/enmapbox/exampledata

Let’s keep it as is for v3.9 and fix it for v3.10

Comments (7)

  1. Andreas Janz reporter

    I would suggest that a future exampledata-installer checks for a zip file with matching version number first (e.g. EnMAP v3.15 would look for exampledata.3.15.zip). If that zip is missing, it also tries to find zip files for earlier versions of the EnMAP-Box. So, if nothing has changed till version 3.9, the old exampledata.3.9.zip would still be valid.

    Does that makes sense?

  2. Benjamin Jakimow

    Why not, but I don’t really see a need to keep the example data versioned. Why should older version not benefit from newer testdata as well?

  3. Andreas Janz reporter

    I think this is not working, because changes in the __init__ would break older versions of the EnMAP-Box:

    Let's have a fixed version variable for the example data (i.e. __version_exampledata__ = '3.9'). Now, each EnMAP-Box version can decide to use an old exampledata version or introduce a new version.

  4. Log in to comment