nismod / ukpopulation

Population and demographics projection module, developed for ITRC/MISTRAL
MIT License
13 stars 7 forks source link

Problem with Welsh SNHP data on first download #31

Closed virgesmith closed 5 years ago

virgesmith commented 5 years ago

When first downloaded the snhp_w dataset causes SIMIM to fail, as reported by @tg137 On subsequent runs there is no problem

virgesmith commented 5 years ago

One the data is downloaded it's saved in cache dir as csv without index. Since it works fine if the cached data is available, the problem's almost certainly that the freshly downloaded dataset has duplicates in the index. Fix is to reload cached data even on first download.