clarity-h2020 / emikat

http://www.emikat.at/?lang=en
1 stars 0 forks source link

Study in Poland doesn't show any results for local HC and RIA #29

Closed patrickkaleta closed 4 years ago

patrickkaleta commented 4 years ago

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?

DenoBeno commented 4 years ago

"Projects for adaptation" table is empty. In other studies, there is one line for it in the table:

image

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.

DenoBeno commented 4 years ago

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: image

DenoBeno commented 4 years ago

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).

  1. Small village near Gdansk
    • everything worked except for calculating the impact.
  2. Lodz area: city centre and a village next to it.
    • calculations apparently worked, but I wasn't able to see anything in CSIS.
  3. Tirana
    • everything worked except for the impact calculation.

So there are at least two things broken that can be easily repeated:

  1. adding new study doesn't generate all the necessary table entries (always?)
  2. impact calculation fails in many places. It did work in Barcelona...

image

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.

humerh commented 4 years ago

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.

DenoBeno commented 4 years ago

Yes, I can imagine this could cause problems...

patrickkaleta commented 4 years ago

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.

DenoBeno commented 4 years ago

Sure. One field more....

patrickkaleta commented 4 years ago

Update:

After looking deeper into those problems together with @humerh we found and solved/are working on solving the following problems: