pantheracorp / PantheraIDS_Issues

A repository for any issues and bugs related to PantheraIDS
0 stars 0 forks source link

MAIN-600 ⁃ When exporting many species in Independent Captures Export, file name is too long #746

Closed sync-by-unito[bot] closed 1 year ago

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

When exporting data in the Independent Captures Exporter module, one of the the csv’s it creates includes all species names that are included in the export (i.e. if you choose "All" species, it will be: “SurveyID_All_independent_export”; if you choose "Lion" and "Leopard_African" and "Cheetah", it will be: “SurveyID_Lion_Leopard_African_Cheetah_independent_export”, etc. etc. So that if you choose 20 different species, that file name will be too long for the computer to create.

I can see that clearly in log files from users who have tried, here is a good example of a file IDS was trying to create:

{quote}'S3157_20200923_20210112_2022.04.27_11.51_Agouti__Agouti_Central_American__Armadillo_Nine_Banded__Bird_Unspecified__Chachalaca_Gray_Headed__Coati_White_nosed__Curassow_Great__Domestic_Dog__Grison_Greater__Guan_Crested__Opossum_Common__Opossum_Gray_Four_Eyed__Opossum_Unspecified__Rabbit_Hare_Unspecified__Raccoon_Common__Raccoon_Unspecified__Skunk_American_Hog_Nosed__Skunk_Spotted__Skunk_Striped_Hog_Nosed__Squirrel_Deppes__Squirrel_Grey__Squirrel_Unspecified__Tamandua_Northern__Tinamou_Great__Tinamou_Unspecified__Tinamou_Little__Turkey_Ocellated__Weasel_Long_Tailed_independent_records_export.csv'{quote}

┆Issue is synchronized with this Jira Task by Unito ┆Link To Issue: https://pantheradatascience.atlassian.net/browse/MAIN-600

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

➤ Shannon Dubay commented:

Isaiah Lekay this is the one we spoke about last week, just created a task for it now. Placing it on Low priority since we can tell the users to use the work around of simply selecting “All” species and removing the ones they are not interested in from the export.