ecbuild icon indicating copy to clipboard operation
ecbuild copied to clipboard

Make test data server configurable

Open ytremolet opened this issue 6 years ago • 5 comments

The server http://download.ecmwf.org is hardcoded in several places in ecbuild_get_test_data.cmake It would be better if the server name be made configurable so we can use a server closer to us, add test data, etc...

ytremolet avatar Oct 14 '19 11:10 ytremolet

This should now be addressed in the develop branch

tlmquintino avatar Oct 15 '19 12:10 tlmquintino

A fix has been implemented in 28157602027177070afd860b75a8e1babc7dfb2d

tlmquintino avatar Dec 28 '19 15:12 tlmquintino

Define ECBUILD_DOWNLOAD_BASE_URL as the base for URL construction.

tlmquintino avatar Dec 28 '19 15:12 tlmquintino

I have a question.. How do we manage a bundle where test-data may possibly be distributed over multiple test-data servers? We would have to modify the variable "ECBUILD_DOWNLOAD_BASE_URL" for each subproject.

wdeconinck avatar May 11 '20 21:05 wdeconinck

I think ECBUILD_DOWNLOAD_BASE_URL should be a default and each project should set its own variable _DOWNLOAD_BASE_URL

tlmquintino avatar May 12 '20 07:05 tlmquintino