pantheracorp / PantheraIDS_Features

A repository for any feature requests related to PantheraIDS
0 stars 0 forks source link

DV-483 ⁃ Within the IDS-generated Input Files, we need to ensure the Station/LOC/trapid and Individual remain consistent between IDS dtbs and generated files #443

Closed sync-by-unito[bot] closed 4 months ago

sync-by-unito[bot] commented 1 year ago

We need to assess all the files created within the “Generate Input Files” SCR module. This is because within these files we have columns that contain information from our databases, but don’t remain consistent between the two. For example, the Station numbers within the SCR Input Files are different to the actual stations numbers used within the database. This makes it very difficult to check/assess these files with accuracy.

Step 1- Investigate the files to get familiar with the format of each, determine which columns need to be changed

Step 2- Implement the changes outlined in Step 1, with the approval of Paolo Strampelli (Lion Scientist who works extensively with the files and the analysis).

┆Issue is synchronized with this Jira Task by Unito

sync-by-unito[bot] commented 5 months ago

➤ Irshaad Parker commented:

Function that saves our SECR inputs: ct_sv_ml_scr_inpt

sync-by-unito[bot] commented 5 months ago

➤ Irshaad Parker commented:

Another starting point: trap_bysn

sync-by-unito[bot] commented 4 months ago

➤ Irshaad Parker commented:

Update: Changes have been implemented to the IDS code that does the following:

LOC_ID from the TD.csv file and Station from the traps.txt file generated in the SCR generate input files module, are now consistent. I.e. LOC_ID 1 refers to Station1, LOC_ID 2 refers to Station2, etc.

UTM coordinates also correspond with the correct LOC_ID/StationID.

Generated Input files formats have not been modified - therefore, files can still be used as they were used previously.

I’m gonna mark this task as done, pending review from Thabied Majal

sync-by-unito[bot] commented 4 months ago

➤ Irshaad Parker commented:

Feature can be checked out on branch: feature/ip_feature_443-DV-483 Test process: Login to IDS

Navigate to Data Analysis > Camera Trapping > SCR > Generate Inputs

Load R.dtbs

Load .shp file

Generate inputs

Download zip

Inspect TD.csv and traps.txt files.

LOC_ID = StationID

sync-by-unito[bot] commented 4 months ago

➤ Irshaad Parker commented:

Ticket done, branch merged into master and development.