Closed patrickkaleta closed 4 years ago
"Projects for adaptation" table is empty. In other studies, there is one line for it in the table:
Could it be that this entry isn't getting made in new studies anymore? I usually experiment with old studies but this one is new.
If I do the calculation in Poland by re-using some old study, most of the views are built correctly but the mortality isn't:
More test results:
I tried to perform a study on several places yesterday. Two in Poland and Tirana/Albania. Always starting from existing study because starting a new study apparently doesn't work properly (see earlier message).
So there are at least two things broken that can be easily repeated:
The third one is more difficult. Why would the system calculate everything correctly but fail to show it? in Lodz region? I tried it 3 times there before moving to Tirana - 3x failed and Tirana worked immediately.
One part of the problem: In the study definition the city is called LODZ. In the city table for mortality rates the city PL002C1 is called "Łódź" Similar, but not the same writing. For comparing we should switch to city codes.
Yes, I can imagine this could cause problems...
One part of the problem: In the study definition the city is called LODZ. In the city table for mortality rates the city PL002C1 is called "Łódź" Similar, but not the same writing. For comparing we should switch to city codes.
We are currently not storing city codes in Drupal, but I don't think it should be much of a problem to add them to our City/Region taxonomy. Once we have those city codes, I could update the CSIS helpers module to send the city code as well everytime we trigger Emikat.
Sure. One field more....
After looking deeper into those problems together with @humerh we found and solved/are working on solving the following problems:
forceRecalculate
attribute, which CSIS only sends when updates in existing Studies occur. Heinrich fixed this on Emikat-side and once a new version of Emikat will be deployed that error should disappear
See my updates in this comment.
Study 25 (emikat ID: 3183) was just calculated and finished roughly after 15 minutes (with no apparent erros), however the layers for HC local effects and for Risk and Impact assessment don't show anything. (here one example of a result layer for RIA).
BatchJobs look all ok, so I don't know where exactly to look for the error. @humerh can you please investigate this further? Maybe just some kind of caching problem and the result layers are actually already there and showing something?