-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Studies not getting the EMIKAT ID assigned #20
Comments
See also #19 |
The problem has to be on Emikat side, since POSTs and PUTs currently don't work even when using the Emikat Swagger interface (so without any CSIS involvement). I already informed Heinrich and he is working on it. BTW: I configured the CSIS helpers module to log some status messages when Studies are being sent to Emikat. You can find those message here: https://csis.myclimateservice.eu/admin/reports/dblog?type%5B%5D=EmikatHelperFunctions&hostname= There you can see that it last worked last week on 18.9.2019. Then, until today, there were no other attempts to send Study updates to Emikat. |
@humerh solved the problem. Our POST and PUT requests are being processed properly again by Emikat. |
Excellent. I hope it will stay this way.
…On Tue, 24 Sep 2019, 17:26 Patrick Kaleta, ***@***.***> wrote:
Closed #20 <#20>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#20?email_source=notifications&email_token=AAWTC7QF7IE5L2ZKHT4DNRLQLIWTZA5CNFSM4IZ5GFV2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTZ2URTI#event-2658486477>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWTC7RQL3C5FCPE2NY2RFTQLIWTZANCNFSM4IZ5GFVQ>
.
|
@humerh It still doesn't seem to work for this study. |
This study doesn't yet have a data package and study area. That's why Emikat is not informed about this study and therefore there is also no emikatID available. (The csis helpers module checks for those relevant fields and informs Emikat only if they are available/have changed.) A while ago I discussed with @humerh what would be considered relevant information for Emikat to be able to start the calculations. That is also mentioned in the readme.md of the Emikat repository. I will add this information about the relevant fields in the readme of the csis helpers module as well. |
Additionally, I can also create another Drupal log message indicating each time a request is not send to Emikat after a Study update. But that could spam our log messages, so I would only use this for a limited time. |
Ah, ok, my fault. Now there is a study id but still no data from EMIKAT, e.g. Population Exposure: https://service.emikat.at/EmiKatTst/api/scenarios/3209/feature/tab.CLY_EL_POPULATION_INTERPOLATED.2016/table/data?rownum=1000 How long does that take @humerh ? |
In my opinion, you should show messages on the top of the page: emikat
triggered, EMIKAT not triggered because...
At least for admins and developers...
…On Wed, 25 Sep 2019, 13:56 Pascal Dihé, ***@***.***> wrote:
Ah, ok, my fault. Now there is a study id but still no data from EMIKAT,
e.g. Population Exposure:
https://service.emikat.at/EmiKatTst/api/scenarios/3209/feature/tab.CLY_EL_POPULATION_INTERPOLATED.2016/table/data?rownum=1000
How long does that take @humerh <https://github.com/humerh> ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#20?email_source=notifications&email_token=AAWTC7QIXG3WO36CLBFVQ7LQLNGWNA5CNFSM4IZ5GFV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7RT6BY#issuecomment-534986503>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWTC7XZQF76UPV2Y2ATFBDQLNGWNANCNFSM4IZ5GFVQ>
.
|
Although the EMIKAT ID 3209 is now assigned to study 33 and EMIKAT ID 3189 to study 35, EMIKAT calculation was not triggered. But the logs show: |
Probably a good idea for developers and admins. I'll have a look at how to implement something like that. |
Emikat is indeed triggered and a batch job is created and queued (Denis and I checked this via an Emikat Client), but it seems that a previous batch job got stucked. Heinrich is not in the office today, but we already called to inform him of this issue. He'll get it fixed soon hopefully. |
I think that this is fixed now. In emikat client, all teh batch jobs have been finished... Trying to trigger the https://csis.myclimateservice.eu/study/33/ again.... Yes, it's working. I'm curious to see how long it takes to run it all now... |
Ropening this. While EMIKAT does finish the calculation batch job, some data is not available for the study #33. E.g., all of these are empty: Unsurprisingly, nothing is shown on csis either. Same for study 35. :-( |
Oh, come on. I tried to get a calculation working for linz and nothing happened. Logs say: Nothing in EMIKAT batch-jobs. The EMIKAT did start calculation when I changed the area again. For linz, I do get the population, but no local effect data. :-( For the reference: "result = 0" in emikat client means that no data was generated. Batch took 5-6 minutes again. |
I tried for Napoli in the hope that there we would have all the data.. Result: a new type of error. Napoli, second try, with different area.. First the server reconnected.... Then the UA fraction and population and all other layers built as they should: Which doesn't mean that they are also shown on CSIS. Hm.... OK, this time EMIKAT is producing the data as required, so we also have an issue with the CSIS app... |
The table and thus EMIKAT API do not receive the variables values we have agreed upon, see clarity-h2020/csis-helpers-module#14 (comment). So probably that's an issue of the taxonomy / paragraph / whatever? We need value not meaning. I tried to fix it in csis-helpers-module, but it didn't work. |
Ah, I wasn't aware of that one. OK, this shouldn't be that difficult to fix. If nothing else works, we'll replace the paragraph with node... |
The problem with the
@DenoBeno no, this should not be necessary. Extracting fields out of the paragraphs turned out to be quite straightforward, so IMO the current structure is fine and doesn't need to be changed again. |
I have now also improved the status notifications as proposed by Denis. In addition to the log messages in the BE, Admins and developers now see directly in the FE, if Emikat has been triggered or not, after updating a Study (as well as whether or not a Recalculation will be evoked). Only exception: changing the Study area doesn't show those notifications, since the Study is updated inside the map-component via REST and no page-reload is triggered. In those cases there will be only the log messages in the BE available. |
yes, it is. |
As explained in clarity-h2020/csis-helpers-module#14 (comment), this is not really a bug, rather a design feature that we'll need in the future. For now, you can ignore it, I have configured the "DP variable meanings" entries in such a way that they deliver the same information as "DP variables". That's OK as long as we only use the variables with EMIKAT. The moment we start implementing the variables support for other resources, there will be more than one "DP variables" entry possible for each "DP variable meanings" entry. E.g., the "historical" time period will map to "Baseline" for EMIKAT and to "historical" for the heat hazards, see clarity-h2020/data-package#47 (comment) . |
Guess we can close this issue? |
Yes, we can close this. Emikat IDs are assigned to studies once they have all the relevant fields filled out. |
probably related to: #6, #5
We have just noticed that new studies aren't getting the EMIKAT ID assigned anymore. This has probably been the case for a while already. Please check & fix.
The text was updated successfully, but these errors were encountered: