IDEMSInternational / epicsawrap

GNU Lesser General Public License v3.0
0 stars 0 forks source link

Use `definition_id` instead of `station_id` #121

Closed lilyclements closed 5 months ago

lilyclements commented 5 months ago

We want to use a definition_id instead of a station_id. This requires a few changes:

lilyclements commented 5 months ago

@jkmusyoka I am working on this here so that we call definition_id instead of station_id. This will mean some changes required on the R-Instat dialog (which I will outline to Vitalis once I have sorted the R-code).

This will mean that the user will have to define a definition_id as well as station_id:

This means that all data sets we use for testing and otherwise need to be defined in the metadata.rds file (for now, I have coded in that if they are not in the metadata, to set definition_id as station_id, so you shouldn't get any bugs from these changes).

Can you outline which data sets we are using for testing so I can add them into the metadata? For now, we can set their definition_id to be their station_id I think, until we update the R-Instat function.

jkmusyoka commented 5 months ago

@lilyclements

At the moment, zambia_eastern_4 is the test data from Zambia. It has 5 stations. And now there is a malawi_test folder which has a test dataset for 2 stations.

There is one more test data from Kenya which I will add this week. I will let you know when it is ready

jkmusyoka commented 5 months ago

@lilyclements while you are on this issue, could you also add more "countries" into the epicsa r system namely "ml_test" for malawi test data and "ke_test "for Kenya test data.

Thanks

lilyclements commented 5 months ago

@jkmusyoka thanks for this. I have done this now in PR 47