jennamk14 commited on
Commit
2a177e4
·
verified ·
1 Parent(s): a82a5b2

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +4 -0
  2. README.md +251 -0
  3. SUPPLEMENTAL.md +885 -0
  4. smartwilds-bioacoustics/CHECKSUMS.sha256 +11 -0
  5. smartwilds-bioacoustics/README.md +238 -0
  6. smartwilds-bioacoustics/data/events.csv +0 -0
  7. smartwilds-bioacoustics/data/occurrences.csv +0 -0
  8. smartwilds-bioacoustics/data/recordings.csv +0 -0
  9. smartwilds-bioacoustics/media_manifest.csv +0 -0
  10. smartwilds-bioacoustics/metadata/DATA_DICTIONARY.md +147 -0
  11. smartwilds-bioacoustics/metadata/birdnet_settings.csv +2 -0
  12. smartwilds-bioacoustics/metadata/deployments.csv +11 -0
  13. smartwilds-bioacoustics/metadata/provenance/RAW_WAV_RECONCILIATION_20261008.md +40 -0
  14. smartwilds-bioacoustics/metadata/provenance/bioacoustic_event_repair_20261008.json +18 -0
  15. smartwilds-bioacoustics/scripts/build_hf_release.py +716 -0
  16. smartwilds-bioacoustics/scripts/reconcile_bioacoustic_raw_wavs.py +214 -0
  17. smartwilds-camera-traps/CHECKSUMS.sha256 +19 -0
  18. smartwilds-camera-traps/README.md +227 -0
  19. smartwilds-camera-traps/analysis/camera_arrival_statistics.json +69 -0
  20. smartwilds-camera-traps/data/events.csv +0 -0
  21. smartwilds-camera-traps/metadata/DATA_DICTIONARY.md +51 -0
  22. smartwilds-camera-traps/metadata/camera_geolocation_config.csv +14 -0
  23. smartwilds-camera-traps/metadata/camera_models.csv +5 -0
  24. smartwilds-camera-traps/metadata/deployments.csv +15 -0
  25. smartwilds-camera-traps/metadata/provenance/ANNOTATION_PROVENANCE.md +36 -0
  26. smartwilds-camera-traps/metadata/provenance/tw07_ct05_sensitive_media_disposition_20261008.json +9 -0
  27. smartwilds-camera-traps/metadata/taxonomy_mapping.csv +14 -0
  28. smartwilds-camera-traps/metadata/timestamp_summary_by_camera.csv +13 -0
  29. smartwilds-camera-traps/metadata/timestamp_summary_by_date.csv +117 -0
  30. smartwilds-camera-traps/scripts/generate_darwin_core.py +1207 -0
  31. smartwilds-citizen-science/CHECKSUMS.sha256 +6 -0
  32. smartwilds-citizen-science/README.md +161 -0
  33. smartwilds-citizen-science/data/events.csv +15 -0
  34. smartwilds-citizen-science/data/occurrences.csv +0 -0
  35. smartwilds-citizen-science/media_manifest.csv +0 -0
  36. smartwilds-citizen-science/metadata/DATA_DICTIONARY.md +86 -0
  37. smartwilds-citizen-science/metadata/provenance/citizen_science_media_reconciliation_20261008.json +26 -0
  38. smartwilds-citizen-science/scripts/build_hf_release.py +716 -0
  39. smartwilds-drones/CHECKSUMS.sha256 +17 -0
  40. smartwilds-drones/README.md +305 -0
  41. smartwilds-drones/analysis/bird_water_association_per_box.csv +0 -0
  42. smartwilds-drones/data/events.csv +56 -0
  43. smartwilds-drones/media_manifest.csv +78 -0
  44. smartwilds-drones/metadata/DATA_DICTIONARY.md +181 -0
  45. smartwilds-drones/metadata/drone_projection_config.csv +5 -0
  46. smartwilds-drones/metadata/flights.csv +16 -0
  47. smartwilds-drones/metadata/platforms.csv +4 -0
  48. smartwilds-drones/metadata/provenance/drone_missing_media_repair_20261010.json +21 -0
  49. smartwilds-drones/metadata/provenance/drone_time_recovery_20250811.json +116 -0
  50. smartwilds-drones/metadata/provenance/excluded_drone_media_event_repair_20261008.json +9 -0
.gitattributes CHANGED
@@ -59,3 +59,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  smartwilds-camera-traps/analysis/camera_operational_occurrence_arrivals.csv filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  smartwilds-camera-traps/analysis/camera_operational_occurrence_arrivals.csv filter=lfs diff=lfs merge=lfs -text
62
+ smartwilds/analysis/arrival_traces_v2/camera_machine_occurrence_arrivals.csv filter=lfs diff=lfs merge=lfs -text
63
+ smartwilds/analysis/arrival_traces_v2/camera_image_capture_arrivals.csv filter=lfs diff=lfs merge=lfs -text
64
+ smartwilds/analysis/arrival_traces_v2/camera_operational_occurrence_arrivals.csv filter=lfs diff=lfs merge=lfs -text
65
+ smartwilds/analysis/arrival_traces_v2/drone_machine_detection_crop_arrivals.csv filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ language:
4
+ - en
5
+ pretty_name: SmartWilds Metadata (The Wilds 2025)
6
+ task_categories:
7
+ - object-detection
8
+ - image-classification
9
+ - audio-classification
10
+ tags:
11
+ - biology
12
+ - ecology
13
+ - biodiversity
14
+ - multimodal
15
+ - sensor-networks
16
+ - camera-trap
17
+ - bioacoustics
18
+ - drone
19
+ - citizen-science
20
+ - darwin-core
21
+ - humboldt-eco
22
+ - fair2
23
+ - smartwilds
24
+ - the-wilds
25
+ - ohio
26
+ size_categories:
27
+ - 100K<n<1M
28
+ description: >-
29
+ The metadata of the SmartWilds multi-modal field sensing dataset (The Wilds,
30
+ Ohio, USA, summer 2025): Darwin Core Event and Occurrence tables for camera
31
+ traps, bioacoustics, drones, and citizen science on one Event hierarchy, with
32
+ corrected timestamps and coordinates, dataset cards, data dictionaries,
33
+ provenance records, media manifests, arrival traces, the supplemental
34
+ material, and the defect inventory. Raw images, audio, and video are not
35
+ included.
36
+
37
+ fair2_compliance:
38
+ findable:
39
+ doi: "" # pending
40
+ metadata_registry: ["DataCite"]
41
+ accessible:
42
+ open_access: true
43
+ authentication_required: false
44
+ interoperable:
45
+ standards: ["Darwin Core", "TDWG", "Humboldt Eco", "FAIR2"]
46
+ reusable:
47
+ license_clear: true
48
+ provenance_documented: true
49
+ ai_ready:
50
+ machine_readable: true
51
+ structured_annotations: true
52
+
53
+ darwin_core:
54
+ event_coverage:
55
+ start_date: "2025-06-30"
56
+ end_date: "2025-09-08"
57
+ decimal_latitude: 39.83
58
+ decimal_longitude: -81.74
59
+ coordinate_uncertainty_meters: 5000
60
+ locality: "The Wilds, Cumberland, Ohio, USA"
61
+ habitat: "Reclaimed grassland and lakes of a conservation center on a former surface mine"
62
+ occurrence_info:
63
+ kingdom: "Animalia"
64
+ sampling_protocol: "Camera traps, Song Meter acoustic recorders, drone video surveys, and structured visitor photography, integrated into Darwin Core Event and Occurrence records"
65
+
66
+ configs:
67
+ - config_name: camera_trap_occurrences
68
+ data_files: smartwilds-camera-traps/data/occurrences.csv
69
+ - config_name: camera_trap_events
70
+ data_files: smartwilds-camera-traps/data/events.csv
71
+ - config_name: camera_trap_images
72
+ data_files: smartwilds-camera-traps/data/images.csv
73
+ - config_name: bioacoustic_occurrences
74
+ data_files: smartwilds-bioacoustics/data/occurrences.csv
75
+ - config_name: bioacoustic_events
76
+ data_files: smartwilds-bioacoustics/data/events.csv
77
+ - config_name: bioacoustic_recordings
78
+ data_files: smartwilds-bioacoustics/data/recordings.csv
79
+ - config_name: drone_occurrences
80
+ data_files: smartwilds-drones/data/occurrences.csv
81
+ - config_name: drone_events
82
+ data_files: smartwilds-drones/data/events.csv
83
+ - config_name: drone_detections
84
+ data_files: smartwilds-drones/data/detections.csv
85
+ - config_name: citizen_science_occurrences
86
+ data_files: smartwilds-citizen-science/data/occurrences.csv
87
+ - config_name: citizen_science_events
88
+ data_files: smartwilds-citizen-science/data/events.csv
89
+ - config_name: all_events
90
+ data_files: smartwilds/data/events_all_modalities.csv
91
+ - config_name: all_occurrences
92
+ data_files: smartwilds/data/occurrences_all_modalities.csv
93
+ ---
94
+
95
+ # Dataset Card for SmartWilds Metadata
96
+
97
+ ![Sensor deployment across The Wilds](smartwilds/images/smartwilds/deployment_map.png)
98
+ *Sensor deployment across The Wilds: camera traps with viewing angles, Song Meter recorders, citizen-science photo locations, and drone flight tracks. Satellite imagery © Google.*
99
+
100
+ **SmartWilds** is a multi-modal sensing dataset recorded with camera traps,
101
+ acoustic recorders, drones, and visitor photographs at [The Wilds](https://thewilds.columbuszoo.org/)
102
+ (Cumberland, Ohio) in summer 2025. This dataset is its metadata: Darwin Core
103
+ tables for all four modalities on one Event hierarchy, with corrected
104
+ timestamps and coordinates so they can be joined in space and time, the
105
+ dataset cards, data dictionaries, provenance records, and media manifests of
106
+ each modality, the arrival traces used in the systems analysis, the
107
+ supplemental material of the paper, and the record of every defect found and
108
+ repaired. Raw images, audio, and video are not included; they will be released
109
+ separately.
110
+
111
+ ## Dataset Details
112
+
113
+ - **Curated by:** Jenna M. Kline, Anirudh Potlapally, Elizabeth G. Campolongo
114
+ - **Homepage and code:** <https://github.com/Imageomics/smartwilds> (documentation: <https://imageomics.github.io/smartwilds/>)
115
+ - **Paper:** SmartWilds: Integrating, Aligning, and Documenting Multi-Modal Field Sensing Data (under review)
116
+ - **Release build:** 2026-10-22; camera and merged tables updated 2026-11-08
117
+ - **Collection:** [SmartWilds](https://huggingface.co/collections/ABC-Center/smartwilds-6af3c0aac0a67864cbf6edb4), which also holds the 2025 pilot media and the pilot paper
118
+
119
+ | Component | Events | Occurrences | Notes |
120
+ |---|---:|---:|---|
121
+ | `smartwilds-camera-traps/` | 19,785 | 72,775 | 235,778-image inventory with corrected timestamps; operational boxes with original SAM3 geometry and triage label provenance |
122
+ | `smartwilds-bioacoustics/` | 2,382 | 9,960 | 2,371 WAV recordings, BirdNET Analyzer v2.4 |
123
+ | `smartwilds-drones/` | 55 | 318,215 | 39 videos, 15 flight sessions; frame-indexed detections and ground-projected positions |
124
+ | `smartwilds-citizen-science/` | 14 | 622 | 1,103 media files, expert-verified labels |
125
+ | `smartwilds/` (study level) | 22,242 | 401,602 | Merged tables, text records, sensor configurations, Campaign-2 arrival traces |
126
+
127
+ All tables share one Event hierarchy rooted at `TheWilds_2025`:
128
+
129
+ ```
130
+ TheWilds_2025 (study, 2025-06-30/2025-09-08)
131
+ ├── SmartWilds_camera_traps_curated (Project)
132
+ │ └── SensorDeployment
133
+ │ └── Image
134
+ └── Other modality Projects
135
+ └── SensorDeployment / flight session / observation session
136
+ └── AudioRecording | MediaEvent
137
+ ```
138
+
139
+ ### Supported Tasks and Applications
140
+
141
+ This dataset supports cross-modal ecological analysis, data-quality research, and sensing-systems research. Computer-vision and audio tasks become possible when the raw media are released; the metadata here is what makes those releases usable.
142
+
143
+ **🔗 Cross-Modal Analysis:**
144
+ - Joining camera, acoustic, drone, and citizen-science records by site, campaign, and time on one Event hierarchy
145
+ - Corroboration of focal-species activity across sensors; sensor marginal value by place and hour
146
+ - Diel activity and species occurrence per modality from corrected timestamps
147
+
148
+ **🧹 Data-Quality and Metadata Research:**
149
+ - Timestamp reconstruction (18 methods, with confidence per image), telemetry mapping across three drone platforms, raw-inventory reconciliation
150
+ - Label provenance kept distinct: triage-resolved, human-reviewed, forced nearest-prototype, human-edited, validated, unverified
151
+ - A 22-item defect inventory with detection family, repair, and residual risk
152
+
153
+ **⚙️ Sensing-Systems Research:**
154
+ - Acquisition- and inference-layer arrival traces for workload characterization (burstiness, diurnal rates)
155
+ - Synthesis of coordinated multi-modal workloads and hardware feasibility prediction
156
+ - Blank-image filtering, storage, and edge provisioning from the full image inventory
157
+
158
+ **🤖 Computer Vision and Audio Tasks (with the media releases):**
159
+ - Object detection and species classification (camera traps, drones, visitor photos) with provenance-labeled boxes and human reference sets
160
+ - Multi-object tracking on frame-indexed drone detections
161
+ - Bird call classification and sound-event detection against BirdNET outputs
162
+
163
+ ## Layout
164
+
165
+ Each component folder is a complete FAIR² dataset package:
166
+
167
+ ```
168
+ <component>/
169
+ ├── README.md # the component's dataset card
170
+ ├── data/ # Darwin Core events.csv, occurrences.csv, per-file tables
171
+ ├── metadata/ # DATA_DICTIONARY.md, deployments, configs, provenance/
172
+ ├── analysis/ # arrival traces (study level), camera arrival statistics
173
+ ├── scripts/ # generator, georeferencing, release build
174
+ ├── media_manifest.csv # one row per raw file: release path, size, include flag, privacy screening
175
+ └── CHECKSUMS.sha256
176
+ SUPPLEMENTAL.md # the paper's supplemental material
177
+ ```
178
+
179
+ Column definitions are in each component's `metadata/DATA_DICTIONARY.md`.
180
+ The defect inventory is `smartwilds/metadata/DEFECT_INVENTORY.md`.
181
+
182
+ ## Using the data correctly
183
+
184
+ - **Pick a verification floor before analysis.** Almost every Occurrence is a
185
+ machine label, and the status vocabulary differs by table: camera-trap rows
186
+ carry a `labelProvenance`; drone and acoustic rows are `unverified` or
187
+ `validated`. The drone labels come from BioCLIP 2 (TreeOfLife-200M) in
188
+ open-world Tree of Life mode; species-rank accuracy on human-annotated
189
+ subsets is 0.271 and class-rank accuracy is 0.845 (SUPPLEMENTAL.md, S9).
190
+ - **Occurrences are detection crops, not individuals.**
191
+ - **Use the corrected timestamps.** Camera clocks were wrong on most
192
+ deployments; every image carries its correction method and confidence.
193
+ - **Filter drone coordinates on their status** (`georef_status` in
194
+ `detections.csv`).
195
+ - **Join fixed sensors by site code and campaign**, drones and citizen science
196
+ by coordinates or date; see the [joining guide](https://imageomics.github.io/smartwilds/datasets/joining/).
197
+
198
+ ## Personal and sensitive information
199
+
200
+ Media in which a person can be individually identified are removed from the
201
+ media release; people too small to identify (a person box under 80 px) are
202
+ retained. The screening evidence and human-review outcome are recorded per
203
+ file in the media manifests and the camera image inventory. Coordinates fall
204
+ within a public conservation area and are not generalized, except for
205
+ citizen-science records, which carry a park-level point.
206
+
207
+ ## Licensing
208
+
209
+ Data: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). Scripts: MIT.
210
+
211
+ ## Citation
212
+
213
+ ```bibtex
214
+ @misc{smartwilds2025_metadata,
215
+ author = {Kline, Jenna M. and Potlapally, Anirudh and Campolongo, Elizabeth G.},
216
+ title = {SmartWilds Metadata (The Wilds 2025)},
217
+ year = {2026},
218
+ publisher = {Hugging Face},
219
+ url = {https://huggingface.co/datasets/ABC-Center/smartwilds_metadata}
220
+ }
221
+ ```
222
+
223
+ Please also cite the paper:
224
+
225
+ ```bibtex
226
+ @article{kline2026smartwilds,
227
+ author = {Kline, Jenna M. and Potlapally, Anirudh and Campolongo, Elizabeth G.},
228
+ title = {SmartWilds: Integrating, Aligning, and Documenting Multi-Modal Field Sensing Data},
229
+ year = {2026},
230
+ note = {Under review}
231
+ }
232
+ ```
233
+
234
+ This dataset card follows the [FAIR² Drones Data Standard](https://imageomics.github.io/fair_drones/)
235
+ (Kline and Campolongo, 2026).
236
+
237
+ ## Acknowledgements
238
+
239
+ This project is supported by the [Imageomics Institute](https://imageomics.org), which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning), and by the [AI Institute for Intelligent Cyberinfrastructure with Computational Learning in the Environment (ICICLE)](https://icicle.osu.edu/), which is funded by the US National Science Foundation under [Award #2112606](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2112606).
240
+
241
+ This work is also supported by the AI and Biodiversity Change (ABC) Global Center. The ABC Global Center is funded by the US National Science Foundation under [Award No. 2330423](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2330423&HistoricalAwards=false) and the Natural Sciences and Engineering Research Council of Canada under [Award No. 585136](https://www.nserc-crsng.gc.ca/ase-oro/Details-Detailles_eng.asp?id=782440). This dataset draws on research supported by the Social Sciences and Humanities Research Council.
242
+
243
+ Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation, Natural Sciences and Engineering Research Council of Canada, or Social Sciences and Humanities Research Council.
244
+
245
+ Special thanks to Dan Beetem and [The Wilds](https://www.thewilds.org/) in Ohio for providing access to deployment sites and supporting this wildlife monitoring research. We thank the Columbus Zoo and Aquarium for their support in facilitating this project. All data collection, including drone flights, was conducted under the supervision of the Director of Animal Management, with permission from The Wilds Animal Care and Use Committee.
246
+
247
+ This work used the [Ohio Supercomputer Center](https://www.osc.edu/) (Ohio Supercomputer Center. 1987. Ohio Supercomputer Center. Columbus OH: Ohio Supercomputer Center. <https://ror.org/01apna436>).
248
+
249
+ ## Dataset Card Contact
250
+
251
+ Jenna M. Kline ([kline.377@osu.edu](mailto:kline.377@osu.edu))
SUPPLEMENTAL.md ADDED
@@ -0,0 +1,885 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SmartWilds — supplemental material
2
+
3
+ > **Camera-trap update (2026-11-08).** The legacy camera counts,
4
+ > Event hierarchy, first-generation Tree-of-Life method statements, and
5
+ > camera detection-arrival rows in this historical supplement do not describe
6
+ > the current camera release. The canonical camera release has 72,775
7
+ > original-SAM3-geometry Occurrences, 19,785 camera Events, a 235,778-image
8
+ > inventory, and 70,466 Campaign-2 operational-inference arrivals. Its
9
+ > combined multimodal table has 401,602 Occurrences and 22,242 Events. See
10
+ > [`CAMERA_TRAP_RELEASE.md`](CAMERA_TRAP_RELEASE.md) for the
11
+ > release-facing scope and provenance. The historical sections remain for
12
+ > auditability and must not be used as current camera-release statistics.
13
+
14
+ Supplemental material for the SmartWilds
15
+ datasets.
16
+ This contains the full data inventories details, the timestamp-repair methods,
17
+ the standards crosswalk, the field dictionary, the arrival statistics, and the
18
+ complete defect inventory.
19
+
20
+ Last updated: 2026-11-10.
21
+ Release: SmartWilds release build 2026-10-22, camera tables updated 2026-11-08.
22
+ It supersedes the 2026-07-24 integration pass. Paths such as
23
+ `processing_output/...` are relative to the project archive; the released files
24
+ are in the per-modality datasets of the [SmartWilds collection](https://huggingface.co/collections/imageomics/smartwilds).
25
+
26
+ ---
27
+
28
+ ## S1. Extended glossary
29
+
30
+
31
+ | Term | Source | Meaning in this release | What it is *not* |
32
+ |:--|:--|:--|:--|
33
+ | Event | Darwin Core | A sampling act with a date, location, protocol, and `parentEventID`. Five levels in use: `Project`, `SensorDeployment`, `AudioRecording`, `MediaEvent`, `ObservationSession`. | Not an arrival in a stream. One Event can contain 10⁵ arrivals. |
34
+ | Occurrence | Darwin Core | One organism record at a place and time, linked by `eventID`. Usually one detection crop. | Not an individual animal. Adjacent drone frames yield many Occurrences of the same animal. |
35
+ | `eventType` | Darwin Core | The level of the hierarchy a row occupies. | Not the modality; modality is carried by `parentEventID` and `modality_type`. |
36
+ | `basisOfRecord` | Darwin Core | `MachineObservation` for every detector-derived row; `HumanObservation` for citizen-science and text records and for the 12 human-added drone starling boxes. | Not a quality statement. See `identificationVerificationStatus`. |
37
+ | `identificationVerificationStatus` | Darwin Core | Vocabulary differs by table. Post-triage camera traps: `human-reviewed`, `machine-resolved`. Drones and bioacoustics: `unverified`, `validated`, plus `human-supported; limited-resolution` for the drone starling supplement. Citizen science and text: `verified by expert`. Counts in S9.3. | Not a confidence score. `machine-resolved` and `unverified` are both machine labels; a `validated` or `human-reviewed` record was reviewed by a person. |
38
+ | `dataGeneralizations` | Darwin Core | States whether a coordinate is an observed position, a sensor position, a projected estimate, or a platform-telemetry fallback. | Not a precision estimate; see `coordinateUncertaintyInMeters`. |
39
+ | `informationWithheld` | Darwin Core | Records where locality precision was reduced for sensitive taxa. | — |
40
+ | Sampling effort | Humboldt ext. | Acquisition quantity actually expended, per modality: camera observation-days, recorder-hours, flight-minutes, visitor sessions. | Not comparable across modalities. Not a detection count. |
41
+ | Arrival | systems | One item entering a processing stream. Two layers measured: *acquisition* (image capture, WAV file) and *detection* (an Occurrence). | Not a Darwin Core Event. |
42
+ | Deployment | systems | One physical installation of one device at one site over one interval. | Not a device. One device yields several deployments across campaigns. |
43
+ | Duty cycle | systems | Fraction of wall-clock time a device was *scheduled* to acquire. | Not uptime. A device can be on-schedule and dead. |
44
+ | Detection | systems | A model output: a SAM3 box, a BirdNET hit. | Not an identification. |
45
+ | Identification | Darwin Core | A taxonomic assignment with a stated verification status. | Not implied by a detection. |
46
+ | `locationID` | Darwin Core | Stable identifier for a **fixed** sensor position or a drone session origin. Null for locality-only records. | Not a comparable spatial sampling unit across modalities. |
47
+ | Coverage | systems | Distinct (date, hour) pairs containing ≥1 Occurrence, per modality. | Not area surveyed. Not detection probability. |
48
+ | Campaign | this release | One field deployment interval. Three: C1 Jun 30–Jul 3, C2 Aug 4–28, C3 Sep 8. | Not a Darwin Core term. |
49
+
50
+ ---
51
+
52
+ ## S2. Camera-trap deployment inventory
53
+
54
+ Four camera models, HFOV 55–120°. Configuration varied in capture mode,
55
+ resolution, burst length, PIR sensitivity, and inter-trigger delay. Every one of
56
+ these is a workload multiplier (S2.3).
57
+
58
+ ### S2.1 Campaign 1 — Jun 30 to Jul 3, 2025
59
+
60
+ | Deployment | Site | Model | HFOV | Facing | Mode | Photo | Video | PIR | Images | Notes |
61
+ |:--|:--|:--|--:|:--|:--|:--|:--|:--|--:|:--|
62
+ | TW01-CT02 | Nomad Ridge E | GardePro T5NG | 56.5° | SE (135°) | Hybrid | 4 MP, 3-burst | 1080p 10 s MP4+audio | High | 7,811 | Hourly timelapse, info strip on |
63
+ | TW02-CT03 | Nomad Ridge W | GardePro A3 | 63° | SW (225°) | Photo+Video | 8 MP, 3-series | 1080p 10 s AVI+audio | High | 39 | Early battery death; 55 files total on card |
64
+ | TW03-CT01 | Pasture D Feeder | GardePro T5NG | 56.5° | S (180°) | — | — | — | — | 6,661 | Near salt lick; config not documented |
65
+ | TW04-CT04 | Lake Trail | Trail Camera G600 | 120° | NW (315°) | Photo+Video | 8 MP, 5-burst | 1080p 10 s MP4+audio | High | 570 | Images inverted (mount orientation) |
66
+
67
+ ### S2.2 Campaign 2 — Aug 4 to Aug 28, 2025
68
+
69
+ | Deployment | Site | Model | HFOV | Facing | Mode | Photo | Video | Images | Notes |
70
+ |:--|:--|:--|--:|:--|:--|:--|:--|--:|:--|
71
+ | TW01-CT02 | Nomad Ridge E | GardePro T5NG | 56.5° | SE (135°) | Photo only | 4 MP, 3-burst | — | 26,573 | Removed Aug 11, relocated to dock |
72
+ | TW02-CT01 | Nomad Ridge W | GardePro T5NG | 56.5° | SW (225°) | Photo only | 4 MP, 3-burst | — | 61,217 | Clock error; battery died Aug 18–25; 4 card clock states |
73
+ | TW04-CT03 | Lake Trail | GardePro A3 | 63° | NW (315°) | Photo+Video | 8 MP, 3-burst | 1080p 10 s | 984 | Reset Aug 7; no data after Aug 25 |
74
+ | TW06-CT04 | Zebra Shelter | Trail Camera G600 | 120° | NW (315°) | Photo+Video | 8 MP, 5-burst | 1080p 10 s | 40,907 | Battery reported 100% at retrieval (unusual) |
75
+ | TW06-CT05 | Zebra Shelter (in) | Reveal Pro 3.0 | 55° | N (0°) | Photo+Video | 4K | 720p 10 s | 84 | Late deploy Aug 25–28 |
76
+ | TW07-CT05 | Zipline Tower | Reveal Pro 3.0 | 55° | N (0°) | Photo+Video | 4K | 720p 10 s | **withdrawn** | People-only media were not uploaded; metadata only retained; deletion status unknown |
77
+ | TW09-CT02 | Dock (left) | GardePro T5NG | 56.5° | S (180°) | Photo only | 4 MP, 3-burst | — | 90,834 | Largest deployment (38.5% of all images); relocated Aug 18; battery gap Aug 18–25 |
78
+ | TW09-CT05 | Dock (right) | Reveal Pro 3.0 | 55° | SE (135°) | Photo+Video | 4K | 720p 10 s | 9 | Detection issues |
79
+ | TW11-CT06 | Fence / lake | Reveal Pro 3.0 | 55° | NE (45°) | Photo+Video | 4K | 1080p 15 s | 89 | PIR level 9, 20 s delay, 1 bar cell service |
80
+
81
+ **Totals:** 235,778 JPG + 5,113 video clips, 260 GB. 13 deployments, 12 retained.
82
+
83
+ ### S2.3 Configuration as workload multiplier
84
+
85
+ | Parameter | Range in deployment | Workload effect |
86
+ |:--|:--|:--|
87
+ | Burst length | 3 or 5 frames/trigger | Direct 3× or 5× multiplier on raw images per ecological event |
88
+ | Capture mode | photo-only / photo+video / hybrid | Video adds a 10–15 s clip per trigger: large storage, frame-extraction compute |
89
+ | Resolution | 4 MP / 8 MP / 4K | Bytes and per-image inference time |
90
+ | PIR sensitivity | High, Level 9, motion-detect | Higher sensitivity → more triggers and more blanks |
91
+ | Inter-trigger delay | 0 / 10 / 20 s | Longer delay suppresses repeat triggers, lowering effective arrival rate |
92
+ | HFOV | 55°–120° | Wide-angle covers more area at lower pixel density per animal |
93
+ | Cellular uplink | Reveal Pro 3.0 only | The only device in the deployment that could participate in near-real-time coordination |
94
+ | Timelapse | TW01-CT02 C1 only | Adds a scheduled arrival stream independent of PIR |
95
+
96
+ ---
97
+
98
+ ## S3. Acoustic recorder inventory
99
+
100
+ All units: Wildlife Acoustics Song Meter Micro 2, 48 kHz.
101
+ 10 deployments across 6 sites. Duty cycle, not deployment duration, determines
102
+ volume: uncompressed 48 kHz stereo WAV ≈ 33 MB/minute.
103
+
104
+ | Deployment | Site | GPS | Schedule | Duty cycle | Raw WAV | Events | GB |
105
+ |:--|:--|:--|:--|--:|--:|--:|--:|
106
+ | **C1** | | | | | | | |
107
+ | TW05-SM01 | Lake Trail Gate O | 39.83537, −81.73842 | 5-min clips hourly (**config error** — intended 1 hr sunrise + sunset) | 8.3% | 144 | 144 | — |
108
+ | TW06-SM03 | Zebra Shelter | 39.83518, −81.73087 | 5 min/hr, 24/7 | 8.3% | 77 | 77 | — |
109
+ | TW07-SM02 | Zipline Tower | 39.83288, −81.73455 | 1 hr sunrise + 1 hr sunset | ~8% | 12 | 12 | — |
110
+ | TW08-SM04 | Fence w/ vegetation | 39.82900, −81.74378 | 5 min/hr, 24/7 | 8.3% | 78 | 78 | — |
111
+ | | | | | | **311** | **311** | **6.0** |
112
+ | **C2** | | | | | | | |
113
+ | TW02-SM04 | Nomad Ridge Shelter | 39.82957, −81.73295 | 5 min/hr | 8.3% | 659 | 581 | 26.1 |
114
+ | TW05-SM06 | Lake Trail Gate O | 39.82866, −81.73758 | sunrise–sunset | ~50–60% | 100 | 96 | 16.6 |
115
+ | TW06-SM05 | Zebra Shelter | 39.82870, −81.73756 | 15 min/hr | 25% | 508 | 508 | 21.8 |
116
+ | TW07-SM02 | Zipline Tower | 39.82891, −81.74392 | sunrise–sunset | ~50–60% | 339 | 339 | 56.4 |
117
+ | TW08-SM03 | Fence w/ vegetation | 39.82892, −81.74392 | sunrise–sunset | ~50–60% | 341 | 341 | 56.7 |
118
+ | TW09-SM01 | Dock | 39.83418, −81.73783 | sunrise–sunset (deployed Aug 14) | ~50–60% | 195 | 195 | 32.4 |
119
+ | | | | | | **2,142** | **2,060** | **210** |
120
+ | **Total** | | | | | **2,453** | **2,371** | **216** |
121
+
122
+ **Raw-WAV reconciliation.** Of the 2,453 WAV paths on disk, 2,371 are
123
+ `AudioRecording` Events: 2,307 with BirdNET detections and 64 on which BirdNET
124
+ ran but detected nothing (Events with no Occurrences). The other 82 are not
125
+ recordings of their own: 78 are Campaign-1 files copied into the Campaign-2
126
+ TW02-SM04 directory during transfer, and 4 TW05-SM06 files produced no BirdNET
127
+ result (three 3.9–22.0 s fragments and one unreadable file). Every path is
128
+ classified in `data/recordings.csv` of the bioacoustics dataset.
129
+
130
+ Note that TW02-SM04 produced **more than twice the files** of TW07-SM02 but
131
+ **less than half the bytes** — the clearest illustration that duty cycle and
132
+ file count are independent axes.
133
+
134
+ ---
135
+
136
+ ## S4. Drone platform and session inventory
137
+
138
+ | Platform | Campaigns | Video | Telemetry format | Sessions |
139
+ |:--|:--|:--|:--|--:|
140
+ | Parrot Anafi 4K | C1 (Jul 1, 3), C2 (Aug 11, 18, 25) | 4K MP4 | Parrot JSON / GUTMA DX | 10 (+3 telemetry-only) |
141
+ | DJI (unspecified) | C2 (Aug 11) | 1080p MOV | CSV, GPS + battery, 10 Hz | 1 |
142
+ | DJI Air 2 | C3 (Sep 8) | 4K MP4 | Airdata CSV | 4 |
143
+
144
+ **39** raw videos and **39** `MediaEvent` rows; one MediaEvent (`VID_001`)
145
+ has zero Occurrences because it was intentionally excluded after review.
146
+ **15** video-bearing `SensorDeployment` flight-session Events. Three more
147
+ Aug 25 Parrot directories hold telemetry but no video and are not sampling
148
+ Events. 90 GB total.
149
+
150
+ Three platforms produced three telemetry schemas with different field names,
151
+ units (feet vs. metres for altitude), and gimbal-angle conventions. Fields
152
+ consumed by the projection script, with their per-platform sources:
153
+
154
+ - platform GPS — `latitude_y` / `longitude_y`
155
+ - AGL height — `height_sonar(feet)` when available, else `altitude (m)` / `altitude_m`
156
+ - heading — `gimbal_heading(degrees)` or `compass_heading(degrees)`
157
+ - pitch — `gimbal_pitch(degrees)`, with a configurable fallback when near-level
158
+ - FOV — approximate per-platform constant
159
+
160
+ ---
161
+
162
+ ## S5. Camera-trap timestamp repair, in full
163
+
164
+ 235,778 images; 0 unmapped; 0 flagged for review. 18 correction methods.
165
+
166
+ ### S5.1 Raw timestamp source
167
+
168
+ | Source | Images | Share |
169
+ |:--|--:|--:|
170
+ | Filename | 193,096 | 81.9% |
171
+ | EXIF | 42,500 | 18.0% |
172
+ | OCR of burned-in bottom overlay | 179 | 0.08% |
173
+ | Manual read of bottom overlay | 3 | 0.001% |
174
+
175
+ ### S5.2 Final confidence
176
+
177
+ | Confidence | Images | Share | Meaning |
178
+ |:--|--:|--:|:--|
179
+ | high | 105,488 | 44.7% | Verified correct, or anchored to a logged service event |
180
+ | medium | 130,290 | 55.3% | Anchored interpolation assuming a constant clock rate — **untestable without a second anchor** |
181
+
182
+ ### S5.3 All 18 correction methods
183
+
184
+ | Method | Images | Pattern |
185
+ |:--|--:|:--|
186
+ | `aug_tw09_ct02_sd23_correct_after_move` | 59,568 | verified correct |
187
+ | `aug_tw09_ct02_sd22_start_anchor` | 31,266 | per-card anchor |
188
+ | `aug_tw06_ct04_sd02_start_anchor` | 27,734 | per-card anchor |
189
+ | `aug_tw01_2025_clock_offset` | 26,558 | constant offset |
190
+ | `aug_tw02_actual_august_clock` | 17,301 | verified correct |
191
+ | `aug_tw02_sd01_sep_clock_anchor` | 17,262 | per-card anchor |
192
+ | `aug_tw02_sd01_2023_clock_anchor` | 13,689 | constant offset (**clock reporting 2023**) |
193
+ | `aug_tw06_ct04_initial_start_anchor` | 13,173 | per-card anchor |
194
+ | `aug_tw02_sd11_sep_clock_anchor` | 12,965 | per-card anchor |
195
+ | `june_tw01_correct` | 7,811 | verified correct |
196
+ | `june_tw03_correct` | 6,661 | verified correct |
197
+ | `aug_tw04_sd02_start_anchor` | 696 | per-card anchor |
198
+ | `june_tw04_start_anchor_inverted_images` | 570 | per-card anchor + inverted mount |
199
+ | `aug_tw04_sd03_start_anchor` | 288 | per-card anchor |
200
+ | `bottom_overlay_ocr` | 179 | OCR of in-frame timestamp |
201
+ | `june_tw02_start_anchor` | 39 | per-card anchor |
202
+ | `aug_tw01_2023_tail_clock_offset` | 15 | constant offset (**2023 tail**) |
203
+ | `manual_bottom_overlay_read` | 3 | human read |
204
+
205
+ Only **14,472 images (6.1%)** were accepted as recorded
206
+ (`june_tw01_correct` + `june_tw03_correct`). The remaining
207
+ **221,306 (93.9%)** required reconstruction.
208
+
209
+ ### S5.4 Per-deployment repair summary
210
+
211
+ | Dataset | Deployment | Location | Images | First corrected | Last corrected | Methods |
212
+ |:--|:--|:--|--:|:--|:--|--:|
213
+ | C1 | TW01-CT02 | Nomad Ridge E | 7,811 | 2025-06-30 12:18 | 2025-07-02 06:50 | 1 |
214
+ | C1 | TW02-CT03 | Nomad Ridge W | 39 | 2025-06-30 12:34 | 2025-07-01 00:34 | 1 |
215
+ | C1 | TW03-CT01 | Pasture D Feeder | 6,661 | 2025-06-30 13:06 | 2025-07-02 01:04 | 1 |
216
+ | C1 | TW04-CT04 | Lake Trail | 570 | 2025-06-30 13:25 | 2025-07-03 16:56 | 1 |
217
+ | C2 | TW01-CT02 | Nomad Ridge E | 26,573 | 2025-08-04 09:01 | 2025-08-10 10:15 | 2 |
218
+ | C2 | TW02-CT01 | Nomad Ridge W | 61,217 | 2025-08-04 09:05 | 2025-08-18 09:07 | **4** |
219
+ | C2 | TW04-CT03 | Lake Trail | 984 | 2025-08-07 10:38 | 2025-08-25 10:49 | 2 |
220
+ | C2 | TW06-CT04 | Zebra Shelter | 40,907 | 2025-08-04 09:52 | 2025-08-26 15:35 | 2 |
221
+ | C2 | TW06-CT05 | Zebra Shelter | 84 | 2025-08-25 15:09 | 2025-08-28 08:17 | 2 |
222
+ | C2 | TW09-CT05 | Dock / Waterfront | 9 | 2025-08-11 10:18 | 2025-08-13 18:20 | 1 |
223
+ | C2 | TW09-CT02 | Dock, then Nomad Ridge W after Aug 18 | 90,834 | 2025-08-11 10:27 | 2025-08-28 09:44 | 2 |
224
+ | C2 | TW11-CT06 | Nomad Ridge W | 89 | 2025-08-18 09:00 | 2025-08-28 02:47 | 2 |
225
+
226
+ Files: `processing_output/detections/drone_camera_analysis/camera_time_mapping/`
227
+ — `camera_image_timestamp_map.csv` (per-image, 17 columns),
228
+ `camera_timestamp_summary_by_camera.csv`,
229
+ `camera_timestamp_summary_by_date.csv`,
230
+ `camera_trap_timestamp_corrections.csv`,
231
+ plus `.before_bottom_ocr` and `.before_ocr_interpolation` stages.
232
+
233
+ ---
234
+
235
+ ## S6. Drone ground projection
236
+
237
+ **The campaigns were flown for population estimation and behavior, not
238
+ geolocation.** Platform GPS localizes a detection to a known pasture, which is
239
+ the operative spatial reference. Per-animal projection is an optional refinement
240
+ provided for completeness; **no result in any of the three papers depends on
241
+ it.** Monocular distance estimation from a moving platform to moving subjects is
242
+ unreliable and is not established practice in aerial wildlife survey.
243
+
244
+ | Status | Detections | Share |
245
+ |:--|--:|--:|
246
+ | `ok` (projected position available) | 247,340 | 77.9% |
247
+ | `invalid_altitude` | 27,306 | 8.6% |
248
+ | `missing_drone_gps` | 24,467 | 7.7% |
249
+ | `horizon_ray` (camera near level) | 18,324 | 5.8% |
250
+ | `out_of_range` | 122 | 0.04% |
251
+
252
+ Method: convert the bbox bottom-center pixel to a camera ray, rotate by
253
+ heading/pitch, intersect with a flat ground plane, project the offset from
254
+ platform GPS. Dominant error sources: gimbal-pitch convention, terrain relief,
255
+ altitude source, video stabilisation, FOV assumption, and whether bbox
256
+ bottom-center is the animal's ground-contact point.
257
+
258
+ Camera-trap coordinates use the pinhole method from
259
+ <https://github.com/Imageomics/camera-trap-geolocation>: bbox height → range,
260
+ bbox horizontal offset → bearing, projected from the camera GPS. Assumes flat
261
+ ground and a uniform **0.9 m** target height — the dominant error term at a site
262
+ holding animals from geese to Père David's deer.
263
+
264
+ **Known analysis hazard.** An internal audit found a spatial figure that plotted
265
+ projected animal positions and platform-telemetry positions together without
266
+ distinguishing them: 15.66% of 292,106 plotted drone points were platform
267
+ coordinates. The status field was present and correct; the script did not read
268
+ it. The release carries that status on every drone Occurrence
269
+ (`drone_georef_status` in `occurrenceRemarks`, `georef_status` in
270
+ `detections.csv`); any analysis of drone coordinates must filter on it, and
271
+ `examples/quickstart.py` shows the pattern. No automated check of downstream
272
+ analyses ships with the release.
273
+
274
+ ---
275
+
276
+ ## S7. Standards crosswalk, in full
277
+
278
+ | Required information | Standard | Status |
279
+ |:--|:--|:--|
280
+ | Taxon, rank hierarchy, vernacular name | Darwin Core | reused directly |
281
+ | `eventDate`, `eventTime`, event hierarchy | Darwin Core | reused directly |
282
+ | `decimalLatitude`/`Longitude`, `coordinateUncertaintyInMeters`, `geodeticDatum` | Darwin Core | reused directly |
283
+ | `basisOfRecord`, `identificationVerificationStatus` | Darwin Core | reused as the automation boundary |
284
+ | `dataGeneralizations`, `informationWithheld` | Darwin Core | reused for coordinate semantics and sensitive taxa |
285
+ | `samplingProtocol`, `samplingEffort`, `sampleSizeValue`/`Unit` | Darwin Core + Humboldt | reused; effort reported per modality, never summed |
286
+ | Inventory completeness, sampling scope | Humboldt | partially used |
287
+ | Device model, sensor specification | SensorML concepts | re-expressed in platform tables (not SensorML-encoded) |
288
+ | Derivation chain (raw → detection → identification) | PROV-DM concepts | re-expressed in remarks fields (not PROV-encoded) |
289
+ | Platform, mission, annotation documentation | FAIR² Drones | dataset card template adopted |
290
+ | Release principles | FAIR, CARE, TRUST | followed |
291
+ | **Duty cycle and acquisition schedule** | — | **systems extension** (deployment `samplingProtocol` + config tables) |
292
+ | **Trigger semantics** (PIR sensitivity, burst length, delay) | — | **systems extension** (config tables, S2.3) |
293
+ | **Timestamp confidence and repair method** | — | **systems extension** (timestamp map, S5) |
294
+ | **Per-detection coordinate provenance status** | — | **systems extension** (`drone_georef_status`, S6) |
295
+ | **Typed missingness** | — | **systems extension** (S8) |
296
+ | **Model identity, version, parameters, per-rank accuracy** | — | **systems extension** (S9) |
297
+ | **Validator coverage and known gaps** | — | **systems extension** (S11) |
298
+
299
+ The last six rows are the ones no standard we found expresses in a
300
+ machine-readable way. We name them and use them consistently; we do not claim to
301
+ have standardized them.
302
+
303
+ ---
304
+
305
+ ## S8. Missing data, broken down by type.
306
+
307
+
308
+
309
+ | # | State | How it is computable | Example |
310
+ |--:|:--|:--|:--|
311
+ | 1 | Sensor active, nothing observed | Hourly bin inside a deployment window with no Occurrence | Most nocturnal camera bins |
312
+ | 2 | Sensor inactive by schedule | Deployment-level schedule field | 5 min/hr recorders are off 91.7% of the time by design |
313
+ | 3 | Sensor inactive by failure | Capture gap vs. logged deployment window, with cause | TW02-CT01 battery, Aug 18–25 |
314
+ | 4 | Captured but not represented | Raw file inventory vs. Event table | 78 transfer-duplicate WAVs and 4 failed WAVs, each classified per path (S3) |
315
+ | 5 | Metadata unusable for a purpose | Status/provenance column | 70,219 drone detections unprojectable (S6); until 2026-11-10, 41,524 drone Occurrences with a date but no time of day (S10, since recovered) |
316
+ | 6 | Excluded in QC | Documented exclusion | People-only TW07-CT05 deployment excluded; one drone video reviewed and kept as a zero-Occurrence `MediaEvent` |
317
+
318
+ States 1 and 2 have opposite implications for a coordination policy, which is
319
+ why the schedule field is load-bearing and not documentation.
320
+
321
+ ---
322
+
323
+ ## S9. Models, parameters, and measured accuracy
324
+
325
+ Manual annotation does not scale to sensor-network volume: human-reviewed
326
+ labels are under 1% of the release and consumed the review capacity available.
327
+ Semi-automated analysis is therefore the realistic condition, and we use
328
+ current state-of-the-art models so that reported quality reflects what a
329
+ practitioner adopting today's best tooling would obtain.
330
+
331
+ Labels were produced in two generations, and the released tables carry both.
332
+ The **first generation** labeled every SAM3 box with a BioCLIP Tree-of-Life
333
+ taxon; it still describes the operational drone table and the merged
334
+ cross-modal snapshot. The **second generation** (October–November 2026)
335
+ replaced the camera-trap labels with embedding-based triage plus targeted
336
+ human review (S9.1), and added a seven-video human-annotated drone reference
337
+ set with a manual starling supplement (S9.2).
338
+
339
+ | Stage | Model | Role |
340
+ |:--|:--|:--|
341
+ | Visual segmentation | SAM 3 | bounding boxes on camera-trap images and drone frames |
342
+ | Visual classification, first generation | BioCLIP Tree-of-Life (TreeOfLife-200M) | top-1 taxon with full rank hierarchy, top-5 retained; operational drone labels |
343
+ | Label triage, second generation | Resolve–Clear–Defer prototype triage over proposal embeddings | routes proposals to human review and resolves the rest by similarity to reviewed examples; operational camera-trap labels |
344
+ | Acoustic detection | BirdNET | detections with frequency bounds and offset into the WAV |
345
+ | Water/lake masking | SAM 3 | lake/water masks for habitat-association analysis |
346
+
347
+ ### S9.1 Camera-trap labels (post-triage)
348
+
349
+ Operational camera-trap Occurrences are SAM3 animal proposals labeled by
350
+ Resolve–Clear–Defer triage. The triage selects proposals for human review and
351
+ resolves the remainder by similarity to reviewed examples; `labelProvenance`
352
+ records the outcome on every row, with the triage round where recovered.
353
+
354
+ | `labelProvenance` | `identificationVerificationStatus` | Occurrences |
355
+ |:--|:--|--:|
356
+ | `triage_reviewed` | `human-reviewed` | 1,760 |
357
+ | `triage_resolved` | `machine-resolved` | 70,808 |
358
+ | `triage_forced_1nn` | `machine-resolved` | 201 |
359
+ | **Total** | | **72,769** |
360
+
361
+ Forced nearest-neighbour labels did not meet the triage confidence rules and
362
+ may be wrong; exclude them unless label noise is tolerable. Box geometry is
363
+ never edited (`geometryProvenance = SAM3`), even when the label was human
364
+ reviewed. The table keeps only reviewed or resolved animal proposals: cleared
365
+ and background proposals, boxes with a shorter side below 32 px, boxes
366
+ overlapping the per-resolution ROI mask, and frames on the privacy exclusion
367
+ manifest are excluded, so **an image without an Occurrence is not evidence
368
+ that no animal was present.** Twelve taxa occur: milu (Père David's) deer,
369
+ Przewalski's horse, Canada goose, Sichuan takin, trumpeter swan, killdeer,
370
+ European starling, barn swallow, and the broad labels bird, butterfly,
371
+ dragonfly, and insect.
372
+
373
+ A separate **human-reviewed reference set** of 2,067 boxes on 198 selected
374
+ ungulate and waterfowl images (881 Canada goose, 627 milu deer, 349
375
+ Przewalski's horse, 149 Sichuan takin, 61 trumpeter swan) is released beside,
376
+ not inside, the Occurrence table. Taxonomy and geometry were both reviewed;
377
+ 1,552 boxes share a SAM3 proposal's geometry and 515 are human edits or
378
+ additions, and the set is not filtered by the 32 px or ROI rules. The images
379
+ were selected for review, so the set is not a random or exhaustive test split.
380
+ Triage label accuracy against this reference set has not yet been reported.
381
+ <!-- TODO(confirm-stats): add triage label accuracy vs. the 2,067-box reference set, or cite the Resolve–Clear–Defer paper's figures. -->
382
+
383
+ ### S9.2 Drone labels: operational table and seven-video reference set
384
+
385
+ **Operational table.** The 318,203 machine drone Occurrences remain
386
+ first-generation labels: a SAM3 box on every 15th frame with a top-1 BioCLIP
387
+ Tree-of-Life taxon. The only measured accuracy for that labeler comes from
388
+ human-annotated camera-trap subsets:
389
+
390
+ | Analysis | Level | n | Precision | Recall | F1 / accuracy |
391
+ |:--|:--|--:|--:|--:|--:|
392
+ | SAM3 animal localization, camera traps | IoU ≥ 0.50 | 1,125 | 0.866 | 0.845 | 0.856 |
393
+ | Tree-of-Life taxonomic assignment | class | 951 | | | 0.845 |
394
+ | | order | 951 | | | 0.660 |
395
+ | | family | 951 | | | 0.463 |
396
+ | | genus | 951 | | | 0.322 |
397
+ | | species | 951 | | | 0.271 |
398
+
399
+ Usable statement: **class-rank labels support screening and triage; species-rank
400
+ labels require curation; anything aggregating across ranks is uninterpretable.**
401
+ A single headline accuracy anywhere in the 0.27–0.85 range would mislead.
402
+ Corroborating evidence: the taxonomy crosswalk holds **12,577 label keys**, of
403
+ which only **4** consist entirely of expert-verified records and 16 contain
404
+ accepted names with mixed verification evidence.
405
+
406
+ **Seven-video reference set.** Seven drone videos were human-annotated on
407
+ 1,089 sampled frames for four focal classes, with onager observations
408
+ excluded: `20250703_parrotanafi_1`, `_2`, `_5` (C1), `20250811_DJI_01`,
409
+ `20250818_parrot_01`, `_02`, and `20250825_parrot_01` (C2). The corrected
410
+ reference holds **27,159** four-class boxes (the localization audit below was
411
+ run against 27,180 before the final manual review): Père David's deer 21,177,
412
+ Sichuan takin 3,293, Przewalski's horse 2,066, Canada goose 644. It is
413
+ delivered as COCO JSON with provenance, a frame-to-proposal mapping, and the
414
+ audit files. <!-- TODO(release): confirm the path of the seven-video reference set in the drone dataset. -->
415
+
416
+ SAM3 localization against the reference (35,312 proposals, one-to-one
417
+ matching):
418
+
419
+ | IoU | Precision | Recall | F1 |
420
+ |:--|--:|--:|--:|
421
+ | 0.25 | 0.758 | 0.985 | 0.856 |
422
+ | 0.50 | 0.749 | 0.973 | 0.847 |
423
+ | 0.75 | 0.740 | 0.961 | 0.836 |
424
+
425
+ Per-class recall at IoU 0.25: Przewalski's horse 0.961, Père David's deer
426
+ 0.985, Sichuan takin 0.993, Canada goose 1.000. Per-video recall at IoU 0.25
427
+ ranges from 0.958 (`20250818_parrot_02`) to 0.999 (`20250825_parrot_01`).
428
+
429
+ Resolve–Clear–Defer prototype triage was then run over the full proposal pool
430
+ (seed 3, density-moderated k-center acquisition, calibrated rule k = 5,
431
+ τ_fg = 4, τ_bg = 4). It spent 100 proposals on calibration and 1,610 on
432
+ expert review (4.6% of the 35,212-proposal evaluation pool), handled the
433
+ remaining 33,602 automatically, and got 28,040 of those right: 79.6% of the
434
+ evaluation pool, or 83.5% of the automatic decisions. Zero proposals were left
435
+ deferred.
436
+
437
+ Four-species classification on the 25,897 matched, unreviewed foreground
438
+ instances (78.4% Père David's deer, so always-deer scores 0.784 accuracy):
439
+
440
+ | Method | Precision | Recall | F1 | Accuracy | Macro-F1 |
441
+ |:--|--:|--:|--:|--:|--:|
442
+ | Prototype triage, automatic decisions only | 0.913 | 0.850 | 0.880 | 0.850 | 0.789 |
443
+ | BioCLIP 2 zero-shot, four prompts | 0.167 | 0.167 | 0.167 | 0.167 | 0.230 |
444
+ | Tree-of-Life, open-world, exact focal-taxon match | 0.947 | 0.037 | 0.071 | 0.037 | 0.188 |
445
+
446
+ Species-wise recall for triage: Père David's deer 0.918, Przewalski's horse
447
+ 0.687, Canada goose 0.590, Sichuan takin 0.551. The dominant automatic errors
448
+ are wrong-species resolves into Père David's deer (takin 1,287, horse 595,
449
+ goose 100) and 1,584 deer cleared as background. Read the table carefully:
450
+ Tree-of-Life is evaluated open-world, so its 0.037 recall is exact top-1
451
+ recognition of a focal taxon under an unconstrained vocabulary, not animal
452
+ recognition accuracy; BioCLIP 2 zero-shot always answers one of four prompts
453
+ and has no background option; triage abstentions count as no prediction. All
454
+ figures are proposal-level repeated observations from seven videos, not
455
+ independent animals.
456
+
457
+ **Manual European starling supplement.** Twelve human-added *Sturnus vulgaris*
458
+ boxes on one frame (`20250703_parrotanafi_2` / `VID_002`, frame 1320) were
459
+ appended to the drone Occurrence table on 2026-11-01 with
460
+ `basisOfRecord = HumanObservation`,
461
+ `identificationVerificationStatus = human-supported; limited-resolution`, and
462
+ remarks stating that no SAM3 proposal, embedding, or triage decision was
463
+ involved.
464
+ The identification rests on limited pixels in a single frame and should be
465
+ interpreted cautiously. These records are excluded from the 27,159-box
466
+ reference, the localization audit, the triage calibration and evaluation, and
467
+ the species-classification comparison; none of the numbers above change if
468
+ they are dropped. The 12 rows were appended twice (24 rows, 12 distinct
469
+ `occurrenceID`s) in both the drone and merged tables (defect 21, repaired in the release build).
470
+
471
+ ### S9.3 Verification status distribution
472
+
473
+ Counts are per table, because the vocabularies differ. The merged table below
474
+ is the pre-update state (2026-11-01), before the camera rows were regenerated
475
+ from the post-triage tables (defect 22, resolved 2026-11-08).
476
+
477
+ Merged `occurrences_all_modalities.csv` as of 2026-11-01:
478
+
479
+ | Modality | Status | Records |
480
+ |:--|:--|--:|
481
+ | Camera traps (first generation) | `unverified` | 223,203 |
482
+ | | `validated` | 946 |
483
+ | Bioacoustics | `unverified` | 9,960 |
484
+ | Drones | `unverified` | 317,559 |
485
+ | | `validated` | 644 |
486
+ | | `human-supported; limited-resolution` | 24 (12 distinct records; defect 21) |
487
+ | Citizen science | `verified by expert` | 622 |
488
+ | Text data | `verified by expert` | 30 |
489
+ | **Total** | | **552,988** |
490
+
491
+ Post-triage camera-trap Occurrence table (the released camera dataset):
492
+
493
+ | Status | Records | Share |
494
+ |:--|--:|--:|
495
+ | `machine-resolved` | 71,009 | 97.6% |
496
+ | `human-reviewed` | 1,760 | 2.4% |
497
+
498
+ `validated` = 946 camera-trap + 644 drone bird records from the curated
499
+ goose/swan review set (added 2026-09-20). The 946 camera records belong to the
500
+ first-generation camera table and are not carried into the post-triage
501
+ Occurrence table; the 2,067-box reference set takes their role.
502
+ `verified by expert` = all 622 citizen-science + 30 text-data records.
503
+
504
+ A verification floor is one predicate: treat `unverified` and
505
+ `machine-resolved` as machine labels; `human-reviewed`, `validated`, and
506
+ `verified by expert` as person-reviewed; and `human-supported;
507
+ limited-resolution` as person-reviewed but low confidence.
508
+
509
+ ### S9.4 Why this must be published
510
+
511
+ 1. A taxon string is not reproducible without the model that produced it. Two
512
+ versions of the same classifier yield different taxa from the same image.
513
+ 2. Published uncertainty is what makes labels **re-derivable**. Machine labels
514
+ are a snapshot of a model, not ground truth. A release that keeps source
515
+ media, detection geometry, model identity, and per-rank accuracy can be
516
+ re-labeled when better models arrive and the label sets compared
517
+ meaningfully. One shipping only final taxon strings cannot.
518
+ 3. Aggregate accuracy hides the rank-dependent failure mode above.
519
+ 4. Verification status must be per record, not per dataset — a README caveat
520
+ cannot be filtered on.
521
+
522
+ ---
523
+
524
+ ## S10. Sentinel values: `nan` as a date string (repaired)
525
+
526
+ In snapshot `darwin_core_latest_20260724`, the 2025-08-11 drone session carried
527
+ `eventDate` = the literal string `nan` (a dataframe export of a missing value)
528
+ and an empty `eventTime`. The QC summary reported `missing_eventDate=0` because
529
+ the check tested for null/empty and `"nan"` is neither.
530
+
531
+ | eventID | Occurrences |
532
+ |:--|--:|
533
+ | `TheWilds_2025_drone_20250811_DJI_01_DJI_0002` | 12,522 |
534
+ | `TheWilds_2025_drone_20250811_parrot_01_P5190525` | 12,430 |
535
+ | `TheWilds_2025_drone_20250811_parrot_01_P5190526` | 11,996 |
536
+ | `TheWilds_2025_drone_20250811_DJI_01_DJI_0001` | 4,535 |
537
+ | `TheWilds_2025_drone_20250811_parrot_01_P5180524` | 41 |
538
+ | `TheWilds_2025_drone_20250811_DJI_01`, `..._parrot_01` (`SensorDeployment`) | — |
539
+ | **Total** | **41,524** (13.1% of drone Occurrences) |
540
+
541
+ **Repair (release build 2026-10-22).** `eventDate` was restored to
542
+ `2025-08-11` from the flight identifier and marked as identifier-derived.
543
+ Drones flew on 6 dates; the old count of 7 included the string `nan`.
544
+
545
+ **Time recovery (2026-11-10).** The processed telemetry had no clock, but the
546
+ five video containers carry a creation time. Whether an aircraft writes UTC or
547
+ local time into that field is airframe-specific, so it was settled against
548
+ flights with independently known times: the Parrot Anafi writes UTC (its
549
+ 2025-08-18 video agrees with the telemetry file name to within 2 s), and the
550
+ DJI Air 2 writes UTC (its 2025-09-08 video agrees with the telemetry's
551
+ `datetime(utc)`). The 2025-08-11 Parrot videos therefore started at 09:12:43,
552
+ 09:14:19, and 09:19:55 local. The DJI Mavic 3 videos read 10:29:39 and
553
+ 10:31:32; read as UTC that would be 06:29, before anyone was on site, so this
554
+ airframe wrote local time, which the telemetry export file name
555
+ (`…_[10-29-13]`) and the field log also support. The field log places the
556
+ Parrot flight at Stop 1 (Nomad Ridge, lake survey) and the DJI at the dock,
557
+ Stop 5; the JotForm check-ins run 09:32 to 10:48. `eventTime` is now set for
558
+ the 5 `MediaEvent`s and 2 flights (start/end intervals) and for all 41,524
559
+ Occurrences (video start + `frame_index` / fps, to the second). The DJI
560
+ convention is inferred rather than verified, so those times should be read as
561
+ minute-level. The record is `metadata/provenance/drone_time_recovery_20250811.json`
562
+ in the drone dataset.
563
+
564
+ The same audit found impossible coordinates (`nan`, longitude ≈ 500) on seven
565
+ drone Events, now replaced with a validated static video location or left
566
+ blank, and a missing study-root Event `TheWilds_2025`, now added.
567
+
568
+ ---
569
+
570
+ ## S11. Validation: checks run, and gaps
571
+
572
+ ### S11.1 Original checks (snapshot `20260724`)
573
+
574
+ - no missing event links (`eventID` resolves)
575
+ - no missing taxon
576
+ - no missing `eventDate` (presence only; this is how the `nan` dates passed)
577
+ - no duplicate `occurrenceID`
578
+
579
+ ### S11.2 Current release checks
580
+
581
+ The generator now parses every date, time, and coordinate pair and rejects
582
+ sentinel values (`nan`, `None`, `NULL`, `-1`, `1970-01-01`) before export. The
583
+ release audit checks, over every modality and merged table:
584
+
585
+ - source-to-merged parity for Events and Occurrences;
586
+ - a single-rooted Event hierarchy with no dangling `parentEventID`;
587
+ - Occurrence-to-Event links and ancestry;
588
+ - parsed dates and times, and WGS84-bounded coordinates;
589
+ - every Occurrence date inside its parent Event's span and the study window;
590
+ - no absolute cluster paths, and every `associatedMedia` resolving to a
591
+ released file in the dataset's media manifest;
592
+ - agreement between the generator and the released tables.
593
+
594
+ ### S11.3 Gaps that remain
595
+
596
+ | Gap | Consequence |
597
+ |:--|:--|
598
+ | No check that analyses constrain `drone_georef_status` | Mixed-semantics spatial figures are possible (S6) |
599
+ | No semantic content check | People in imagery are found by a person detector plus human review, not by the validators |
600
+
601
+ **A passing validator is evidence about the validator.** The original checks
602
+ certified 552,964 records clean while 13.1% of one modality had no usable
603
+ timestamp. Validator coverage should be reported, not assumed.
604
+
605
+ ---
606
+
607
+ ## S12. Darwin Core field dictionary
608
+
609
+ `occurrences_all_modalities.csv` — 44 columns:
610
+
611
+ `modality_type`, `occurrenceID`, `eventID`, `catalogNumber`, `scientificName`,
612
+ `kingdom`, `phylum`, `class`, `order`, `family`, `genus`, `specificEpithet`,
613
+ `taxonRank`, `vernacularName`, `occurrenceStatus`, `individualCount`,
614
+ `lifeStage`, `sex`, `behavior`, `basisOfRecord`, `recordedBy`, `identifiedBy`,
615
+ `identificationVerificationStatus`, `identificationRemarks`, `eventDate`,
616
+ `eventTime`, `decimalLatitude`, `decimalLongitude`,
617
+ `coordinateUncertaintyInMeters`, `geodeticDatum`, `locality`, `locationID`,
618
+ `country`, `stateProvince`, `county`, `establishmentMeans`,
619
+ `degreeOfEstablishment`, `occurrenceRemarks`, `associatedMedia`,
620
+ `associatedReferences`, `datasetID`, `datasetName`, `informationWithheld`,
621
+ `dataGeneralizations`
622
+
623
+ `events_all_modalities.csv` — 21 columns:
624
+
625
+ `eventID`, `parentEventID`, `eventType`, `eventDate`, `samplingProtocol`,
626
+ `sampleSizeValue`, `sampleSizeUnit`, `locality`, `locationID`,
627
+ `decimalLatitude`, `decimalLongitude`, `coordinateUncertaintyInMeters`,
628
+ `geodeticDatum`, `country`, `stateProvince`, `county`, `datasetID`,
629
+ `datasetName`, `recordedBy`, `fieldNotes`, `eventTime`
630
+
631
+ ### S12.1 Event hierarchy composition
632
+
633
+ | `eventType` | Rows | Granularity |
634
+ |:--|--:|:--|
635
+ | `Project` | 6 | study root `TheWilds_2025` + one per modality |
636
+ | `SensorDeployment` | 37 | 12 camera + 10 ARU + 15 drone flight session |
637
+ | `AudioRecording` | 2,371 | one per processed WAV file (64 with no detections) |
638
+ | `MediaEvent` | 39 | one per raw drone video (1 reviewed, no Occurrences) |
639
+ | `ObservationSession` | 17 | 13 citizen science + 4 text data |
640
+ | **Total** | **2,470** | |
641
+
642
+ ### S12.2 Occurrence composition
643
+
644
+ | Modality | Events | Occurrences | Dates | Hourly bins | `locationID`s |
645
+ |:--|--:|--:|--:|--:|--:|
646
+ | Study root | 1 | — | | | |
647
+ | Camera traps | 13 | 224,149 | 29 | 624 | 7 |
648
+ | Bioacoustics | 2,382 | 9,960 | 29 | 650 | 6 |
649
+ | Drones | 55 | 318,203 | 6 | 10* | 15 |
650
+ | Citizen science | 14 | 622 | 13 | 28 | 0 |
651
+ | Text data | 5 | 30 | 4 | 4 | 6 |
652
+ | **Total** | **2,470** | **552,964** | | | |
653
+
654
+ \* includes the 2025-08-11 session's bins after its times were recovered on
655
+ 2026-11-10 (S10); the integration pass had counted 8. Camera dates and bins use
656
+ the corrected timestamps of the release build (439 curated records re-timed).
657
+
658
+ Camera-trap figures here are the first-generation table in the merged
659
+ snapshot. The released post-triage camera dataset has 19,762 Events (1
660
+ `Project`, 12 `SensorDeployment`, 19,749 `Image`) and 72,769 Occurrences, and
661
+ the drone table gained 12 manual starling records on 2026-11-01 (S9, defects
662
+ 21–22).
663
+
664
+ ---
665
+
666
+ ## S13. Arrival characterization, both layers
667
+
668
+ Window: Campaign 2, 2025-08-04 to 2025-08-28, 600 hours — the only interval in
669
+ which all four modalities were simultaneously active.
670
+
671
+ Definitions. *Acquisition arrival* = one image capture (from
672
+ `camera_image_timestamp_map.csv`, corrected timestamps) or one WAV recording
673
+ (from `AudioRecording` Event times). *Detection arrival* = one Occurrence with
674
+ a resolvable date and time. `B = (σ−μ)/(σ+μ) = (CV−1)/(CV+1)` over
675
+ inter-arrival times: −1 periodic, 0 Poisson, →1 maximally bursty.
676
+
677
+ | Stream | Arrivals | Rate/hr | CV | B | Dates |
678
+ |:--|--:|--:|--:|--:|--:|
679
+ | **Acquisition** | | | | | |
680
+ | Camera image captures | 220,697 | 367.83 | 2.06 | +0.347 | 25 |
681
+ | Acoustic WAV recordings | 2,060 | 3.43 | 1.23 | +0.103 | 25 |
682
+ | **Detection** | | | | | |
683
+ | Camera traps | 208,054 | 346.76 | 7.26 | +0.758 | 25 |
684
+ | Bioacoustics | 8,865 | 14.78 | 3.21 | +0.525 | 25 |
685
+ | Drones | 94,762 | 157.94 | 216.25 | +0.991 | 3 |
686
+ | Citizen science | 242 | 0.40 | 5.30 | +0.682 | 10 |
687
+
688
+ Detection streams count machine-derived Occurrences only; curated review
689
+ records are excluded. Acoustic recordings include the 64 zero-detection WAVs.
690
+ The drone row includes the 41,524 Occurrences of 2025-08-11 since their times
691
+ were recovered (S10); before that recovery the stream had 53,238 Campaign-2
692
+ arrivals at 88.73/hr, CV 229.61, B +0.991 over 2 dates. Every stream is released as a versioned trace (`analysis/arrival_traces_v2/`
693
+ in the study-level dataset) with a source-record ID per arrival, inclusion rules,
694
+ and input checksums; earlier unversioned arrival summaries are deprecated.
695
+ Acquisition arrivals are not reconstructible for drones (per-frame times are not
696
+ retained) or citizen science (one submission per session).
697
+
698
+ ### S13.1 Diurnal profiles (mean arrivals per hour-of-day over 25 days)
699
+
700
+ | Hour | Cam capture | Cam detect | Acoustic WAV | Acoustic detect | CS detect |
701
+ |--:|--:|--:|--:|--:|--:|
702
+ | 00 | 290.1 | 76.5 | 1.8 | 3.4 | 0.0 |
703
+ | 01 | 296.3 | 86.9 | 1.8 | 3.2 | 0.0 |
704
+ | 02 | 317.4 | 184.1 | 1.8 | 3.3 | 0.0 |
705
+ | 03 | 300.3 | 128.6 | 1.8 | 4.3 | 0.0 |
706
+ | 04 | 304.0 | 211.9 | 1.8 | 3.3 | 0.0 |
707
+ | 05 | 300.6 | 133.3 | 2.8 | 21.1 | 0.7 |
708
+ | 06 | 317.9 | 519.2 | **5.2** | **41.6** | 0.0 |
709
+ | 07 | 321.8 | **674.4** | 4.3 | 20.1 | 0.0 |
710
+ | 08 | 341.3 | 503.2 | 4.3 | 18.3 | 0.0 |
711
+ | 09 | 407.2 | 597.6 | 4.6 | 18.4 | 1.7 |
712
+ | 10 | 454.4 | 416.5 | 4.3 | 18.6 | **2.7** |
713
+ | 11 | 534.4 | 495.1 | 4.3 | 16.8 | 1.4 |
714
+ | 12 | 589.0 | 507.6 | 4.3 | 16.2 | 0.2 |
715
+ | 13 | **611.8** | 496.8 | 4.3 | 16.2 | 0.4 |
716
+ | 14 | 527.6 | 301.1 | 4.3 | 15.8 | 0.0 |
717
+ | 15 | 446.0 | 285.0 | 4.3 | 14.6 | 0.0 |
718
+ | 16 | 385.3 | 193.5 | 4.3 | 16.5 | 0.0 |
719
+ | 17 | 326.1 | 536.7 | 4.3 | 16.4 | 0.0 |
720
+ | 18 | 297.8 | 499.9 | 4.3 | 17.6 | 0.0 |
721
+ | 19 | 286.4 | 393.7 | **5.2** | 36.2 | 0.0 |
722
+ | 20 | 292.8 | 494.8 | 3.0 | 18.7 | 0.0 |
723
+ | 21 | 304.8 | 392.9 | 1.8 | 7.2 | 0.0 |
724
+ | 22 | 288.4 | 138.9 | 1.8 | 3.0 | 1.6 |
725
+ | 23 | 286.1 | 53.9 | 1.8 | 3.8 | 1.0 |
726
+
727
+ Drone detections are zero in every hour but 09 (26,619 arrivals summed across
728
+ the two flight dates).
729
+
730
+ Diurnal swing, max/min: camera captures **2.1×**, camera detections **12.5×**,
731
+ acoustic acquisition **2.9×**, acoustic detections **13.9×**. Detection profiles
732
+ are sharper than the acquisition profiles feeding them in every modality where
733
+ both are measurable.
734
+
735
+ These values come from the versioned v2 arrival traces. They supersede the
736
+ earlier unversioned arrival summaries, whose event definitions were not
737
+ recorded.
738
+
739
+ ---
740
+
741
+ ## S13.2 Field servicing effort
742
+
743
+ Derived from the Campaign-2 Jotform logs in
744
+ `thewilds_20250804_20250828/jotforms/` (two camera-trap exports, two
745
+ bioacoustic exports). Every row is one sensor servicing action with a `DateTime`
746
+ stamp, site ID, device ID, SD-card ID, team member, and free-text note.
747
+
748
+ | Trip | Actions | Window | Elapsed | Median gap between actions | People |
749
+ |:--|--:|:--|--:|--:|--:|
750
+ | 2025-08-04 | 8 | 08:58–10:41 | 103 min | 16.0 min | 3 |
751
+ | 2025-08-07 | 6 | 08:59–10:05 | 66 min | 3.0 min | 1 |
752
+ | 2025-08-11 | 9 | 09:32–10:48 | 76 min | 3.0 min | 2 |
753
+ | **Total** | **23** | | **245 min (4.1 h)** | | |
754
+
755
+ Breakdown of the 23 actions: 11 dropoff (deployment), 6 pickup (retrieval),
756
+ 5 check-in (status only, no SD or battery swap), 1 combined. By modality:
757
+ 12 acoustic, 11 camera.
758
+
759
+ Additional operational fields captured per action:
760
+
761
+ - **Access difficulty**, 1–3 scale — recorded on 15 of 23 actions
762
+ (rating 3: 9 actions; rating 1: 5; rating 2: 1)
763
+ - **Battery status** — e.g. 98%, 95%, 60%, "Low", "100%"
764
+ - **SD-card storage** — e.g. "7% full", "26% full", "5GB"
765
+ - **Camera heading** — compass octant, used by the camera-trap georeferencing
766
+ - **Relocation notes** — free text landmarks ("Zebra shelter", "Zip tower",
767
+ "Lake trail"), which is how the TW09-CT02 mid-deployment move was recovered
768
+ - **Team member name and email**
769
+
770
+
771
+ **Scope boundary:** this is measured elapsed field time for the three retained
772
+ mid-campaign Jotform exports only. Campaign-1 field notes have no clock times,
773
+ Aug. 28 retrieval submissions are absent from the retained exports, and no
774
+ per-stage analyst-time log exists. The release therefore reports no total
775
+ campaign field effort and no measured desk-processing hours.
776
+
777
+ **Coverage limits.** These exports cover the three mid-campaign trips only.
778
+ Campaign-1 field notes
779
+ (`thewilds_20250630_20250703/field_notes/*.md`) are narrative and contain no
780
+ clock times, and the 2025-08-28 retrieval visits do not appear in the exported
781
+ forms. So 4.1 h is logged servicing time, not total field effort.
782
+
783
+ **Not recorded anywhere:** analyst time per processing stage. Field visits were
784
+ logged with timestamps; the timestamp-repair and taxonomy-review work was not.
785
+ This asymmetry is requirement R7 in the paper.
786
+
787
+ ---
788
+
789
+ ## S14. Reproduction
790
+
791
+ Darwin Core generation:
792
+
793
+ The scripts live in the SmartWilds code repository (`scripts/`). Set
794
+ `SMARTWILDS_ARCHIVE` to the root of the field archive before running them; see
795
+ `scripts/README.md`.
796
+
797
+ ```bash
798
+ python scripts/darwin_core/generate_darwin_core.py --force
799
+ python scripts/arrival_traces/generate_arrival_traces_v2.py
800
+ ```
801
+
802
+ Camera-trap georeferencing:
803
+
804
+ ```bash
805
+ python scripts/georeferencing/geolocate_camera_trap_treeoflife_predictions.py \
806
+ --input-dir <archive>/processing_output/detections/camera_traps/methods_paper/annotations/sam3/treeoflife_sam3/predictions \
807
+ --config-csv scripts/georeferencing/camera_geolocation_config.csv \
808
+ --output-dir <archive>/processing_output/detections/camera_traps/methods_paper/annotations/sam3/treeoflife_sam3/geolocation/geolocated_predictions \
809
+ --overwrite
810
+ ```
811
+
812
+ Drone georeferencing:
813
+
814
+ ```bash
815
+ python scripts/georeferencing/geolocate_drone_treeoflife_predictions.py \
816
+ --prediction-dir <SAM3 per-video prediction CSVs> \
817
+ --detection-dir <archive>/processing_output/detections/drones \
818
+ --config-csv scripts/georeferencing/drone_projection_config.csv \
819
+ --output-dir <archive>/processing_output/detections/drones/geolocation/geolocated_predictions \
820
+ --overwrite
821
+ ```
822
+
823
+ ### S14.1 Release discipline
824
+
825
+ Integration passes are dated and immutable. Every mutation retains a
826
+ before-copy and emits a JSON audit record. Passes differ **semantically**,
827
+ not just additively — different visual-label semantics, corrected timestamps —
828
+ so comparing numbers across passes is invalid in a way that is not visible in
829
+ the numbers. **Any figure or table must name the release build it was computed
830
+ from.**
831
+
832
+ The 2026-10-22 release build supersedes the 2026-07-24 pass; each of its
833
+ repairs (S10, S3, S4, S16) has its own JSON audit record, shipped under
834
+ `metadata/provenance/`. The 2026-09-20 curated-bird update is reconstructible
835
+ from:
836
+
837
+ - `curated_bird_dwc_update_audit_20260920_015706.json`
838
+ - `curated_bird_event_sync_audit_20260920_020046.json`
839
+ - `curated_bird_project_sample_size_fix_20260920_020401.json`
840
+
841
+ ---
842
+
843
+ ## S15. Release logistics
844
+
845
+ Each modality is published as its own Hugging Face dataset with its own DOI,
846
+ and a study-level dataset holds the merged Event table, the text records, the
847
+ arrival traces, and this supplement. The [SmartWilds collection](https://huggingface.co/collections/imageomics/smartwilds) joins all five.
848
+ DOIs, the license, and the maintenance commitment will be listed here at
849
+ publication. Contact: Jenna M. Kline (kline.377@osu.edu).
850
+
851
+ ## S16. Defect inventory, in full
852
+
853
+ Every defect class found while integrating the SmartWilds campaigns (release
854
+ build 2026-10-22; camera tables updated 2026-11-08). **Detected by** is
855
+ what made the defect visible, grouped into five families: an external record
856
+ (service log, field note, platform documentation), a redundant encoding inside
857
+ the data, a cross-check between two artifacts, human inspection, or nothing.
858
+ Rows 19-20 had no second record and could be bounded but not repaired.
859
+ Rows 21-22 were found after the 2026-11-01 annotation update and were
860
+ repaired in the release build (row 21) and the 2026-11-08 camera update (row 22).
861
+
862
+ | # | Defect | Mod. | Scope | Detected by (family) | Repair | Residual risk |
863
+ |---:|---|---|---|---|---|---|
864
+ | 1 | Device clock wrong or unset | Cam | 221,306 / 235,778 images (93.9%) | Service log deploy/retrieve times (External record) | 18 per-deployment reconstruction methods (paper §timestamp reconstruction; S5) | 130,290 images (55.3%) only medium confidence |
865
+ | 2 | Clock reset to factory epoch | Cam | 2 deployments, 1 reporting year 2023 | Service log; implausible date on its face (External record) | Anchored offset from known deploy time | Offset assumed constant over deployment |
866
+ | 3 | Media split across SD cards with inconsistent clocks | Cam | TW02-CT01 (4 clock states), TW09-CT02 (2), TW06-CT04 (2), TW04-CT03 (2) | Card-level directory structure + service log (External record) | Per-card anchors reconciled against logs | Within-card drift unmodeled |
867
+ | 4 | Timestamp only in burned-in overlay | Cam | 182 images (TW06-CT05, TW09-CT05, TW11-CT06) | The image itself (redundant in-frame encoding) (Redundant encoding in data) | OCR of bottom overlay; 3 read manually | OCR errors on 179 automated reads |
868
+ | 5 | Camera mounted inverted | Cam | TW04-CT04, 570 images | Human review of imagery (Human inspection) | Flagged; images rotated downstream | --- |
869
+ | 6 | Camera relocated mid-deployment | Cam | TW09-CT02 (dock → Nomad Ridge W, Aug 18) | Field note recording the move (External record) | Split into two logical location intervals | Single `locationID` spans both |
870
+ | 7 | Battery exhaustion | Cam | TW02-CT01 Aug 18--25; TW02-CT03 C1 (55 files) | Capture gap vs. logged deployment window (Cross-check) | Recorded as a failure gap with cause | Lost observation window unrecoverable |
871
+ | 8 | Non-wildlife content (visitors) | Cam | TW07-CT05, whole deployment | Human review of imagery (Human inspection) | People-only imagery not uploaded; deployment excluded from release | Card disposition after field not documented |
872
+ | 9 | Recorder ran a schedule other than configured | ARU | TW05-SM01 C1 (144 files) | File inventory vs. intended config (Cross-check) | Actual schedule inferred and documented | Intended vs. actual effort differ |
873
+ | 10 | WAV files with no event record | ARU | 146 / 2,453 paths (6.0%) | File inventory vs. event table (Cross-check) | Classified per path: 64 zero-detection recordings added as Events; 78 transfer duplicates and 4 failed files excluded | 4 fragments/unreadable files unrecoverable |
874
+ | 11 | Heterogeneous telemetry schemas | Drone | 3 platforms, 3 formats, feet vs. metres | Platform documentation (External record) | Per-platform field mapping with unit conversion | Mapping assumptions per platform |
875
+ | 12 | Drone video not processed | Drone | 1 / 39 raw videos | File inventory vs. event table (Cross-check) | Reviewed (no usable content); retained as a zero-Occurrence `MediaEvent` | --- |
876
+ | 13 | Media references to purged scratch workspace | Drone | 16,069 frame paths, 307,260 Occ. | Resolving every `associatedMedia` path (Cross-check) | Replaced with the retained original video, flagged as a video-level fallback | Frame-level media link lost for those rows |
877
+ | 14 | Unreviewed fine-rank taxon labels | Cam, Drone | Merged snapshot: 550,722 Occ. `unverified` (99.6%); post-triage camera table: 71,009 Occ. `machine-resolved` (97.6%) | Human-annotated validation subsets (Human inspection) | Camera labels replaced by embedding-based triage with human review and a 2,067-box reference set (S9.1); drone labels kept `unverified`, with a seven-video human-annotated reference set (S9.2); accuracy reported per rank and per method | Drone species-rank labels include implausible taxa; triage label accuracy against the camera reference set not yet reported |
878
+ | 15 | Null written as the string `nan` | Drone | 41,524 / 318,203 Occ. (13.1%); 5 Events + 2 deployments | Date redundantly encoded in the `eventID`; time from the video containers cross-checked against the field log (Redundant encoding in data; External record) | Date restored from the identifier and flagged as derived (release build 2026-10-22); time of day recovered on 2026-11-10 from the video container creation times, with each aircraft's clock convention settled against reference flights and the field log and JotForm check-ins of the day (`provenance/drone_time_recovery_20250811.json`) | DJI clock convention is inferred from the field schedule, not verified on a reference flight; treat those times as minute-level |
879
+ | 16 | Impossible drone coordinates (`nan`, longitude ≈500) | Drone | 7 Events | Domain check on coordinate pairs (Cross-check) | Valid static video location if inside study area, else blank | Those Events lack a flight-level position |
880
+ | 17 | Curated records bypassed timestamp correction | Cam | 439 / 946 curated Occ. | Occurrence date outside parent deployment interval (Cross-check) | Re-timed from the corrected camera timestamp map (release build 2026-10-22) | --- |
881
+ | 18 | Root Event row absent from Event table | All | 1 dangling `parentEventID` | Referential check over the Event table (Cross-check) | Study root Event added; parent links validated | --- |
882
+ | 19 | Within-card clock drift | Cam | Up to 130,290 images | *none* (None (recorded once)) | Constant clock rate assumed | Unquantifiable timestamp error |
883
+ | 20 | True deployment / retrieval times | Cam | Deployment metadata known to contain errors | *none beyond the erroneous records* (None (recorded once)) | Corrected occurrence dates used instead | True camera-days not reportable |
884
+ | 21 | Manual starling supplement appended twice | Drone | 24 rows / 12 distinct `occurrenceID`s in the drone and merged Occurrence tables (2026-11-01) | Duplicate `occurrenceID` check (Cross-check) | Repaired in the release build: the 12 exact duplicate rows are dropped, leaving every `occurrenceID` unique (318,215 drone Occurrences) | --- |
885
+ | 22 | Merged snapshot and camera release disagree on camera labels | Cam | 224,149 first-generation vs 72,769 post-triage Occ.; 13 vs 19,762 camera Events | Row-count parity between the camera release tables and the merged table (Cross-check) | Not yet repaired; regenerate the merged snapshot and the camera detection-layer arrival traces from the post-triage tables | Cross-modal totals (552,964) and camera detection-layer traces describe the first-generation labels |
smartwilds-bioacoustics/CHECKSUMS.sha256 ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ d86e7f58cc3c67f7b55b6d109b044ff3b2235eb165c19bb087edebe34ea2b32a data/events.csv
2
+ aa2d08cc1e94004295a6912ea853ed8dc0cc7ab913ca11826fcd2df4ba96c679 data/occurrences.csv
3
+ 67ab601613c43f416bcaae134a92d5f20eda8600c40c2905e6ecb4ec6c8afc38 data/recordings.csv
4
+ 65ae30dcfeaeeaceb547aaa59c9e78edd18f6879a05dbc7a4bd04ed0f2d90a95 media_manifest.csv
5
+ 572cc32cd74a99399864581f83a1db0b3747eba7ed40176027b1e7f6b923ff4e metadata/DATA_DICTIONARY.md
6
+ 5337794469dacd255ff2e19c13e0693089d69add3bb3c7ae9db183ad0773404d metadata/birdnet_settings.csv
7
+ 0d588f548dcb81e9856194fdbcd369e32d86cc6509b80b2cb0662521e8cf4ed2 metadata/deployments.csv
8
+ 54f47cbccd361b3ca35d07595ce8941a890ed5cb40dc087176e11070e43c8c96 metadata/provenance/RAW_WAV_RECONCILIATION_20261008.md
9
+ e5b1a9730a77adf34d781b26682bac741b90019b02385a86163ba7cdf59b07fb metadata/provenance/bioacoustic_event_repair_20261008.json
10
+ 83cba7ad8d340c28ac25519c9bf7845e034dfcdd6ef16e8a62fedd3f8a55293d scripts/build_hf_release.py
11
+ 05ac332303b80a45edd9d9fe9f2927af25ebe126d9580c7aadb451cc0602068b scripts/reconcile_bioacoustic_raw_wavs.py
smartwilds-bioacoustics/README.md ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ language:
4
+ - en
5
+ pretty_name: SmartWilds Bioacoustics (The Wilds 2025)
6
+ task_categories:
7
+ - audio-classification
8
+ tags:
9
+ - biology
10
+ - ecology
11
+ - biodiversity
12
+ - bioacoustics
13
+ - passive-acoustic-monitoring
14
+ - birds
15
+ - birdnet
16
+ - darwin-core
17
+ - humboldt-eco
18
+ - fair2
19
+ - smartwilds
20
+ - the-wilds
21
+ - ohio
22
+ size_categories:
23
+ - 1K<n<10K
24
+ description: >-
25
+ 2,371 WAV recordings (215 GB) from 10 Song Meter Micro 2 deployments at six
26
+ sites at The Wilds (Ohio, USA), June-August 2025, with per-recorder duty
27
+ cycles, a one-row-per-file reconciliation table, and 9,960 Darwin Core
28
+ Occurrences (93,509 BirdNET detections across 128 bird species).
29
+
30
+ fair2_compliance:
31
+ findable:
32
+ doi: "" # pending the raw data release
33
+ metadata_registry: ["DataCite", "GBIF"]
34
+ accessible:
35
+ open_access: true
36
+ authentication_required: false
37
+ interoperable:
38
+ standards: ["Darwin Core", "Humboldt Eco", "FAIR2"]
39
+ reusable:
40
+ license_clear: true
41
+ provenance_documented: true
42
+ ai_ready:
43
+ machine_readable: true
44
+ structured_annotations: true
45
+
46
+ darwin_core:
47
+ event_coverage:
48
+ start_date: "2025-06-30"
49
+ end_date: "2025-08-28"
50
+ decimal_latitude: 39.83
51
+ decimal_longitude: -81.74
52
+ coordinate_uncertainty_meters: 5000
53
+ locality: "The Wilds, Cumberland, Muskingum County, Ohio, USA"
54
+ occurrence_info:
55
+ basis_of_record: "MachineObservation"
56
+ taxa_included: "Aves (128 species)"
57
+ sampling_protocol: "Scheduled passive acoustic recording; BirdNET Analyzer v2.4 classification"
58
+
59
+ sensors:
60
+ - type: "Autonomous recording unit"
61
+ manufacturer: "Wildlife Acoustics"
62
+ model: "Song Meter Micro 2"
63
+
64
+ configs:
65
+ - config_name: occurrences
66
+ data_files: data/occurrences.csv
67
+ - config_name: events
68
+ data_files: data/events.csv
69
+ - config_name: recordings
70
+ data_files: data/recordings.csv
71
+ ---
72
+
73
+ # Dataset Card for SmartWilds Bioacoustics
74
+
75
+ <img src="images/smartwilds-bioacoustics/deployment.jpg" alt="Song Meter Micro 2 recorder zip-tied to a branch, labeled SM03" width="520">
76
+
77
+ *A Wildlife Acoustics Song Meter Micro 2 (SM03) deployed in a tree at The Wilds.*
78
+
79
+ **Every retained acoustic recording from 10 recorder deployments at The Wilds in
80
+ summer 2025, the schedule each recorder actually ran, and the birds BirdNET
81
+ heard in each file.**
82
+
83
+ This is the bioacoustics dataset of the **SmartWilds** collection. Each modality
84
+ has its own dataset and DOI. They share one Darwin Core Event hierarchy rooted
85
+ at `TheWilds_2025` and are joined by the
86
+ [SmartWilds collection](https://huggingface.co/collections/ABC-Center/smartwilds-6af3c0aac0a67864cbf6edb4).
87
+
88
+ ## Dataset Details
89
+
90
+ - **Curated by:** Jenna M. Kline, Anirudh Potlapally, Elizabeth G. Campolongo
91
+ - **Homepage:** <https://github.com/Imageomics/smartwilds> (documentation: <https://imageomics.github.io/smartwilds/>)
92
+ - **Paper:** SmartWilds: Integrating, Aligning, and Documenting Multi-Modal Field Sensing Data (under review)
93
+ - **Release build:** 2026-10-22
94
+
95
+ | Campaign | Dates | Deployments | WAV released |
96
+ |---|---|---:|---:|
97
+ | 1 | 2025-06-30 to 2025-07-03 | 4 | 311 |
98
+ | 2 | 2025-08-04 to 2025-08-28 | 6 | 2,060 |
99
+
100
+ **Darwin Core tables.** The Event table has 2,382 rows: 1 `Project`, 10
101
+ `SensorDeployment`, and 2,371 `AudioRecording` Events, one per WAV file with its
102
+ start time. There are 9,960 Occurrences. Each Occurrence is one
103
+ **recording × species** pair, and `individualCount` gives the number of 3-second
104
+ BirdNET detections of that species in the file (93,509 in total).
105
+
106
+ ### Supported Tasks
107
+
108
+ - **Bird audio classification and re-labeling:** the raw WAV files plus the
109
+ BirdNET settings let you rerun BirdNET or swap in another classifier.
110
+ - **Duty-cycle and acquisition-workload studies:** each recorder ran a different
111
+ schedule (5 min/h, 15 min/h, sunrise-sunset continuous, 1 h at dawn and
112
+ dusk), so `metadata/deployments.csv` supports counterfactual sampling-effort
113
+ analyses.
114
+ - **Cross-modal comparison:** recorders sit beside the camera traps at
115
+ TW02, TW06, and TW09.
116
+
117
+ ## Dataset Structure
118
+
119
+ ```
120
+ smartwilds-bioacoustics/
121
+ ├── data/
122
+ │ ├── events.csv # Project, SensorDeployment, AudioRecording Events
123
+ │ ├── occurrences.csv # one row per recording x species
124
+ │ └── recordings.csv # one row per WAV path on disk (2,453): disposition
125
+ ├── media/ # media/<campaign>/<deployment>/<sd-card>/*.wav
126
+ ├── media_manifest.csv
127
+ ├── metadata/
128
+ │ ├── deployments.csv # recorder, site, GPS, schedule, WAV counts
129
+ │ ├── birdnet_settings.csv
130
+ │ └── provenance/ # raw-WAV reconciliation report, repair audit
131
+ └── scripts/
132
+ ```
133
+
134
+ `associatedMedia` on each `AudioRecording` Event and on each Occurrence gives
135
+ the release-relative path of the WAV file.
136
+
137
+ ### Sensor settings
138
+
139
+ All recorders are Wildlife Acoustics **Song Meter Micro 2**, 48 kHz.
140
+ `metadata/deployments.csv` records the schedule each recorder actually ran.
141
+ TW05-SM01 in Campaign 1 was configured for 1 h at sunrise and sunset but
142
+ recorded 5-minute clips every hour. The release documents the actual schedule
143
+ and notes the intended one.
144
+
145
+ | Schedule | Duty cycle | Recorders |
146
+ |---|---|---|
147
+ | 5 min every hour | 8.3% | TW05-SM01, TW06-SM03, TW08-SM04 (C1); TW02-SM04 (C2) |
148
+ | 15 min every hour | 25% | TW06-SM05 (C2) |
149
+ | Sunrise to sunset, continuous | ~50-60% | TW05-SM06, TW07-SM02, TW08-SM03, TW09-SM01 (C2) |
150
+ | 1 h at sunrise and sunset | ~8% | TW07-SM02 (C1) |
151
+
152
+ ### Annotation method
153
+
154
+ - **Method:** automated. No human verification (all rows are `unverified`).
155
+ - **Classifier:** BirdNET Analyzer v2.4, with 3.0 s segments, a 48 kHz sample
156
+ rate, and a 0-15 kHz bandpass.
157
+ - **Taxon fields:** filled from BirdNET common-name mappings.
158
+ - **Coordinates:** the recorder location, not the animal location.
159
+
160
+ ## Dataset Creation
161
+
162
+ ### Raw-WAV reconciliation
163
+
164
+ There are 2,453 WAV paths on disk. `data/recordings.csv` classifies every one:
165
+
166
+ | Disposition | Files |
167
+ |---|---:|
168
+ | Released, with detections | 2,307 |
169
+ | Released, BirdNET ran but detected nothing (Event, no Occurrence) | 64 |
170
+ | Excluded: Campaign-1 files copied into a Campaign-2 directory (transfer duplicates) | 78 |
171
+ | Excluded: no BirdNET result, either truncated (3.9-22 s) or unreadable | 4 |
172
+
173
+ The zero-detection recordings are kept as Events. This lets a user tell
174
+ "recorded, nothing heard" apart from "not recorded".
175
+
176
+ ## Considerations for Using the Data
177
+
178
+ - **`individualCount` counts detections, not birds.** A singing bird produces
179
+ many 3-second detections.
180
+ - **No confidence threshold is recorded per Occurrence.** Re-run BirdNET from the
181
+ WAV files if you need score-level control.
182
+ - **Acquisition is driven by the schedule.** Arrival burstiness is low
183
+ (B ≈ +0.10). Detection burstiness is high (B ≈ +0.53) and concentrated in the
184
+ dawn chorus.
185
+
186
+ ## Supplemental Material
187
+
188
+ Extended inventories, the timestamp-repair methods, the standards crosswalk,
189
+ validation checks, and the full defect inventory are in
190
+ [`SUPPLEMENTAL.md`](https://huggingface.co/datasets/ABC-Center/smartwilds_metadata/blob/main/SUPPLEMENTAL.md)
191
+ in the study-level SmartWilds dataset.
192
+
193
+ ## Licensing
194
+
195
+ Data: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). Scripts: MIT.
196
+
197
+ ## Citation
198
+
199
+ ```bibtex
200
+ @misc{smartwilds2025_bioacoustics,
201
+ author = {Kline, Jenna M. and Potlapally, Anirudh and Campolongo, Elizabeth G.},
202
+ title = {SmartWilds Bioacoustics (The Wilds 2025)},
203
+ year = {2026},
204
+ publisher = {Hugging Face},
205
+ note = {DOI pending the raw data release},
206
+ url = {https://huggingface.co/datasets/ABC-Center/smartwilds_metadata/tree/main/smartwilds-bioacoustics}
207
+ }
208
+ ```
209
+
210
+ Please also cite the paper:
211
+
212
+ ```bibtex
213
+ @article{kline2026smartwilds,
214
+ author = {Kline, Jenna M. and Potlapally, Anirudh and Campolongo, Elizabeth G.},
215
+ title = {SmartWilds: Integrating, Aligning, and Documenting Multi-Modal Field Sensing Data},
216
+ year = {2026},
217
+ note = {Under review}
218
+ }
219
+ ```
220
+
221
+ This dataset card follows the [FAIR² Drones Data Standard](https://imageomics.github.io/fair_drones/)
222
+ (Kline and Campolongo, 2026).
223
+
224
+ ## Acknowledgements
225
+
226
+ This project is supported by the [Imageomics Institute](https://imageomics.org), which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning), and by the [AI Institute for Intelligent Cyberinfrastructure with Computational Learning in the Environment (ICICLE)](https://icicle.osu.edu/), which is funded by the US National Science Foundation under [Award #2112606](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2112606).
227
+
228
+ This work is also supported by the AI and Biodiversity Change (ABC) Global Center. The ABC Global Center is funded by the US National Science Foundation under [Award No. 2330423](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2330423&HistoricalAwards=false) and the Natural Sciences and Engineering Research Council of Canada under [Award No. 585136](https://www.nserc-crsng.gc.ca/ase-oro/Details-Detailles_eng.asp?id=782440). This dataset draws on research supported by the Social Sciences and Humanities Research Council.
229
+
230
+ Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation, Natural Sciences and Engineering Research Council of Canada, or Social Sciences and Humanities Research Council.
231
+
232
+ Special thanks to Dan Beetem and [The Wilds](https://www.thewilds.org/) in Ohio for providing access to deployment sites and supporting this wildlife monitoring research. We thank the Columbus Zoo and Aquarium for their support in facilitating this project. All data collection, including drone flights, was conducted under the supervision of the Director of Animal Management, with permission from The Wilds Animal Care and Use Committee.
233
+
234
+ This work used the [Ohio Supercomputer Center](https://www.osc.edu/) (Ohio Supercomputer Center. 1987. Ohio Supercomputer Center. Columbus OH: Ohio Supercomputer Center. <https://ror.org/01apna436>).
235
+
236
+ ## Dataset Card Contact
237
+
238
+ Jenna M. Kline (kline.377@osu.edu)
smartwilds-bioacoustics/data/events.csv ADDED
The diff for this file is too large to render. See raw diff
 
smartwilds-bioacoustics/data/occurrences.csv ADDED
The diff for this file is too large to render. See raw diff
 
smartwilds-bioacoustics/data/recordings.csv ADDED
The diff for this file is too large to render. See raw diff
 
smartwilds-bioacoustics/media_manifest.csv ADDED
The diff for this file is too large to render. See raw diff
 
smartwilds-bioacoustics/metadata/DATA_DICTIONARY.md ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # smartwilds-bioacoustics data dictionary
2
+
3
+ Generated by `scripts/build_hf_release.py`. Darwin Core term definitions: <https://dwc.tdwg.org/terms/>. Columns not listed in a Darwin Core namespace are SmartWilds-specific.
4
+
5
+ ## `data/events.csv`
6
+
7
+ 2,382 rows.
8
+
9
+ | Column | Description | Example |
10
+ |---|---|---|
11
+ | `eventID` | Darwin Core: unique Event identifier | TheWilds_2025_bioacoustics |
12
+ | `parentEventID` | Darwin Core: eventID of the parent Event | TheWilds_2025 |
13
+ | `eventType` | Darwin Core: Project, SensorDeployment, AudioRecording, MediaEvent, or ObservationSession | Project |
14
+ | `eventDate` | Darwin Core: ISO 8601 date or date interval (start/end) | 2025-06-30/2025-08-28 |
15
+ | `samplingProtocol` | Darwin Core: sensor, schedule, and processing chain | Passive acoustic monitoring using Wildlife Acoustics Song Me… |
16
+ | `sampleSizeValue` | Darwin Core: sample size | 1 |
17
+ | `sampleSizeUnit` | Darwin Core: unit of sampleSizeValue | WAV recording |
18
+ | `locality` | Darwin Core: named place | The Wilds Conservation Center, Muskingum County, Ohio, USA |
19
+ | `locationID` | Darwin Core: site (TWxx) for fixed sensors; flight ID for drones | TW05 |
20
+ | `decimalLatitude` | Darwin Core: WGS84; see dataGeneralizations for what the point represents | 39.83 |
21
+ | `decimalLongitude` | Darwin Core: WGS84 | -81.74 |
22
+ | `coordinateUncertaintyInMeters` | Darwin Core: meters | 5000 |
23
+ | `geodeticDatum` | Darwin Core: WGS84 | WGS84 |
24
+ | `country` | | United States |
25
+ | `stateProvince` | | Ohio |
26
+ | `county` | | Muskingum |
27
+ | `datasetID` | Darwin Core: modality dataset identifier | TheWilds_2025_bioacoustics |
28
+ | `datasetName` | Darwin Core | The Wilds 2025 Multi-Modal Survey - Bioacoustics |
29
+ | `recordedBy` | Darwin Core: device or team | Tanishka Wani; Jenna Kline |
30
+ | `fieldNotes` | Darwin Core: provenance and field notes | 10 Song Meter Micro 2 deployments across 6 sites, 2 campaign… |
31
+ | `eventTime` | Darwin Core: local time (or interval); blank when not recoverable | 07:48:02 |
32
+ | `associatedMedia` | Darwin Core: release-relative path to the source media file | media/thewilds_20250804_20250828/TW09-SM01/Data/SM01_2025082… |
33
+
34
+ ## `data/occurrences.csv`
35
+
36
+ 9,960 rows.
37
+
38
+ | Column | Description | Example |
39
+ |---|---|---|
40
+ | `occurrenceID` | Darwin Core: unique Occurrence identifier | TheWilds_2025_ARU_000001 |
41
+ | `eventID` | Darwin Core: unique Event identifier | TheWilds_2025_ARU_SM01_20250824_074802 |
42
+ | `catalogNumber` | Darwin Core: source record identifier | ARU_SM01_20250824_074802_Belted_Kingfisher |
43
+ | `scientificName` | Darwin Core: top-1 model or annotator taxon | Megaceryle alcyon |
44
+ | `kingdom` | Darwin Core: rank | Animalia |
45
+ | `phylum` | Darwin Core: rank | Chordata |
46
+ | `class` | Darwin Core: rank | Aves |
47
+ | `order` | Darwin Core: rank | |
48
+ | `family` | Darwin Core: rank | |
49
+ | `genus` | Darwin Core: rank | Megaceryle |
50
+ | `specificEpithet` | Darwin Core: rank | alcyon |
51
+ | `taxonRank` | Darwin Core: rank of scientificName | species |
52
+ | `vernacularName` | Darwin Core: common name | Belted Kingfisher |
53
+ | `occurrenceStatus` | Darwin Core: present | present |
54
+ | `individualCount` | Darwin Core: 1 per visual crop; number of BirdNET detections for acoustic rows | 662 |
55
+ | `basisOfRecord` | Darwin Core: MachineObservation or HumanObservation | MachineObservation |
56
+ | `recordedBy` | Darwin Core: device or team | Song Meter Micro 2 (SM01) |
57
+ | `identifiedBy` | Darwin Core: model (and version) or annotator | BirdNET Analyzer v2.4 |
58
+ | `identificationVerificationStatus` | Darwin Core: verification status; the vocabulary differs by table (SUPPLEMENTAL.md S9.3) | unverified |
59
+ | `identificationRemarks` | Darwin Core: rank, top-1 score, bbox xywh (px), detector label | Automated classification by BirdNET; 662 detection(s) in rec… |
60
+ | `eventDate` | Darwin Core: ISO 8601 date or date interval (start/end) | 2025-08-24 |
61
+ | `eventTime` | Darwin Core: local time (or interval); blank when not recoverable | 07:48:02 |
62
+ | `decimalLatitude` | Darwin Core: WGS84; see dataGeneralizations for what the point represents | 39.83418 |
63
+ | `decimalLongitude` | Darwin Core: WGS84 | -81.73783 |
64
+ | `coordinateUncertaintyInMeters` | Darwin Core: meters | 50 |
65
+ | `geodeticDatum` | Darwin Core: WGS84 | WGS84 |
66
+ | `locality` | Darwin Core: named place | The Wilds - Dock |
67
+ | `locationID` | Darwin Core: site (TWxx) for fixed sensors; flight ID for drones | TW09 |
68
+ | `country` | | United States |
69
+ | `stateProvince` | | Ohio |
70
+ | `county` | | Muskingum |
71
+ | `establishmentMeans` | | wild |
72
+ | `degreeOfEstablishment` | | native |
73
+ | `occurrenceRemarks` | Darwin Core: projection status, timestamp method, repair notes (key=value; ...) | |
74
+ | `associatedMedia` | Darwin Core: release-relative path to the source media file | media/thewilds_20250804_20250828/TW09-SM01/Data/SM01_2025082… |
75
+ | `datasetID` | Darwin Core: modality dataset identifier | TheWilds_2025_bioacoustics |
76
+ | `datasetName` | Darwin Core | The Wilds 2025 Multi-Modal Survey - Bioacoustics |
77
+
78
+ ## `data/recordings.csv`
79
+
80
+ 2,453 rows.
81
+
82
+ | Column | Description | Example |
83
+ |---|---|---|
84
+ | `release_path` | Path of the file inside this dataset | media/thewilds_20250630_20250703/TW05-SM01/SD01_20250630_202… |
85
+ | `raw_wav_path` | | thewilds_20250630_20250703/bioacoustics/TW05-SM01/SD01_20250… |
86
+ | `source_campaign_directory` | | campaign1 |
87
+ | `deploymentID` | | TW05-SM01 |
88
+ | `recording_file` | | SM001_20250630_195900.wav |
89
+ | `recording_date` | | 2025-06-30 |
90
+ | `recording_time` | | 19:59:00 |
91
+ | `in_source_campaign_window` | | true |
92
+ | `wav_bytes` | | 14401138 |
93
+ | `wav_header_status` | | not_checked_release_represented_or_transfer |
94
+ | `duration_seconds` | | 12.629333 |
95
+ | `birdnet_result_path` | | BioacousticAnalysis/BirdnetCSV_SunriseSunset/SM001_20250630_… |
96
+ | `birdnet_result_status` | | nonempty |
97
+ | `darwin_core_eventID` | | TheWilds_2025_ARU_SM01_20250630_195900 |
98
+ | `reconciliation_status` | | represented_recording |
99
+ | `release_disposition` | | included_as_AudioRecording_Event |
100
+
101
+ ## `media_manifest.csv`
102
+
103
+ 2,475 rows.
104
+
105
+ | Column | Description | Example |
106
+ |---|---|---|
107
+ | `release_path` | Path of the file inside this dataset | media/thewilds_20250630_20250703/TW05-SM01/SD01_20250630_202… |
108
+ | `source_path` | Path in the project archive | thewilds_20250630_20250703/bioacoustics/TW05-SM01/SD01_20250… |
109
+ | `bytes` | File size | 14401138 |
110
+ | `include` | true if the file is distributed in media/ | true |
111
+ | `exclusion_reason` | Why a file is not distributed | excluded_from_release:transfer_duplicate |
112
+
113
+ ## `metadata/birdnet_settings.csv`
114
+
115
+ 1 rows.
116
+
117
+ | Column | Description | Example |
118
+ |---|---|---|
119
+ | `software` | | BirdNET Analyzer |
120
+ | `version` | | 2.4 |
121
+ | `segment_length_s` | | 3.0 |
122
+ | `sample_rate_hz` | | 48000 |
123
+ | `bandpass_hz` | | 0-15000 |
124
+ | `occurrence_unit` | | one row per recording x species; individualCount = detection… |
125
+
126
+ ## `metadata/deployments.csv`
127
+
128
+ 10 rows.
129
+
130
+ | Column | Description | Example |
131
+ |---|---|---|
132
+ | `deploymentID` | | TW05-SM01 |
133
+ | `model` | | Wildlife Acoustics Song Meter Micro 2 |
134
+ | `Recorder` | | SM01 |
135
+ | `Site` | | TW05 - Lake Trail Gate O |
136
+ | `GPS` | | 39.83537, -81.73842 |
137
+ | `Orientation` | | East |
138
+ | `Height` | | ~1.5m |
139
+ | `Recording Schedule` | | 5-min clips every hour (intended 1hr sunrise/sunset — config… |
140
+ | `WAV Count` | | 144 |
141
+ | `Storage` | | — |
142
+ | `campaign` | | thewilds_20250630_20250703 |
143
+ | `Deploy` | | Aug 4 |
144
+ | `Retrieve` | | Aug 28 |
145
+ | `wav_paths` | | 144 |
146
+ | `wav_released` | | 144 |
147
+
smartwilds-bioacoustics/metadata/birdnet_settings.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ software,version,segment_length_s,sample_rate_hz,bandpass_hz,occurrence_unit
2
+ BirdNET Analyzer,2.4,3.0,48000,0-15000,one row per recording x species; individualCount = detections
smartwilds-bioacoustics/metadata/deployments.csv ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ deploymentID,model,Recorder,Site,GPS,Orientation,Height,Recording Schedule,WAV Count,Storage,campaign,Deploy,Retrieve,wav_paths,wav_released
2
+ TW05-SM01,Wildlife Acoustics Song Meter Micro 2,SM01,TW05 - Lake Trail Gate O,"39.83537, -81.73842",East,~1.5m,5-min clips every hour (intended 1hr sunrise/sunset — config error),144,—,thewilds_20250630_20250703,,,144,144
3
+ TW06-SM03,Wildlife Acoustics Song Meter Micro 2,SM03,TW06 - Zebra Shelter,"39.83518, -81.73087",Southeast,2m,"5 min every hour, top of hour, 24/7",77,—,thewilds_20250630_20250703,,,77,77
4
+ TW07-SM02,Wildlife Acoustics Song Meter Micro 2,SM02,TW07 - Zipline Tower,"39.83288, -81.73455",Southwest,~1.5m,1hr at sunrise + 1hr at sunset,12,—,thewilds_20250630_20250703,,,12,12
5
+ TW08-SM04,Wildlife Acoustics Song Meter Micro 2,SM04,TW08 - Fence w/ Vegetation,"39.82900, -81.74378",Southwest,~1.5m,"5 min every hour, top of hour, 24/7",78,—,thewilds_20250630_20250703,,,78,78
6
+ TW02-SM04,Wildlife Acoustics Song Meter Micro 2,SM04,TW02 - Nomad Ridge Shelter,"39.82957, -81.73295",,,5 min every hour,659,26.06 GB,thewilds_20250804_20250828,Aug 4,Aug 28,659,581
7
+ TW05-SM06,Wildlife Acoustics Song Meter Micro 2,SM06,TW05 - Lake Trail Gate O,"39.82866, -81.73758",,,Sunrise to sunset (continuous),100,16.62 GB,thewilds_20250804_20250828,Aug 4,Aug 28,100,96
8
+ TW06-SM05,Wildlife Acoustics Song Meter Micro 2,SM05,TW06 - Zebra Shelter,"39.82870, -81.73756",,,15 min every hour,508,21.82 GB,thewilds_20250804_20250828,Aug 4,Aug 28,508,508
9
+ TW07-SM02,Wildlife Acoustics Song Meter Micro 2,SM02,TW07 - Zipline Tower,"39.82891, -81.74392",,,Sunrise to sunset (continuous),339,56.44 GB,thewilds_20250804_20250828,Aug 4,Aug 28,339,339
10
+ TW08-SM03,Wildlife Acoustics Song Meter Micro 2,SM03,TW08 - Fence w/ Vegetation,"39.82892, -81.74392",,,Sunrise to sunset (continuous),341,56.69 GB,thewilds_20250804_20250828,Aug 4,Aug 28,341,341
11
+ TW09-SM01,Wildlife Acoustics Song Meter Micro 2,SM01,TW09 - Dock,"39.83418, -81.73783",,,Sunrise to sunset (continuous),195,32.38 GB,thewilds_20250804_20250828,Aug 14,Aug 28,195,195
smartwilds-bioacoustics/metadata/provenance/RAW_WAV_RECONCILIATION_20261008.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Raw WAV Reconciliation
2
+
3
+ ## Outcome
4
+
5
+ The corrected release has **2,371 unique `AudioRecording` Events**. It contains
6
+ no duplicate Event for transferred raw media and keeps the existing 9,960
7
+ BirdNET Occurrences unchanged.
8
+
9
+ | Raw-file disposition | Files | Release treatment |
10
+ | --- | ---: | --- |
11
+ | Represented recording | 2307 | One `AudioRecording` Event |
12
+ | Processed, zero detections | 64 | One `AudioRecording` Event; no Occurrence |
13
+ | Transfer duplicate | 78 | Excluded; source belongs to another campaign/deployment |
14
+ | Truncated/corrupt, unprocessed | 4 | Excluded; no BirdNET result |
15
+ | **Raw files on disk** | **2453** | **Reconciled** |
16
+
17
+ ## Why The Earlier Count Was Misleading
18
+
19
+ The former comparison of 2,453 raw WAV files with 2,307 Events treated every
20
+ physical file path as a separate capture. Seventy-eight Campaign-1 WAVs were
21
+ transferred into the Campaign-2 `TW02-SM04/Data` directory; they are duplicate
22
+ transfers, not new Campaign-2 recordings. The remaining 68 unmatched
23
+ in-window files divide into 64 successfully processed files with header-only
24
+ BirdNET results (zero detections) and four truncated/corrupt files with no
25
+ BirdNET result.
26
+
27
+ The 64 zero-detection recordings are now represented as Events with a field
28
+ note identifying the header-only BirdNET result. They deliberately generate no
29
+ Occurrence. The four failures remain out of the Event table and are listed in
30
+ the accompanying CSV with their header status and duration.
31
+
32
+ ## Integrity Checks
33
+
34
+ - Every `AudioRecording` Event has a unique recording key: deployment, recorder,
35
+ date, and time.
36
+ - The 78 transfer duplicates never create a second Event.
37
+ - All 9,960 Occurrences retain valid Event links.
38
+ - The CSV provides one row per raw WAV path, including path, deployment, file size, BirdNET-result status, final Event ID,
39
+ and release disposition. Header status and duration are recorded for the four
40
+ unrepresented files that require failure evidence.
smartwilds-bioacoustics/metadata/provenance/bioacoustic_event_repair_20261008.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repair": "bioacoustic AudioRecording completeness and raw-WAV reconciliation",
3
+ "snapshot": "integration_pass_20261022",
4
+ "raw_wav_files": 2453,
5
+ "audio_recording_events": 2371,
6
+ "occurrences_unchanged": 9960,
7
+ "reconciliation_status_counts": {
8
+ "processed_zero_detection": 64,
9
+ "represented_recording": 2307,
10
+ "transfer_duplicate": 78,
11
+ "truncated_or_corrupt_unprocessed": 4
12
+ },
13
+ "release_policy": {
14
+ "transfer_duplicate": "excluded; no duplicate Event",
15
+ "processed_zero_detection": "included as Event with no Occurrence",
16
+ "truncated_or_corrupt_unprocessed": "excluded; documented in reconciliation CSV"
17
+ }
18
+ }
smartwilds-bioacoustics/scripts/build_hf_release.py ADDED
@@ -0,0 +1,716 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Stage the SmartWilds per-modality Hugging Face dataset directories.
3
+
4
+ One directory per modality (camera traps, bioacoustics, drones, citizen
5
+ science) plus the umbrella ``smartwilds`` dataset, each laid out like
6
+ imageomics/kabr-behavior-telemetry:
7
+
8
+ <repo>/README.md dataset card (filled in separately)
9
+ <repo>/data/events.csv Darwin Core Event table
10
+ <repo>/data/occurrences.csv Darwin Core Occurrence table
11
+ <repo>/data/... modality-specific per-file tables
12
+ <repo>/metadata/ sensor settings, data dictionary, provenance
13
+ <repo>/scripts/ generator / georeferencing / this script
14
+ <repo>/media_manifest.csv one row per raw file: release path, bytes,
15
+ include flag, exclusion reason
16
+
17
+ Inputs are the frozen Darwin Core tables of the integration pass
18
+ (``SMARTWILDS_DWC_SNAPSHOT``) and the validated post-triage camera derivative
19
+ (``SMARTWILDS_CAMERA_SOURCE``). Neither is modified. The staged copies get one
20
+ release repair, audited in ``RELEASE_BUILD_AUDIT.json``: ``associatedMedia`` is
21
+ rewritten from absolute archive paths to release-relative ``media/...`` paths,
22
+ and drone frames in the purged scratch workspace fall back to their retained
23
+ original video.
24
+
25
+ Media files are NOT copied here. ``media_manifest.csv`` is the packaging input.
26
+
27
+ Locations are read from environment variables, all optional:
28
+
29
+ SMARTWILDS_ARCHIVE field archive root (default: this repository)
30
+ SMARTWILDS_DWC_SNAPSHOT frozen Darwin Core tables
31
+ SMARTWILDS_CAMERA_SOURCE validated camera derivative
32
+ SMARTWILDS_RELEASE output directory (also ``--out``)
33
+ SMARTWILDS_PUBLIC_SCRIPTS the public scripts shipped inside each dataset
34
+ SMARTWILDS_SCRATCH_PREFIX prefix of purged scratch frame paths in the tables
35
+ SMARTWILDS_DETECTIONS prefix of the external detection workspace
36
+
37
+ Usage:
38
+ python release/scripts/build_hf_release.py [--out DIR] [--only REPO ...]
39
+ """
40
+ import argparse
41
+ import hashlib
42
+ import json
43
+ import os
44
+ import re
45
+ import shutil
46
+ import subprocess
47
+ import sys
48
+ from datetime import datetime, timezone
49
+ from pathlib import Path
50
+
51
+ import pandas as pd
52
+
53
+ def env_path(name, default):
54
+ return Path(os.environ.get(name, default)).resolve()
55
+
56
+
57
+ ROOT = env_path("SMARTWILDS_ARCHIVE", Path(__file__).resolve().parents[2])
58
+ SNAP = env_path("SMARTWILDS_DWC_SNAPSHOT", ROOT / "processing_output/darwin_core_latest_20261008")
59
+ CAMERA_SOURCE = env_path("SMARTWILDS_CAMERA_SOURCE", ROOT / "archive/camera_traps_validated_20261108")
60
+ RELEASE_DIR = env_path("SMARTWILDS_RELEASE", ROOT / "release/hf_smartwilds_20261022")
61
+ PUBLIC_SCRIPTS = env_path("SMARTWILDS_PUBLIC_SCRIPTS", ROOT / "public/smartwilds/scripts")
62
+ TS_MAP = ROOT / "processing_output/detections/drone_camera_analysis/camera_time_mapping"
63
+ SENSOR_MD = ROOT / "documentation/sensor_configurations.md"
64
+ CARDS = ROOT / "release/cards"
65
+ CAMPAIGNS = ["thewilds_20250630_20250703", "thewilds_20250804_20250828", "thewilds_20250908_20250908"]
66
+ PROJECT_PREFIX = str(ROOT) + "/"
67
+ # Prefixes of absolute paths that may still appear inside the frozen tables.
68
+ SCRATCH_PREFIX = os.environ.get("SMARTWILDS_SCRATCH_PREFIX", "") # purged drone frame workspace
69
+ DETECTIONS_PREFIX = os.environ.get("SMARTWILDS_DETECTIONS", "") # external detection workspaces
70
+ if DETECTIONS_PREFIX and not DETECTIONS_PREFIX.endswith("/"):
71
+ DETECTIONS_PREFIX += "/"
72
+ # Anything under the same filesystem roots as the known prefixes counts as an
73
+ # archive path (e.g. "/fs/ess/" for "/fs/ess/<project>/TheWilds2025/").
74
+ CLUSTER_MARKERS = sorted({"/".join(m.split("/")[:3]) + "/" for m in (PROJECT_PREFIX, SCRATCH_PREFIX, DETECTIONS_PREFIX)
75
+ if m and m.startswith("/")})
76
+ STUDY_START, STUDY_END = "2025-06-30", "2025-09-08"
77
+
78
+ REPOS = {
79
+ "camera_traps": "smartwilds-camera-traps",
80
+ "bioacoustics": "smartwilds-bioacoustics",
81
+ "drones": "smartwilds-drones",
82
+ "citizen_science": "smartwilds-citizen-science",
83
+ "core": "smartwilds",
84
+ }
85
+
86
+ audit = {"inputs": {"snapshot": str(SNAP), "camera_source": str(CAMERA_SOURCE)}, "built_utc": None,
87
+ "repos": {}, "blocked": [], "errors": []}
88
+
89
+
90
+ def read(path, **kw):
91
+ return pd.read_csv(path, dtype=str, keep_default_na=False, **kw)
92
+
93
+
94
+ def readable(path):
95
+ return os.access(path, os.R_OK)
96
+
97
+
98
+ def sha256(path, buf=1 << 20):
99
+ h = hashlib.sha256()
100
+ with open(path, "rb") as f:
101
+ for chunk in iter(lambda: f.read(buf), b""):
102
+ h.update(chunk)
103
+ return h.hexdigest()
104
+
105
+
106
+ def rel_media(abs_path):
107
+ """<archive>/<campaign>/<modality>/<rest> -> media/<campaign>/<rest>."""
108
+ if not abs_path.startswith(PROJECT_PREFIX):
109
+ return None
110
+ parts = abs_path[len(PROJECT_PREFIX):].split("/")
111
+ if parts[0] not in CAMPAIGNS or len(parts) < 3:
112
+ return None
113
+ return "/".join(["media", parts[0]] + parts[2:])
114
+
115
+
116
+ BIRD_WATER = ROOT / "processing_output/detections/drone_camera_analysis/aquatic_bird_analysis/bird_water_association_per_box.csv"
117
+ PATH_REWRITES = [(str(BIRD_WATER), "analysis/bird_water_association_per_box.csv")]
118
+ if DETECTIONS_PREFIX:
119
+ PATH_REWRITES.append((DETECTIONS_PREFIX, "external_detections/"))
120
+ PATH_REWRITES.append((PROJECT_PREFIX, "TheWilds2025/"))
121
+
122
+
123
+ def has_cluster_path(col):
124
+ return any(col.str.contains(m, regex=False).any() for m in CLUSTER_MARKERS)
125
+
126
+
127
+ def count_cluster_paths(df):
128
+ return int(sum(df[c].str.contains(m, regex=False).sum() for c in df.columns for m in CLUSTER_MARKERS))
129
+
130
+
131
+ def strip_cluster_paths(df):
132
+ """Rewrite remaining absolute archive paths in free-text columns to
133
+ release-relative (shipped) or project-relative (provenance-only) forms."""
134
+ for c in df.columns:
135
+ col = df[c]
136
+ if has_cluster_path(col):
137
+ for a, b in PATH_REWRITES:
138
+ col = col.str.replace(a, b, regex=False)
139
+ df[c] = col
140
+ return df
141
+
142
+
143
+ def scrub_text_copy(src, dst, extra=()):
144
+ """Copy a text file (JSON, Markdown), rewriting archive paths and the
145
+ provenance tokens of the camera derivative."""
146
+ text = Path(src).read_text()
147
+ rewrites = list(PATH_REWRITES) + list(ARRIVAL_TOKEN_REWRITES) + [(SNAP.name, "integration_pass_20261022")] + list(extra)
148
+ for a, b in rewrites:
149
+ text = text.replace(a, b)
150
+ Path(dst).write_text(text)
151
+
152
+
153
+ # Files written by earlier builds that the current build no longer produces.
154
+ STALE = ["scripts/generate_darwin_core_latest_20261008.py", "scripts/refresh_icde_camera_arrival_metadata.py",
155
+ "analysis/arrival_traces_v2/DEPRECATED_LEGACY_PRIMITIVES.md",
156
+ "analysis/arrival_traces_v2/UNAVAILABLE_CAMERA_IMAGE_CAPTURE_ACQUISITION.md",
157
+ "analysis/bird_water_association_per_box.csv"]
158
+
159
+
160
+ def atomic_write(path, writer):
161
+ """Write through a temp file and rename, so files owned by another team
162
+ member (and read-only to us) are replaced rather than opened for writing."""
163
+ path.parent.mkdir(parents=True, exist_ok=True)
164
+ temp = path.with_name(f".{path.name}.tmp")
165
+ try:
166
+ writer(temp)
167
+ temp.replace(path)
168
+ finally:
169
+ temp.unlink(missing_ok=True)
170
+
171
+
172
+ def parse_md_tables(md_path):
173
+ """Return {"## section / ### heading": DataFrame} for every pipe table."""
174
+ tables, section, heading, rows = {}, "", None, []
175
+ for line in Path(md_path).read_text().splitlines() + [""]:
176
+ if line.startswith("## "):
177
+ section = heading = line[3:].strip()
178
+ elif line.startswith("### "):
179
+ heading = section + " / " + line[4:].strip()
180
+ if line.startswith("|"):
181
+ cells = [c.strip() for c in line.strip().strip("|").split("|")]
182
+ if not all(re.fullmatch(r":?-+:?", c) for c in cells):
183
+ rows.append(cells)
184
+ elif rows:
185
+ tables[heading] = pd.DataFrame(rows[1:], columns=rows[0])
186
+ rows = []
187
+ return tables
188
+
189
+
190
+ def media_inventory(modality, exclude=lambda rel: None):
191
+ """One row per raw file under every campaign's <modality>/ directory."""
192
+ rows = []
193
+ for camp in CAMPAIGNS:
194
+ base = ROOT / camp / modality
195
+ if not base.is_dir():
196
+ continue
197
+ for dirpath, _, files in os.walk(base):
198
+ for fn in files:
199
+ src = Path(dirpath) / fn
200
+ rel = rel_media(str(src))
201
+ reason = exclude(rel) or ""
202
+ try:
203
+ size = src.stat().st_size
204
+ except OSError:
205
+ size, reason = "", reason or "unreadable_source"
206
+ rows.append({"release_path": rel, "source_path": str(src.relative_to(ROOT)),
207
+ "bytes": size, "include": "false" if reason else "true",
208
+ "exclusion_reason": reason})
209
+ return pd.DataFrame(rows).sort_values("release_path").reset_index(drop=True)
210
+
211
+
212
+ def check_tables(name, ev, oc, manifest, extra_event_ids=()):
213
+ """Release checks the snapshot audit lacked: dates inside parent spans,
214
+ sentinel strings, and every associatedMedia resolving to an included file."""
215
+ res = {}
216
+ ids = set(ev.eventID) | set(extra_event_ids)
217
+ res["events"], res["occurrences"] = len(ev), len(oc)
218
+ res["dangling_parentEventID"] = sorted({p for p in ev.parentEventID if p and p not in ids})
219
+ res["occurrences_without_event"] = int((~oc.eventID.isin(ids)).sum())
220
+ sentinel = re.compile(r"^(nan|none|null|-1|1970-01-01)$", re.I)
221
+ res["sentinel_cells"] = {f"{t}.{c}": int(df[c].str.match(sentinel).sum())
222
+ for t, df in (("events", ev), ("occurrences", oc)) for c in df.columns
223
+ if df[c].str.match(sentinel).any()}
224
+ span = ev.set_index("eventID").eventDate.str.split("/", expand=True)
225
+ span.columns = ["a", "b"][: span.shape[1]]
226
+ if "b" not in span:
227
+ span["b"] = None
228
+ span["b"] = span.b.fillna(span.a)
229
+ single = oc[~oc.eventDate.str.contains("/")]
230
+ j = single.join(span, on="eventID")
231
+ res["occurrence_date_outside_event_span"] = int(((j.eventDate < j.a) | (j.eventDate > j.b)).sum())
232
+ res["occurrence_date_outside_study"] = int(((single.eventDate < STUDY_START) | (single.eventDate > STUDY_END)).sum())
233
+ res["occurrence_interval_dates"] = int(oc.eventDate.str.contains("/").sum())
234
+ media = oc.associatedMedia[oc.associatedMedia != ""]
235
+ res["absolute_media_paths"] = int(media.str.startswith("/").sum())
236
+ res["cells_with_cluster_paths"] = count_cluster_paths(ev) + count_cluster_paths(oc)
237
+ if manifest is not None:
238
+ included = set(manifest.release_path[manifest.include == "true"])
239
+ unresolved = media[~media.isin(included)]
240
+ res["media_paths_not_in_included_manifest"] = int(len(unresolved))
241
+ res["media_unresolved_examples"] = unresolved.drop_duplicates().head(5).tolist()
242
+ res["pass"] = (not res["dangling_parentEventID"] and res["occurrences_without_event"] == 0
243
+ and not res["sentinel_cells"] and res["occurrence_date_outside_event_span"] == 0
244
+ and res["occurrence_date_outside_study"] == 0 and res["absolute_media_paths"] == 0
245
+ and res["cells_with_cluster_paths"] == 0
246
+ and res.get("media_paths_not_in_included_manifest", 0) == 0)
247
+ return res
248
+
249
+
250
+ def write_repo(out, repo, files):
251
+ d = out / repo
252
+ for rel, obj in files.items():
253
+ p = d / rel
254
+ p.parent.mkdir(parents=True, exist_ok=True)
255
+ if isinstance(obj, pd.DataFrame):
256
+ atomic_write(p, lambda t: obj.to_csv(t, index=False))
257
+ elif isinstance(obj, (dict, list)):
258
+ atomic_write(p, lambda t: t.write_text(json.dumps(obj, indent=2) + "\n"))
259
+ elif isinstance(obj, Path) and obj.suffix in (".json", ".md"):
260
+ atomic_write(p, lambda t: scrub_text_copy(obj, t)) # provenance records: no archive paths or snapshot names
261
+ elif isinstance(obj, Path):
262
+ atomic_write(p, lambda t: shutil.copyfile(obj, t))
263
+ else:
264
+ atomic_write(p, lambda t: t.write_text(obj))
265
+ return d
266
+
267
+
268
+ TERMS = {
269
+ # Darwin Core / Humboldt terms (https://dwc.tdwg.org/terms/)
270
+ "eventID": "Darwin Core: unique Event identifier", "parentEventID": "Darwin Core: eventID of the parent Event",
271
+ "eventType": "Darwin Core: Project, SensorDeployment, AudioRecording, MediaEvent, or ObservationSession",
272
+ "eventDate": "Darwin Core: ISO 8601 date or date interval (start/end)",
273
+ "eventTime": "Darwin Core: local time (or interval); blank when not recoverable",
274
+ "samplingProtocol": "Darwin Core: sensor, schedule, and processing chain", "sampleSizeValue": "Darwin Core: sample size",
275
+ "sampleSizeUnit": "Darwin Core: unit of sampleSizeValue", "fieldNotes": "Darwin Core: provenance and field notes",
276
+ "occurrenceID": "Darwin Core: unique Occurrence identifier", "catalogNumber": "Darwin Core: source record identifier",
277
+ "scientificName": "Darwin Core: top-1 model or annotator taxon", "taxonRank": "Darwin Core: rank of scientificName",
278
+ "vernacularName": "Darwin Core: common name", "kingdom": "Darwin Core: rank", "phylum": "Darwin Core: rank",
279
+ "class": "Darwin Core: rank", "order": "Darwin Core: rank", "family": "Darwin Core: rank", "genus": "Darwin Core: rank",
280
+ "specificEpithet": "Darwin Core: rank", "occurrenceStatus": "Darwin Core: present",
281
+ "individualCount": "Darwin Core: 1 per visual crop; number of BirdNET detections for acoustic rows",
282
+ "basisOfRecord": "Darwin Core: MachineObservation or HumanObservation",
283
+ "recordedBy": "Darwin Core: device or team", "identifiedBy": "Darwin Core: model (and version) or annotator",
284
+ "identificationVerificationStatus": "Darwin Core: verification status; the vocabulary differs by table (SUPPLEMENTAL.md S9.3)",
285
+ "identificationRemarks": "Darwin Core: rank, top-1 score, bbox xywh (px), detector label",
286
+ "decimalLatitude": "Darwin Core: WGS84; see dataGeneralizations for what the point represents",
287
+ "decimalLongitude": "Darwin Core: WGS84", "coordinateUncertaintyInMeters": "Darwin Core: meters",
288
+ "geodeticDatum": "Darwin Core: WGS84", "locality": "Darwin Core: named place",
289
+ "locationID": "Darwin Core: site (TWxx) for fixed sensors; flight ID for drones",
290
+ "occurrenceRemarks": "Darwin Core: projection status, timestamp method, repair notes (key=value; ...)",
291
+ "associatedMedia": "Darwin Core: release-relative path to the source media file",
292
+ "associatedReferences": "Darwin Core: release-relative supporting analysis file",
293
+ "dataGeneralizations": "Darwin Core: what the coordinate represents", "informationWithheld": "Darwin Core",
294
+ "datasetID": "Darwin Core: modality dataset identifier", "datasetName": "Darwin Core",
295
+ "release_path": "Path of the file inside this dataset", "source_path": "Path in the project archive",
296
+ "bytes": "File size", "include": "true if the file is distributed in media/",
297
+ "exclusion_reason": "Why a file is not distributed",
298
+ "has_human_detection": "true if any Occurrence on this image is labelled Homo sapiens",
299
+ "occurrence_count": "Occurrences derived from this image",
300
+ "video_path": "Release-relative path of the raw video", "detection_id": "<video>_<frame>_<k> from the SAM3 run",
301
+ "frame_index": "0-based native frame index in the video (SAM3 sampled every 15th frame)",
302
+ "bbox_x": "Box left, pixels, in the native frame", "bbox_y": "Box top, pixels", "bbox_w": "Box width, pixels",
303
+ "bbox_h": "Box height, pixels", "top1_score": "BioCLIP Tree-of-Life top-1 score",
304
+ "georef_status": "Ground-projection status (ok | invalid_altitude | missing_drone_gps | horizon_ray | out_of_range)",
305
+ }
306
+
307
+
308
+ def write_dictionary(d, repo):
309
+ out = [f"# {repo} data dictionary", "",
310
+ "Generated by `scripts/build_hf_release.py`. Darwin Core term definitions: "
311
+ "<https://dwc.tdwg.org/terms/>. Columns not listed in a Darwin Core namespace are "
312
+ "SmartWilds-specific.", ""]
313
+ for p in sorted(d.rglob("*.csv")):
314
+ rel = p.relative_to(d)
315
+ df = pd.read_csv(p, dtype=str, keep_default_na=False, nrows=1000)
316
+ n = sum(1 for _ in open(p)) - 1
317
+ out += [f"## `{rel}`", "", f"{n:,} rows.", "", "| Column | Description | Example |", "|---|---|---|"]
318
+ for c in df.columns:
319
+ ex = next((v for v in df[c] if v), "")
320
+ ex = (ex[:60] + "…") if len(ex) > 60 else ex
321
+ out.append(f"| `{c}` | {TERMS.get(c, '')} | {ex.replace('|', '/')} |")
322
+ out.append("")
323
+ atomic_write(d / "metadata/DATA_DICTIONARY.md", lambda t: t.write_text("\n".join(out) + "\n"))
324
+
325
+
326
+ def write_checksums(d):
327
+ lines = []
328
+ for p in sorted(d.rglob("*")):
329
+ if p.is_file() and p.name not in ("CHECKSUMS.sha256", "README.md") and "images" not in p.parts:
330
+ lines.append(f"{sha256(p)} {p.relative_to(d)}")
331
+ atomic_write(d / "CHECKSUMS.sha256", lambda t: t.write_text("\n".join(lines) + "\n"))
332
+
333
+
334
+ # --------------------------------------------------------------------------
335
+ # Camera traps
336
+ # --------------------------------------------------------------------------
337
+ def scrub_csv_copy(src, dst):
338
+ """Copy a CSV, normalising provenance tokens of the camera derivative."""
339
+ text = Path(src).read_text()
340
+ for a, b in ARRIVAL_TOKEN_REWRITES:
341
+ text = text.replace(a, b)
342
+ Path(dst).write_text(text)
343
+
344
+
345
+ ARRIVAL_TOKEN_REWRITES = [
346
+ ("_arrival_icde_camera_", "_arrival_camera_"),
347
+ ("one retained ICDE SAM3-geometry camera Occurrence", "one retained original-SAM3-geometry camera Occurrence"),
348
+ ("icde_sam3_geometry_only_derivative_20261108", "camera_release_20261108"),
349
+ ]
350
+
351
+
352
+ def camera_deployments(tables, images):
353
+ """Per-deployment table: sensor configuration joined to the geolocation
354
+ config and the number of processed images on disk."""
355
+ c1 = tables["Camera Trap Configurations / Campaign 1: June 30 – July 3, 2025"].assign(campaign="thewilds_20250630_20250703")
356
+ c2 = tables["Camera Trap Configurations / Campaign 2: August 4 – August 28, 2025"].assign(campaign="thewilds_20250804_20250828")
357
+ dep = pd.concat([t for t in (c1, c2) if "Camera" in t.columns], ignore_index=True)
358
+ dep.insert(0, "deploymentID", dep.Site.str.extract(r"^(TW\d+)")[0] + "-" + dep.Camera)
359
+ geo = read(SNAP / "scripts/georeferencing/camera_geolocation_config.csv")
360
+ geo["camera_id"] = geo.camera_id.str.replace("_", "-") # raw dir is TW09_CT02
361
+ dep = dep.merge(geo[["collection", "camera_id", "path_contains", "camera_lat", "camera_lon", "hfov_deg", "bearing_deg",
362
+ "image_rotation_deg", "target_height_m", "config_source", "notes"]].rename(
363
+ columns={"notes": "geolocation_notes"}),
364
+ left_on=["campaign", "deploymentID"], right_on=["collection", "camera_id"], how="left"
365
+ ).drop(columns=["collection", "camera_id"]).fillna({"path_contains": ""})
366
+ dep["images_on_disk"] = dep.apply(lambda r: int(((images.dataset == r.campaign) &
367
+ (images.camera_id.str.replace("_", "-") == r.deploymentID)
368
+ & (images.release_path.str.contains(r.path_contains, regex=False)
369
+ if r.path_contains else True)).sum()), axis=1)
370
+ # A path-specific override (TW09-CT02 SD23, after the Aug 18 move) takes its
371
+ # images away from the deployment's default row.
372
+ for (camp, did), g in dep.groupby(["campaign", "deploymentID"]):
373
+ if len(g) > 1:
374
+ default = g.index[g.path_contains == ""]
375
+ dep.loc[default, "images_on_disk"] -= g.loc[g.path_contains != "", "images_on_disk"].sum()
376
+ dep["released"] = (dep.deploymentID != "TW07-CT05").map({True: "true", False: "false"})
377
+ return dep
378
+
379
+
380
+ def build_camera(out, tables):
381
+ """Camera tables come from the validated post-triage derivative: the final
382
+ Event, Occurrence, image-inventory, media-manifest, taxonomy,
383
+ annotation-provenance, and arrival-analysis products."""
384
+ src = CAMERA_SOURCE / "smartwilds-camera-traps"
385
+ ev = read(src / "data/events.csv")
386
+ oc = read(src / "data/occurrences.csv")
387
+ images = read(src / "data/images.csv")
388
+ if len(ev) != 19785 or len(oc) != 72775 or len(images) != 235778:
389
+ raise RuntimeError("validated camera source count mismatch")
390
+ if set(oc.geometryProvenance) != {"SAM3"}:
391
+ raise RuntimeError("validated camera source contains non-SAM3 geometry")
392
+ if "behavior" in oc.columns or oc.astype(str).apply(
393
+ lambda col: col.str.contains(r"water|shore|aquatic", case=False, regex=True).any()).any():
394
+ raise RuntimeError("validated camera source retains water-association data")
395
+ if oc.associatedMedia.str.startswith("/").any():
396
+ raise RuntimeError("validated camera source contains absolute media paths")
397
+ scrubbed = out / REPOS["camera_traps"]
398
+ for name in ("camera_image_acquisition_arrivals.csv", "camera_operational_occurrence_arrivals.csv"):
399
+ atomic_write(scrubbed / "analysis" / name, lambda t, n=name: scrub_csv_copy(src / "analysis" / n, t))
400
+ atomic_write(scrubbed / "metadata/provenance/ANNOTATION_PROVENANCE.md",
401
+ lambda t: scrub_text_copy(src / "metadata/provenance/ANNOTATION_PROVENANCE.md", t,
402
+ extra=[("# ICDE camera-trap annotation provenance", "# Camera-trap annotation provenance")]))
403
+ files = {
404
+ "data/events.csv": src / "data/events.csv",
405
+ "data/occurrences.csv": src / "data/occurrences.csv",
406
+ "data/images.csv": src / "data/images.csv",
407
+ "media_manifest.csv": src / "media_manifest.csv",
408
+ "analysis/camera_arrival_statistics.json": src / "analysis/camera_arrival_statistics.json",
409
+ "metadata/DATA_DICTIONARY.md": src / "metadata/DATA_DICTIONARY.md",
410
+ "metadata/taxonomy_mapping.csv": src / "metadata/taxonomy_mapping.csv",
411
+ "metadata/deployments.csv": camera_deployments(tables, images),
412
+ "metadata/camera_models.csv": tables["Camera Trap Configurations / Camera Models"],
413
+ "metadata/camera_geolocation_config.csv": SNAP / "scripts/georeferencing/camera_geolocation_config.csv",
414
+ "metadata/timestamp_summary_by_camera.csv": TS_MAP / "camera_timestamp_summary_by_camera.csv",
415
+ "metadata/timestamp_summary_by_date.csv": TS_MAP / "camera_timestamp_summary_by_date.csv",
416
+ "metadata/provenance/tw07_ct05_sensitive_media_disposition_20261008.json":
417
+ SNAP / "tw07_ct05_sensitive_media_disposition_20261008.json",
418
+ "scripts/geolocate_camera_trap_treeoflife_predictions.py":
419
+ PUBLIC_SCRIPTS / "georeferencing/geolocate_camera_trap_treeoflife_predictions.py",
420
+ "scripts/generate_darwin_core.py": PUBLIC_SCRIPTS / "darwin_core/generate_darwin_core.py",
421
+ }
422
+ return files, {
423
+ "events": len(ev), "occurrences": len(oc), "images_total": len(images),
424
+ "all_geometry_provenance_is_SAM3": True,
425
+ "absolute_media_paths": 0,
426
+ "water_association_attributes_absent": True,
427
+ "pass": True,
428
+ }
429
+
430
+
431
+ # --------------------------------------------------------------------------
432
+ # Bioacoustics
433
+ # --------------------------------------------------------------------------
434
+ def build_bioacoustics(out, tables):
435
+ ev = read(SNAP / "bioacoustics_complete/darwin_core_events_bioacoustics_complete.csv")
436
+ oc = read(SNAP / "bioacoustics_complete/darwin_core_occurrences_bioacoustics_complete.csv")
437
+ rec = read(SNAP / "bioacoustics_complete/RAW_WAV_RECONCILIATION_20261008.csv")
438
+ rec.insert(0, "release_path", rec.raw_wav_path.map(lambda p: rel_media(PROJECT_PREFIX + p)))
439
+ included = rec.release_disposition.str.startswith("included")
440
+ path_by_event = rec[included].set_index("darwin_core_eventID").release_path
441
+ # associatedMedia is a bare WAV filename; resolve it through the Event.
442
+ oc["associatedMedia"] = oc.eventID.map(path_by_event).fillna(oc.associatedMedia)
443
+ ev["associatedMedia"] = ev.eventID.map(path_by_event).fillna("")
444
+
445
+ disposition = dict(zip(rec.release_path, rec.release_disposition))
446
+ def excl(rel):
447
+ d = disposition.get(rel)
448
+ return None if d is None or d.startswith("included") else d.split(";")[0] + ":" + rec.loc[
449
+ rec.release_path == rel, "reconciliation_status"].iloc[0]
450
+ manifest = media_inventory("bioacoustics", excl)
451
+
452
+ t = {k: v for k, v in tables.items() if k.startswith("Bioacoustic Recorder Configurations / Campaign")}
453
+ dep = pd.concat([v.assign(campaign=("thewilds_20250630_20250703" if "June" in k else "thewilds_20250804_20250828"))
454
+ for k, v in t.items()], ignore_index=True)
455
+ dep.insert(0, "deploymentID", dep.Site.str.extract(r"^(TW\d+)")[0] + "-" + dep.Recorder)
456
+ dep.insert(1, "model", "Wildlife Acoustics Song Meter Micro 2")
457
+ counts = rec.groupby(["source_campaign_directory", "deploymentID"]).release_disposition.agg(
458
+ wav_paths="size", wav_released=lambda s: s.str.startswith("included").sum()).reset_index()
459
+ counts["campaign"] = counts.source_campaign_directory.map(
460
+ {"campaign1": "thewilds_20250630_20250703", "campaign2": "thewilds_20250804_20250828"})
461
+ dep = dep.merge(counts.drop(columns="source_campaign_directory"), on=["campaign", "deploymentID"], how="left")
462
+ birdnet = pd.DataFrame([{"software": "BirdNET Analyzer", "version": "2.4", "segment_length_s": 3.0,
463
+ "sample_rate_hz": 48000, "bandpass_hz": "0-15000",
464
+ "occurrence_unit": "one row per recording x species; individualCount = detections"}])
465
+ ev, oc = strip_cluster_paths(ev), strip_cluster_paths(oc)
466
+ res = check_tables("bioacoustics", ev, oc, manifest, extra_event_ids={"TheWilds_2025"})
467
+ files = {
468
+ "data/events.csv": ev, "data/occurrences.csv": oc, "data/recordings.csv": rec,
469
+ "media_manifest.csv": manifest,
470
+ "metadata/deployments.csv": dep, "metadata/birdnet_settings.csv": birdnet,
471
+ "metadata/provenance/RAW_WAV_RECONCILIATION_20261008.md":
472
+ SNAP / "bioacoustics_complete/RAW_WAV_RECONCILIATION_20261008.md",
473
+ "metadata/provenance/bioacoustic_event_repair_20261008.json": SNAP / "bioacoustic_event_repair_20261008.json",
474
+ "scripts/reconcile_bioacoustic_raw_wavs.py": PUBLIC_SCRIPTS / "darwin_core/reconcile_bioacoustic_raw_wavs.py",
475
+ }
476
+ return files, res
477
+
478
+
479
+ # --------------------------------------------------------------------------
480
+ # Drones
481
+ # --------------------------------------------------------------------------
482
+ def build_drones(out, tables):
483
+ ev = read(SNAP / "drones/darwin_core_events_drones.csv")
484
+ oc = read(SNAP / "drones/darwin_core_occurrences_drones.csv")
485
+ manifest = media_inventory("drones")
486
+ videos = manifest[manifest.release_path.str.lower().str.endswith((".mp4", ".mov"))]
487
+ by_stem = {}
488
+ for p in videos.release_path:
489
+ flight_dir = p.split("/")[2]
490
+ by_stem.setdefault((flight_dir, Path(p).stem), []).append(p)
491
+
492
+ # Defect 21: the manual starling supplement was appended twice. Drop exact
493
+ # duplicate rows so every occurrenceID is unique.
494
+ before = len(oc)
495
+ oc = oc.drop_duplicates().reset_index(drop=True)
496
+ rep = {"exact_duplicate_rows_dropped": before - len(oc),
497
+ "duplicate_occurrenceIDs_remaining": int(oc.occurrenceID.duplicated().sum())}
498
+ # Frame images (purged scratch frames, or frames exported to an external
499
+ # annotation workspace) are not shipped; fall back to the retained video.
500
+ frame_re = re.compile(r"/drones/([^/]+)/.*?/([^/]+)_frames/[^/]+$")
501
+ def video_for(frame):
502
+ m = frame_re.search(frame)
503
+ if not m:
504
+ return None
505
+ hits = by_stem.get((m.group(1), m.group(2)), [])
506
+ return hits[0] if len(hits) == 1 else None
507
+ frames = oc.associatedMedia.str.startswith("/") & oc.associatedMedia.map(lambda p: rel_media(p) is None)
508
+ fallback = oc.loc[frames, "associatedMedia"].map(video_for)
509
+ rep.update({"frame_rows": int(frames.sum()),
510
+ "frame_rows_unique": int(oc.loc[frames, "associatedMedia"].nunique()),
511
+ "frame_rows_unmapped": int(fallback.isna().sum())})
512
+ ok = fallback.dropna().index
513
+ oc.loc[ok, "associatedMedia"] = fallback[ok]
514
+ oc.loc[ok, "occurrenceRemarks"] = oc.loc[ok, "occurrenceRemarks"] + \
515
+ "; associated_media_source=original_video_fallback_frame_not_distributed"
516
+ oc["associatedMedia"] = oc.associatedMedia.map(lambda p: rel_media(p) or p)
517
+ # Per-detection table for frame extraction from the released raw videos.
518
+ # detection_id = <video>_<frame:06d>_<k>; frame is the native frame index
519
+ # (frames were sampled every 15th frame for SAM3).
520
+ det = pd.DataFrame({
521
+ "occurrenceID": oc.occurrenceID, "eventID": oc.eventID, "video_path": oc.associatedMedia,
522
+ "detection_id": oc.occurrenceRemarks.str.extract(r"detection_id=([^;]+)")[0]})
523
+ det["frame_index"] = det.detection_id.str.extract(r"_(\d{6})_\d+$")[0].astype("Int64")
524
+ bbox = oc.identificationRemarks.str.extract(r"bbox xywh\(px\): \[([^\]]+)\]")[0].str.split(",", expand=True)
525
+ for i, c in enumerate(["bbox_x", "bbox_y", "bbox_w", "bbox_h"]):
526
+ det[c] = pd.to_numeric(bbox[i]).round(2)
527
+ det["scientificName"], det["vernacularName"] = oc.scientificName, oc.vernacularName
528
+ det["top1_score"] = pd.to_numeric(oc.identificationRemarks.str.extract(r"top1 score: ([0-9.eE-]+)")[0])
529
+ det["georef_status"] = oc.occurrenceRemarks.str.extract(r"drone_georef_status=([^;]+)")[0]
530
+ det = det[det.detection_id.notna()] # the 644 curated review records carry no frame id
531
+ rep["detections_with_frame_index"] = int(det.frame_index.notna().sum())
532
+ # Remaining frame PNGs that exist on disk are derived products, not raw media.
533
+ flights = ev[ev.eventType == "SensorDeployment"][["eventID", "eventDate", "locationID", "fieldNotes"]].copy()
534
+ flights["platform"] = flights.locationID.map(
535
+ lambda s: "DJI Air 2" if "djiair" in s else "DJI (unspecified airframe)" if "DJI" in s else "Parrot Anafi 4K")
536
+ media_events = ev[ev.eventType == "MediaEvent"]
537
+ flights["videos"] = flights.eventID.map(media_events.parentEventID.value_counts()).fillna(0).astype(int)
538
+ flights["occurrences"] = flights.eventID.map(
539
+ oc.eventID.map(media_events.set_index("eventID").parentEventID).value_counts()).fillna(0).astype(int)
540
+ ev, oc = strip_cluster_paths(ev), strip_cluster_paths(oc)
541
+ res = check_tables("drones", ev, oc, manifest, extra_event_ids={"TheWilds_2025"})
542
+ res.update(rep)
543
+ res["pass"] = res["pass"] and rep["duplicate_occurrenceIDs_remaining"] == 0
544
+ files = {
545
+ "data/events.csv": ev, "data/occurrences.csv": oc, "data/detections.csv": det,
546
+ "media_manifest.csv": manifest,
547
+ "analysis/bird_water_association_per_box.csv": strip_cluster_paths(read(BIRD_WATER)),
548
+ "metadata/flights.csv": flights, "metadata/platforms.csv": tables["Drone Configurations"],
549
+ "metadata/drone_projection_config.csv": SNAP / "scripts/georeferencing/drone_projection_config.csv",
550
+ "metadata/provenance/invalid_drone_date_repair_20261008.json": SNAP / "invalid_drone_date_repair_20261008.json",
551
+ "metadata/provenance/invalid_drone_coordinate_repair_20261009.json":
552
+ SNAP / "invalid_drone_coordinate_repair_20261009.json",
553
+ "metadata/provenance/drone_missing_media_repair_20261010.json": SNAP / "drone_missing_media_repair_20261010.json",
554
+ "metadata/provenance/excluded_drone_media_event_repair_20261008.json":
555
+ SNAP / "excluded_drone_media_event_repair_20261008.json",
556
+ "scripts/geolocate_drone_treeoflife_predictions.py":
557
+ PUBLIC_SCRIPTS / "georeferencing/geolocate_drone_treeoflife_predictions.py",
558
+ "scripts/generate_darwin_core.py": PUBLIC_SCRIPTS / "darwin_core/generate_darwin_core.py",
559
+ }
560
+ return files, res
561
+
562
+
563
+ # --------------------------------------------------------------------------
564
+ # Citizen science and umbrella (need files that are currently owner-only)
565
+ # --------------------------------------------------------------------------
566
+ def build_citizen_science(out, tables):
567
+ evp = SNAP / "citizen_science/darwin_core_events_citizen_science.csv"
568
+ ocp = SNAP / "citizen_science/darwin_core_occurrences_citizen_science.csv"
569
+ if not (readable(evp) and readable(ocp)):
570
+ raise PermissionError(f"unreadable: {evp.name}, {ocp.name} (owner-only permissions)")
571
+ ev, oc = read(evp), read(ocp)
572
+ oc["associatedMedia"] = oc.associatedMedia.map(lambda p: rel_media(p) or p)
573
+ # The Sep 8 Google Photos album export is not in the project archive, so its
574
+ # 50 photos cannot be distributed: keep the Occurrences, clear the link, say why.
575
+ album = oc.associatedMedia.str.startswith("Google Photos Takeout/")
576
+ oc.loc[album, "occurrenceRemarks"] = oc.loc[album, "occurrenceRemarks"] + \
577
+ "; media_not_distributed=Google Photos album export not retained in project archive (was " + \
578
+ oc.loc[album, "associatedMedia"] + ")"
579
+ oc.loc[album, "associatedMedia"] = ""
580
+ manifest = media_inventory("citizen_science")
581
+ ev, oc = strip_cluster_paths(ev), strip_cluster_paths(oc)
582
+ res = check_tables("citizen_science", ev, oc, manifest, extra_event_ids={"TheWilds_2025"})
583
+ res["occurrences_media_not_distributed"] = int(album.sum())
584
+ return {"data/events.csv": ev, "data/occurrences.csv": oc, "media_manifest.csv": manifest,
585
+ "metadata/provenance/citizen_science_media_reconciliation_20261008.json":
586
+ SNAP / "citizen_science_media_reconciliation_20261008.json"}, res
587
+
588
+
589
+ def build_core(out, tables):
590
+ """Study-level dataset: validated merged tables, text records, sensor
591
+ configurations, supplement, defect inventory, and the arrival traces."""
592
+ src = CAMERA_SOURCE / "smartwilds/data"
593
+ ev = read(src / "events_all_modalities.csv")
594
+ oc = read(src / "occurrences_all_modalities.csv")
595
+ if len(ev) != 22242 or len(oc) != 401602 or oc.occurrenceID.duplicated().any():
596
+ raise RuntimeError("validated merged-table integrity check failed")
597
+ # The merged table carries the drone and citizen-science rows with their
598
+ # archive media paths. Take the release-relative values from the staged
599
+ # modality tables (same occurrenceID), then rewrite anything left over.
600
+ rep = {}
601
+ for repo in ("smartwilds-drones", "smartwilds-citizen-science"):
602
+ p = out / repo / "data/occurrences.csv"
603
+ if not p.exists():
604
+ rep[f"{repo}_not_staged"] = True
605
+ continue
606
+ m = read(p).drop_duplicates("occurrenceID").set_index("occurrenceID")
607
+ idx = oc.occurrenceID.isin(m.index)
608
+ for c in ("associatedMedia", "occurrenceRemarks", "associatedReferences"):
609
+ if c in m.columns and c in oc.columns:
610
+ oc.loc[idx, c] = oc.loc[idx, "occurrenceID"].map(m[c]).values
611
+ rep[f"{repo}_rows_aligned"] = int(idx.sum())
612
+ oc["associatedMedia"] = oc.associatedMedia.map(lambda p: rel_media(p) or p)
613
+ ev, oc = strip_cluster_paths(ev), strip_cluster_paths(oc)
614
+ res = {"events": len(ev), "occurrences": len(oc),
615
+ "absolute_media_paths": int(oc.associatedMedia.str.startswith("/").sum()),
616
+ "cells_with_cluster_paths": count_cluster_paths(ev) + count_cluster_paths(oc)}
617
+ res.update(rep)
618
+ res["pass"] = res["absolute_media_paths"] == 0 and res["cells_with_cluster_paths"] == 0
619
+ files = {
620
+ "data/events_all_modalities.csv": ev,
621
+ "data/occurrences_all_modalities.csv": oc,
622
+ "data/text_events.csv": SNAP / "text_data/darwin_core_events_text.csv",
623
+ "data/text_occurrences.csv": SNAP / "text_data/darwin_core_occurrences_text.csv",
624
+ "data/site_selection_rationale.csv": SNAP / "text_data/site_selection_rationale.csv",
625
+ "metadata/sensor_configurations.md": SENSOR_MD,
626
+ "SUPPLEMENTAL.md": CARDS / "SUPPLEMENTAL.md",
627
+ "metadata/DEFECT_INVENTORY.md": CARDS / "DEFECT_INVENTORY.md",
628
+ "metadata/defect_inventory.csv": CARDS / "defect_inventory.csv",
629
+ "scripts/refresh_camera_arrival_metadata.py": ROOT / "release/scripts/refresh_camera_arrival_metadata.py",
630
+ "scripts/generate_arrival_traces_v2.py": PUBLIC_SCRIPTS / "arrival_traces/generate_arrival_traces_v2.py",
631
+ }
632
+ # Non-camera arrival traces come from the integration pass; the camera
633
+ # streams are refreshed afterwards from the validated derivative. The two
634
+ # notes about the first-generation camera trace no longer apply.
635
+ atomic_write(out / REPOS["core"] / "metadata/provenance/DARWIN_CORE_AUDIT_20261010_FINAL.json",
636
+ lambda t: scrub_text_copy(SNAP / "DARWIN_CORE_AUDIT_20261010_FINAL.json", t))
637
+ skip = {"DEPRECATED_LEGACY_PRIMITIVES.md", "UNAVAILABLE_CAMERA_IMAGE_CAPTURE_ACQUISITION.md"}
638
+ drone_media = None
639
+ for p in sorted((SNAP / "analysis/arrival_traces_v2").iterdir()):
640
+ if p.name in skip or p.name.startswith("camera_"):
641
+ continue
642
+ if p.suffix == ".csv":
643
+ tr = read(p)
644
+ if tr.associatedMedia.str.startswith("/").any():
645
+ if drone_media is None:
646
+ drone_media = oc.drop_duplicates("occurrenceID").set_index("occurrenceID").associatedMedia
647
+ by_source = tr.sourceID.map(drone_media)
648
+ tr["associatedMedia"] = by_source.where(by_source.notna(), tr.associatedMedia.map(lambda x: rel_media(x) or x))
649
+ tr = strip_cluster_paths(tr)
650
+ if "sourceSnapshot" in tr.columns:
651
+ tr["sourceSnapshot"] = tr.sourceSnapshot.str.replace(SNAP.name, "integration_pass_20261022", regex=False)
652
+ res[f"arrival_trace_cluster_paths:{p.name}"] = count_cluster_paths(tr)
653
+ res["pass"] = res["pass"] and res[f"arrival_trace_cluster_paths:{p.name}"] == 0
654
+ files[f"analysis/arrival_traces_v2/{p.name}"] = tr
655
+ else:
656
+ files[f"analysis/arrival_traces_v2/{p.name}"] = p
657
+ return files, res
658
+
659
+
660
+ def main():
661
+ ap = argparse.ArgumentParser()
662
+ ap.add_argument("--out", default=str(RELEASE_DIR))
663
+ ap.add_argument("--only", nargs="*", choices=list(REPOS))
664
+ args = ap.parse_args()
665
+ out = Path(args.out)
666
+ out.mkdir(parents=True, exist_ok=True)
667
+ tables = parse_md_tables(SENSOR_MD)
668
+ audit["built_utc"] = datetime.now(timezone.utc).isoformat(timespec="seconds")
669
+ builders = {"camera_traps": build_camera, "bioacoustics": build_bioacoustics, "drones": build_drones,
670
+ "citizen_science": build_citizen_science, "core": build_core}
671
+ for key, fn in builders.items():
672
+ if args.only and key not in args.only:
673
+ continue
674
+ repo = REPOS[key]
675
+ print(f"[{repo}] building ...", flush=True)
676
+ for rel in STALE:
677
+ (out / repo / rel).unlink(missing_ok=True)
678
+ card = CARDS / f"{repo}.md"
679
+ if card.exists():
680
+ atomic_write(out / repo / "README.md", lambda t: shutil.copyfile(card, t))
681
+ imgs = CARDS / "images" / repo
682
+ if imgs.is_dir():
683
+ # Release-card images are static assets. Avoid rewriting existing
684
+ # owner-managed media assets during an in-place table rebuild.
685
+ target_images = out / repo / "images"
686
+ if not target_images.exists():
687
+ shutil.copytree(imgs, target_images)
688
+ try:
689
+ files, res = fn(out, tables)
690
+ except PermissionError as e:
691
+ audit["blocked"].append({"repo": repo, "reason": str(e)})
692
+ print(f"[{repo}] BLOCKED: {e}", flush=True)
693
+ continue
694
+ files[f"scripts/{Path(__file__).name}"] = Path(__file__)
695
+ d = write_repo(out, repo, files)
696
+ if key != "camera_traps":
697
+ write_dictionary(d, repo)
698
+ write_checksums(d)
699
+ audit["repos"][repo] = res
700
+ print(f"[{repo}] {json.dumps({k: v for k, v in res.items() if not isinstance(v, (list, dict))})}",
701
+ flush=True)
702
+ # The camera arrival streams in the study-level dataset come from the
703
+ # validated camera derivative; refresh them once both parts are staged.
704
+ requested = set(args.only or REPOS)
705
+ if {"camera_traps", "core"}.issubset(requested):
706
+ subprocess.run([sys.executable, str(ROOT / "release/scripts/refresh_camera_arrival_metadata.py"),
707
+ "--release", str(out), "--snapshot", str(SNAP), "--source", str(CAMERA_SOURCE)], check=True)
708
+ write_dictionary(out / REPOS["core"], REPOS["core"])
709
+ write_checksums(out / REPOS["core"])
710
+ (out / "build_hf_release.py").unlink(missing_ok=True) # stray copy from an earlier build
711
+ (out / "RELEASE_BUILD_AUDIT.json").write_text(json.dumps(audit, indent=2, default=str) + "\n")
712
+ return 0 if not audit["errors"] else 1
713
+
714
+
715
+ if __name__ == "__main__":
716
+ sys.exit(main())
smartwilds-bioacoustics/scripts/reconcile_bioacoustic_raw_wavs.py ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ '''Reconcile raw The Wilds WAV files against corrected Darwin Core Events.'''
3
+ from __future__ import annotations
4
+
5
+ import csv
6
+ import json
7
+ import os
8
+ import re
9
+ import wave
10
+ from collections import Counter
11
+ from datetime import date
12
+ from pathlib import Path
13
+
14
+ BASE_DIR = Path(os.environ.get('SMARTWILDS_ARCHIVE', '.')).resolve()
15
+ SNAPSHOT_DIR = Path(os.environ.get('SMARTWILDS_DWC_OUT', BASE_DIR / 'processing_output/darwin_core_release'))
16
+ OUT_DIR = SNAPSHOT_DIR / 'bioacoustics_complete'
17
+ OUT_CSV = OUT_DIR / 'RAW_WAV_RECONCILIATION_20261008.csv'
18
+ OUT_NOTE = OUT_DIR / 'RAW_WAV_RECONCILIATION_20261008.md'
19
+ OUT_AUDIT = SNAPSHOT_DIR / 'bioacoustic_event_repair_20261008.json'
20
+ EVENTS = OUT_DIR / 'darwin_core_events_bioacoustics_complete.csv'
21
+ ROOTS = [
22
+ (BASE_DIR / 'thewilds_20250630_20250703' / 'bioacoustics', date(2025, 6, 30), date(2025, 7, 3), 'campaign1'),
23
+ (BASE_DIR / 'thewilds_20250804_20250828' / 'bioacoustics', date(2025, 8, 4), date(2025, 8, 28), 'campaign2'),
24
+ ]
25
+ RESULT_DIRS = [
26
+ BASE_DIR / 'processing_output/detections/acoustics/BirdNet_EveryHour',
27
+ BASE_DIR / 'BioacousticAnalysis/BirdnetCSV_SunriseSunset',
28
+ ]
29
+ NAME_RE = re.compile(r'^(?:[A-Z0-9]+)_(\d{8})_(\d{6})$', re.I)
30
+ EVENT_RE = re.compile(r'Recording: ([^;]+)\.wav; Recorder: ([^;]+);')
31
+ FIELDS = [
32
+ 'raw_wav_path', 'source_campaign_directory', 'deploymentID', 'recording_file',
33
+ 'recording_date', 'recording_time', 'in_source_campaign_window', 'wav_bytes',
34
+ 'wav_header_status', 'duration_seconds', 'birdnet_result_path',
35
+ 'birdnet_result_status', 'darwin_core_eventID', 'reconciliation_status',
36
+ 'release_disposition',
37
+ ]
38
+
39
+
40
+ def deployment(path: Path) -> tuple[str, str]:
41
+ for part in path.parts:
42
+ match = re.fullmatch(r'(TW\d+)-(SM\d+)', part)
43
+ if match:
44
+ return match.group(1), match.group(2)
45
+ raise ValueError(f'No deployment in {path}')
46
+
47
+
48
+ def wave_details(path: Path) -> tuple[str, str]:
49
+ try:
50
+ with wave.open(str(path), 'rb') as audio:
51
+ duration = audio.getnframes() / audio.getframerate()
52
+ return 'readable', f'{duration:.6f}'
53
+ except Exception as exc:
54
+ return f'unreadable:{type(exc).__name__}', ''
55
+
56
+
57
+ def result_status(path: Path | None) -> str:
58
+ if path is None:
59
+ return 'absent'
60
+ with path.open(newline='') as handle:
61
+ reader = csv.DictReader(handle)
62
+ return 'header_only_zero_detection' if next(reader, None) is None else 'nonempty'
63
+
64
+
65
+ def main() -> None:
66
+ results = {}
67
+ for directory in RESULT_DIRS:
68
+ for path in directory.glob('*.BirdNET.results.csv'):
69
+ results[path.name.removesuffix('.BirdNET.results.csv')] = path
70
+
71
+ events = {}
72
+ with EVENTS.open(newline='') as handle:
73
+ for row in csv.DictReader(handle):
74
+ if row['eventType'] != 'AudioRecording':
75
+ continue
76
+ match = EVENT_RE.search(row['fieldNotes'])
77
+ if not match:
78
+ raise ValueError(f'Unparseable recording provenance: {row["eventID"]}')
79
+ recording, recorder = match.groups()
80
+ key = (row['locationID'], recorder, recording.split('_', 1)[1])
81
+ if key in events:
82
+ raise ValueError(f'Duplicate release recording key: {key}')
83
+ events[key] = (row['eventID'], 'header-only BirdNET result' in row['fieldNotes'])
84
+
85
+ rows = []
86
+ for root, start, end, campaign in ROOTS:
87
+ for path in sorted(root.rglob('*')):
88
+ if not (path.is_file() and path.suffix.lower() == '.wav'):
89
+ continue
90
+ name_match = NAME_RE.match(path.stem)
91
+ if not name_match:
92
+ raise ValueError(f'Unparseable raw WAV name: {path.name}')
93
+ site, recorder = deployment(path)
94
+ ymd, hms = name_match.groups()
95
+ recording_date = date.fromisoformat(f'{ymd[:4]}-{ymd[4:6]}-{ymd[6:]}')
96
+ in_window = start <= recording_date <= end
97
+ event_entry = events.get((site, recorder, f'{ymd}_{hms}'))
98
+ event_id = event_entry[0] if event_entry else ''
99
+ is_header_only = event_entry[1] if event_entry else False
100
+ result = results.get(path.stem)
101
+ if not in_window:
102
+ status = 'transfer_duplicate'
103
+ disposition = 'excluded_from_release; canonical recording is represented under its original campaign/deployment'
104
+ elif is_header_only:
105
+ status = 'processed_zero_detection'
106
+ disposition = 'included_as_AudioRecording_Event_without_Occurrences'
107
+ elif event_id:
108
+ status = 'represented_recording'
109
+ disposition = 'included_as_AudioRecording_Event'
110
+ elif result is None:
111
+ status = 'truncated_or_corrupt_unprocessed'
112
+ disposition = 'excluded_from_release; no BirdNET result and insufficient/corrupt source audio'
113
+ else:
114
+ raise ValueError(f'Unexpected unmatched processed recording: {path}')
115
+ if status == 'truncated_or_corrupt_unprocessed':
116
+ header_status, duration = wave_details(path)
117
+ else:
118
+ header_status, duration = 'not_checked_release_represented_or_transfer', ''
119
+ rows.append({
120
+ 'raw_wav_path': str(path.relative_to(BASE_DIR)),
121
+ 'source_campaign_directory': campaign,
122
+ 'deploymentID': f'{site}-{recorder}',
123
+ 'recording_file': path.name,
124
+ 'recording_date': recording_date.isoformat(),
125
+ 'recording_time': f'{hms[:2]}:{hms[2:4]}:{hms[4:]}',
126
+ 'in_source_campaign_window': str(in_window).lower(),
127
+ 'wav_bytes': path.stat().st_size,
128
+ 'wav_header_status': header_status,
129
+ 'duration_seconds': duration,
130
+ 'birdnet_result_path': str(result.relative_to(BASE_DIR)) if result else '',
131
+ 'birdnet_result_status': ('header_only_zero_detection' if is_header_only else ('nonempty' if result else 'absent')),
132
+ 'darwin_core_eventID': event_id,
133
+ 'reconciliation_status': status,
134
+ 'release_disposition': disposition,
135
+ })
136
+
137
+ counts = Counter(row['reconciliation_status'] for row in rows)
138
+ expected = Counter({
139
+ 'represented_recording': 2307,
140
+ 'processed_zero_detection': 64,
141
+ 'transfer_duplicate': 78,
142
+ 'truncated_or_corrupt_unprocessed': 4,
143
+ })
144
+ if counts != expected:
145
+ raise ValueError(f'Unexpected reconciliation counts: {counts}')
146
+ if len(events) != 2371:
147
+ raise ValueError(f'Expected 2,371 AudioRecording Events, found {len(events)}')
148
+
149
+ with OUT_CSV.open('w', newline='', encoding='utf-8') as handle:
150
+ writer = csv.DictWriter(handle, fieldnames=FIELDS)
151
+ writer.writeheader()
152
+ writer.writerows(rows)
153
+
154
+ note = f'''# Raw WAV Reconciliation
155
+
156
+ ## Outcome
157
+
158
+ The corrected release has **2,371 unique `AudioRecording` Events**. It contains
159
+ no duplicate Event for transferred raw media and keeps the existing 9,960
160
+ BirdNET Occurrences unchanged.
161
+
162
+ | Raw-file disposition | Files | Release treatment |
163
+ | --- | ---: | --- |
164
+ | Represented recording | {counts['represented_recording']} | One `AudioRecording` Event |
165
+ | Processed, zero detections | {counts['processed_zero_detection']} | One `AudioRecording` Event; no Occurrence |
166
+ | Transfer duplicate | {counts['transfer_duplicate']} | Excluded; source belongs to another campaign/deployment |
167
+ | Truncated/corrupt, unprocessed | {counts['truncated_or_corrupt_unprocessed']} | Excluded; no BirdNET result |
168
+ | **Raw files on disk** | **{len(rows)}** | **Reconciled** |
169
+
170
+ ## Why The Earlier Count Was Misleading
171
+
172
+ The former comparison of 2,453 raw WAV files with 2,307 Events treated every
173
+ physical file path as a separate capture. Seventy-eight Campaign-1 WAVs were
174
+ transferred into the Campaign-2 `TW02-SM04/Data` directory; they are duplicate
175
+ transfers, not new Campaign-2 recordings. The remaining 68 unmatched
176
+ in-window files divide into 64 successfully processed files with header-only
177
+ BirdNET results (zero detections) and four truncated/corrupt files with no
178
+ BirdNET result.
179
+
180
+ The 64 zero-detection recordings are now represented as Events with a field
181
+ note identifying the header-only BirdNET result. They deliberately generate no
182
+ Occurrence. The four failures remain out of the Event table and are listed in
183
+ the accompanying CSV with their header status and duration.
184
+
185
+ ## Integrity Checks
186
+
187
+ - Every `AudioRecording` Event has a unique recording key: deployment, recorder,
188
+ date, and time.
189
+ - The 78 transfer duplicates never create a second Event.
190
+ - All 9,960 Occurrences retain valid Event links.
191
+ - The CSV provides one row per raw WAV path, including path, deployment, WAV
192
+ header status, duration, BirdNET-result status, final Event ID, and release
193
+ disposition.
194
+ '''
195
+ OUT_NOTE.write_text(note, encoding='utf-8')
196
+ audit = {
197
+ 'repair': 'bioacoustic AudioRecording completeness and raw-WAV reconciliation',
198
+ 'snapshot': SNAPSHOT_DIR.name,
199
+ 'raw_wav_files': len(rows),
200
+ 'audio_recording_events': len(events),
201
+ 'occurrences_unchanged': 9960,
202
+ 'reconciliation_status_counts': dict(sorted(counts.items())),
203
+ 'release_policy': {
204
+ 'transfer_duplicate': 'excluded; no duplicate Event',
205
+ 'processed_zero_detection': 'included as Event with no Occurrence',
206
+ 'truncated_or_corrupt_unprocessed': 'excluded; documented in reconciliation CSV',
207
+ },
208
+ }
209
+ OUT_AUDIT.write_text(json.dumps(audit, indent=2) + '\n', encoding='utf-8')
210
+ print(json.dumps(audit, indent=2))
211
+
212
+
213
+ if __name__ == '__main__':
214
+ main()
smartwilds-camera-traps/CHECKSUMS.sha256 ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ b2313d24026328b451ff7decdcb56e6d8becd6727a7a7ff619a378d9913dc287 analysis/camera_arrival_statistics.json
2
+ d959c270284e11a477b3b6d6452b4e390a775f1ff2c5e2222852a2442f74d1f5 analysis/camera_image_acquisition_arrivals.csv
3
+ fcd8bf4cbf4c39f51e2ec80396d25560e6e70066282931475d9f50145ea78281 analysis/camera_operational_occurrence_arrivals.csv
4
+ 3d0641255c3e5ed0be27548c526c1627e61bba40076321424846958486183c8b data/events.csv
5
+ c445933a1aa68b43cb1d5f73d94831e4e9c2d9b6367f5bf78fd1da35355710f9 data/images.csv
6
+ f777c5eb279af3306dad1feec8448d3ae8768b849108cbb1ed54d58e433f62d2 data/occurrences.csv
7
+ c8cf498a546e4f4fe3015c204d9d830174197054312cd373775b9ffbf916f523 media_manifest.csv
8
+ 01aa5c3f54c8ecc215126d889851907659b2a8185578022e35b49ad0b1240276 metadata/DATA_DICTIONARY.md
9
+ 7410a9b0a876ddce34d4b0e46a01ec07d0a14c46329d8759263ff3eb6e6a148f metadata/camera_geolocation_config.csv
10
+ 03207450d21d8b705d08c66bb2f3d541bc9c57c0ae49d417248f3b5970ca4078 metadata/camera_models.csv
11
+ cd22b797f1d4ec7ac3a688c6378a169889b73ff5000d81d6e09bc51b3999ad3a metadata/deployments.csv
12
+ ebf8f50f331479e0ff3ed478154f96af926cca25fe0d8b1516fb593d1dedac88 metadata/provenance/ANNOTATION_PROVENANCE.md
13
+ 4c8595701d0f0e3ad59432389e28b52706243bd883be78628b240e49f3d6555a metadata/provenance/tw07_ct05_sensitive_media_disposition_20261008.json
14
+ b0a4165679cc141eed45e8e36da9f2c821e3626393191323b0b2effd91cd4a43 metadata/taxonomy_mapping.csv
15
+ a0801f8542b2bb9cd1a099a1402046aa8c7f3253fe9dfdf83f3352f0e88a7825 metadata/timestamp_summary_by_camera.csv
16
+ 66ca26fb7d9045201c670a914d210f5ec40ace34962261a611368862fbc5896c metadata/timestamp_summary_by_date.csv
17
+ f2efc6692a5d7add094933b71b4f64a15efa2fd1c2578bb66620ff161747934a scripts/build_hf_release.py
18
+ 6e90073a9d7bcaf1c6d37fbede20d7444d07792000888c8d729e5787986d9545 scripts/generate_darwin_core.py
19
+ fcbd9ad5b36b718118981ca983349ceb986edec8d1e0502072745560661a5e26 scripts/geolocate_camera_trap_treeoflife_predictions.py
smartwilds-camera-traps/README.md ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ language:
4
+ - en
5
+ pretty_name: SmartWilds Camera Traps (The Wilds 2025)
6
+ task_categories:
7
+ - object-detection
8
+ - image-classification
9
+ tags:
10
+ - biology
11
+ - ecology
12
+ - biodiversity
13
+ - camera-trap
14
+ - darwin-core
15
+ - smartwilds
16
+ - the-wilds
17
+ - ohio
18
+ size_categories:
19
+ - 100K<n<1M
20
+ description: >-
21
+ 235,778 processed camera-trap images from The Wilds conservation center
22
+ (Ohio, USA), June-August 2025. The release contains 72,775 retained animal
23
+ bounding boxes with original SAM3 geometry, labels from Resolve–Clear–Defer
24
+ prototype triage and targeted human taxonomic corrections, and 19,785 Darwin
25
+ Core Events.
26
+
27
+ configs:
28
+ - config_name: occurrences
29
+ data_files: data/occurrences.csv
30
+ - config_name: events
31
+ data_files: data/events.csv
32
+ - config_name: images
33
+ data_files: data/images.csv
34
+ ---
35
+
36
+ # Dataset Card for SmartWilds Camera Traps
37
+
38
+ This camera-trap component of **SmartWilds** contains the complete processed
39
+ image inventory collected at The Wilds in summer 2025, corrected image
40
+ timestamps, deployment metadata, and a curated operational animal-detection
41
+ table.
42
+
43
+ ## Dataset Details
44
+
45
+ | Resource | Count | Description |
46
+ |---|---:|---|
47
+ | Processed image inventory | 235,778 | All valid processed camera images, including images without retained animal boxes. |
48
+ | Camera Events | 19,785 | One Project, 12 SensorDeployments, and 19,772 per-image Events. |
49
+ | Retained operational Occurrences | 72,775 | Animal bounding boxes, each with original SAM3 proposal geometry. |
50
+ | Images with retained Occurrences | 19,726 | Images referenced by one or more retained operational boxes. |
51
+ | Zero-occurrence Image Events | 46 | Legitimate Image Events with no retained operational box. |
52
+ | Curated images approved for upload after human privacy review | 31 | Screened candidates human-reviewed and approved for upload. |
53
+
54
+ The Event hierarchy is rooted at `TheWilds_2025`. The camera Project is
55
+ `SmartWilds_camera_traps_curated`; its 12 SensorDeployments and 19,772 Image
56
+ Events preserve the final curated hierarchy. The image inventory is broader
57
+ than the curated Image Event subtree, so an image with `occurrence_count = 0`
58
+ does not establish animal absence.
59
+
60
+ ### Files
61
+
62
+ ```text
63
+ smartwilds-camera-traps/
64
+ ├── data/
65
+ │ ├── events.csv # Darwin Core Event hierarchy
66
+ │ ├── occurrences.csv # 72,775 retained animal boxes
67
+ │ └── images.csv # 235,778 processed images and corrected times
68
+ ├── analysis/ # acquisition and operational-inference traces
69
+ ├── metadata/
70
+ │ ├── DATA_DICTIONARY.md
71
+ │ ├── taxonomy_mapping.csv
72
+ │ ├── deployments.csv # per-deployment sensor settings and geolocation config
73
+ │ ├── camera_models.csv
74
+ │ ├── timestamp_summary_by_camera.csv, timestamp_summary_by_date.csv
75
+ │ └── provenance/ # annotation and release-integration records
76
+ ├── scripts/ # Darwin Core generator, georeferencing, release build
77
+ ├── media_manifest.csv # relative raw-media packaging references
78
+ └── CHECKSUMS.sha256
79
+ ```
80
+
81
+ All `associatedMedia` and manifest `release_path` values are release-relative
82
+ `media/...` paths. The media manifest references raw media; it does not copy
83
+ media into this release tree.
84
+
85
+ ### Supported Tasks and Applications
86
+
87
+ This dataset supports ecological analysis, data-quality research, and sensing-systems research; the computer-vision tasks apply once the images are released.
88
+
89
+ **🌿 Ecological Applications:**
90
+ - Species occurrence and relative activity by site, hour, and date from 72,775 operational detections
91
+ - Diel activity patterns from corrected capture timestamps
92
+ - Co-occurrence with the acoustic and drone modalities at shared sites (TW02, TW06, TW09)
93
+ - Detection-rate comparison across camera models, trigger modes, and placements
94
+
95
+ **🧹 Data-Quality and Metadata Research:**
96
+ - Timestamp reconstruction: 18 per-deployment correction methods with method and confidence per image
97
+ - Label provenance: triage-resolved, human-reviewed, forced nearest-prototype, and human-edited labels kept distinct
98
+ - Semi-automated labeling evaluation against the human-reviewed subset
99
+
100
+ **⚙️ Sensing-Systems Research:**
101
+ - Image-capture and detection arrival traces for workload characterization (burstiness, diurnal rate changes)
102
+ - Blank-image filtering and storage savings from the full image inventory
103
+ - Edge hardware provisioning for camera-trap detection pipelines
104
+
105
+ **🤖 Computer Vision Tasks (with the image release):**
106
+ - Object detection (SAM3 proposal geometry, 72,775 boxes)
107
+ - Species classification from detection crops
108
+ - Benchmarking semi-automated labeling against the 2,067-box human reference set
109
+
110
+ ## Dataset Details
111
+
112
+ - **Curated by:** Jenna M. Kline, Anirudh Potlapally, Elizabeth G. Campolongo
113
+ - **Homepage:** <https://github.com/Imageomics/smartwilds> (documentation: <https://imageomics.github.io/smartwilds/>)
114
+ - **Paper:** SmartWilds: Integrating, Aligning, and Documenting Multi-Modal Field Sensing Data (under review)
115
+
116
+ ## Annotation Method and Provenance
117
+
118
+ SAM3 generated the original animal proposals. Labels were assigned with the
119
+ Resolve–Clear–Defer prototype-triage protocol described by Potlapally et al.
120
+ (2026), using reviewed support examples to resolve, clear, or defer proposals.
121
+ The retained per-box provenance records the resulting label pathway.
122
+
123
+ | `labelProvenance` | Retained boxes | Interpretation |
124
+ |---|---:|---|
125
+ | `triage_resolved` | 70,728 | Prototype-triage machine assignment. |
126
+ | `triage_reviewed` | 1,807 | Human-reviewed triage label; 81 were targeted reviews outside numbered rounds, including banteng. |
127
+ | `triage_forced_1nn` | 199 | Small proposal unresolved after guarded triage; machine-assigned from its nearest reviewed prototype without the usual decision safeguards. |
128
+ | `human-edit` | 39 | Targeted human taxonomic correction on an existing SAM3 proposal. |
129
+ | `human-reviewed` | 2 | Targeted human review label on an existing SAM3 proposal. |
130
+ | **Total** | **72,775** | **Retained operational occurrences.** |
131
+
132
+ The 199 forced 1-NN labels correspond to small proposals remaining unresolved
133
+ after guarded Resolve–Clear–Defer triage. They were assigned the label of their
134
+ nearest reviewed prototype without the usual decision safeguards and were not
135
+ individually expert-verified. Every retained row uses original SAM3 proposal
136
+ geometry.
137
+
138
+ The taxonomy mapping in `metadata/taxonomy_mapping.csv` records the final
139
+ scientific names and ranks for the 13 project source-label classes. Broad
140
+ labels such as `bird` and `insect` remain broad rather than being generalized
141
+ beyond the evidence available for the proposal.
142
+
143
+ ## Timestamps, Media, and Privacy
144
+
145
+ `data/images.csv` retains the raw timestamp, corrected timestamp, correction
146
+ method, and correction confidence for the full processed inventory. Camera
147
+ Event and Occurrence dates and times use the corrected image timestamps.
148
+
149
+ `media_manifest.csv` supplies release-relative paths and packaging status for
150
+ raw media. Privacy fields retain screening evidence and record the
151
+ human-review outcome. Media in which a person can be individually identified are removed from the
152
+ release. People too small to identify (a person box under 80 px in the native
153
+ image, where the face is under about 10 px) are retained; every file with a
154
+ larger person detection was reviewed by a person before release.
155
+ The 31 curated images flagged by screening were reviewed and cleared for
156
+ retention.
157
+
158
+ ## Limitations
159
+
160
+ - Occurrences are detection boxes, not unique animals; repeated triggers and
161
+ adjacent images can represent the same individual.
162
+ - The operational labels are semi-automated rather than a fully verified
163
+ object-detection ground-truth set. The 1,807 rows with
164
+ `labelProvenance = triage_reviewed` are the human-verified triage subset;
165
+ machine-derived labels elsewhere in the table should not be used as a fully
166
+ verified object-detection benchmark.
167
+ - A zero `occurrence_count` is not evidence of animal absence.
168
+
169
+ ## Reproducibility
170
+
171
+ The camera tables are produced by the post-triage annotation pipeline described
172
+ above and packaged by `scripts/build_hf_release.py`, which validates original
173
+ SAM3 geometry and release-relative media paths before staging. The Darwin Core
174
+ generator and the georeferencing script are in `scripts/`.
175
+
176
+ ## Annotation-protocol reference
177
+
178
+ The semi-automated labeling workflow follows [Potlapally et al. (2026),
179
+ *Resolve, Clear, or Defer: Training-Free Active Prototype Triage for Ecological
180
+ Detection Pipelines*](https://arxiv.org/abs/2611.01466).
181
+
182
+ ## Licensing
183
+
184
+ Data: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). Scripts: MIT.
185
+
186
+ ## Citation
187
+
188
+ ```bibtex
189
+ @misc{smartwilds2025_camera_traps,
190
+ author = {Kline, Jenna M. and Potlapally, Anirudh and Campolongo, Elizabeth G.},
191
+ title = {SmartWilds Camera Traps (The Wilds 2025)},
192
+ year = {2026},
193
+ publisher = {Hugging Face},
194
+ note = {DOI pending the raw data release},
195
+ url = {https://huggingface.co/datasets/ABC-Center/smartwilds_metadata/tree/main/smartwilds-camera-traps}
196
+ }
197
+ ```
198
+
199
+ Please also cite the paper:
200
+
201
+ ```bibtex
202
+ @article{kline2026smartwilds,
203
+ author = {Kline, Jenna M. and Potlapally, Anirudh and Campolongo, Elizabeth G.},
204
+ title = {SmartWilds: Integrating, Aligning, and Documenting Multi-Modal Field Sensing Data},
205
+ year = {2026},
206
+ note = {Under review}
207
+ }
208
+ ```
209
+
210
+ This dataset card follows the [FAIR² Drones Data Standard](https://imageomics.github.io/fair_drones/)
211
+ (Kline and Campolongo, 2026).
212
+
213
+ ## Acknowledgements
214
+
215
+ This project is supported by the [Imageomics Institute](https://imageomics.org), which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning), and by the [AI Institute for Intelligent Cyberinfrastructure with Computational Learning in the Environment (ICICLE)](https://icicle.osu.edu/), which is funded by the US National Science Foundation under [Award #2112606](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2112606).
216
+
217
+ This work is also supported by the AI and Biodiversity Change (ABC) Global Center. The ABC Global Center is funded by the US National Science Foundation under [Award No. 2330423](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2330423&HistoricalAwards=false) and the Natural Sciences and Engineering Research Council of Canada under [Award No. 585136](https://www.nserc-crsng.gc.ca/ase-oro/Details-Detailles_eng.asp?id=782440). This dataset draws on research supported by the Social Sciences and Humanities Research Council.
218
+
219
+ Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation, Natural Sciences and Engineering Research Council of Canada, or Social Sciences and Humanities Research Council.
220
+
221
+ Special thanks to Dan Beetem and [The Wilds](https://www.thewilds.org/) in Ohio for providing access to deployment sites and supporting this wildlife monitoring research. We thank the Columbus Zoo and Aquarium for their support in facilitating this project. All data collection, including drone flights, was conducted under the supervision of the Director of Animal Management, with permission from The Wilds Animal Care and Use Committee.
222
+
223
+ This work used the [Ohio Supercomputer Center](https://www.osc.edu/) (Ohio Supercomputer Center. 1987. Ohio Supercomputer Center. Columbus OH: Ohio Supercomputer Center. <https://ror.org/01apna436>).
224
+
225
+ ## Dataset Card Contact
226
+
227
+ Jenna M. Kline ([kline.377@osu.edu](mailto:kline.377@osu.edu))
smartwilds-camera-traps/analysis/camera_arrival_statistics.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "definitions": {
3
+ "rate": "time-eligible arrivals / fixed 600-hour Campaign 2 window",
4
+ "interarrival": "successive sorted second-level timestamps, ties retained",
5
+ "cv": "population SD / mean inter-arrival interval",
6
+ "burstiness": "B=(CV-1)/(CV+1)"
7
+ },
8
+ "acquisition": {
9
+ "stream_id": "camera_image_acquisition",
10
+ "source_file": "smartwilds-camera-traps/analysis/camera_image_acquisition_arrivals.csv",
11
+ "source_sha256": "cf3367ff2c824bc83f0e17fb8008b70e30dc5e251cdb51b8c929f65ef6555493",
12
+ "counts": {
13
+ "selected_source_rows": 235778,
14
+ "unique_source_ids": 235778,
15
+ "by_campaign": {
16
+ "campaign1": 15081,
17
+ "campaign2": 220697
18
+ },
19
+ "time_eligible_by_campaign": {
20
+ "campaign1": 15081,
21
+ "campaign2": 220697
22
+ },
23
+ "timestamp_precision": {
24
+ "second": 235778
25
+ }
26
+ },
27
+ "campaign2_statistics": {
28
+ "window_start": "2025-08-04T00:00:00",
29
+ "window_end_exclusive": "2025-08-29T00:00:00",
30
+ "window_hours": 600,
31
+ "time_eligible_arrivals": 220697,
32
+ "observation_window_rate_per_hour": 367.8283333333333,
33
+ "interarrival_interval_count": 220696,
34
+ "mean_interarrival_seconds": 9.407497190705767,
35
+ "interarrival_cv_population": 2.064767366037759,
36
+ "burstiness_B": 0.3474219211014141
37
+ }
38
+ },
39
+ "operational_inference": {
40
+ "source_file": "analysis/camera_operational_occurrence_arrivals.csv",
41
+ "source_sha256": "0c788434afae99a62ff5c0191aac7ba94c89a333a95966accbbe920c417175d9",
42
+ "counts": {
43
+ "selected_source_rows": 72775,
44
+ "unique_source_ids": 72775,
45
+ "by_campaign": {
46
+ "campaign1": 2309,
47
+ "campaign2": 70466
48
+ },
49
+ "time_eligible_by_campaign": {
50
+ "campaign1": 2309,
51
+ "campaign2": 70466
52
+ },
53
+ "timestamp_precision": {
54
+ "second": 72775
55
+ }
56
+ },
57
+ "campaign2_statistics": {
58
+ "window_start": "2025-08-04T00:00:00",
59
+ "window_end_exclusive": "2025-08-29T00:00:00",
60
+ "window_hours": 600,
61
+ "time_eligible_arrivals": 70466,
62
+ "observation_window_rate_per_hour": 117.44333333333333,
63
+ "interarrival_interval_count": 70465,
64
+ "mean_interarrival_seconds": 29.44670403746541,
65
+ "interarrival_cv_population": 12.343094880504369,
66
+ "burstiness_B": 0.8501097370654086
67
+ }
68
+ }
69
+ }
smartwilds-camera-traps/data/events.csv ADDED
The diff for this file is too large to render. See raw diff
 
smartwilds-camera-traps/metadata/DATA_DICTIONARY.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SmartWilds Camera Traps data dictionary
2
+
3
+ ## `data/occurrences.csv`
4
+
5
+ One retained animal bounding box per row. The operational table contains
6
+ 72,775 occurrences; it is not a fully human-verified object-detection
7
+ benchmark.
8
+
9
+ | Field(s) | Definition |
10
+ |---|---|
11
+ | `occurrenceID`, `eventID`, `associatedMedia` | Stable occurrence identifier, its per-image Event, and the release-relative `media/...` source image. |
12
+ | `bboxX`, `bboxY`, `bboxWidth`, `bboxHeight` | Bounding box in source-image pixel `xywh` coordinates: top-left x/y and width/height. |
13
+ | `geometryProvenance` | `SAM3` for every retained row; all released geometry is the original SAM3 proposal geometry. |
14
+ | `labelProvenance` | `triage_resolved` (70,728 prototype-triage machine labels); `triage_reviewed` (1,807 human-reviewed triage labels); `triage_forced_1nn` (199 small proposals unresolved after guarded triage and assigned their nearest reviewed-prototype label without usual decision safeguards; machine-assigned, not individually expert-verified); `human-edit` (39 targeted taxonomic corrections); or `human-reviewed` (2 targeted human review labels). |
15
+ | `triageRound` | Numbered Resolve–Clear–Defer review round where applicable. It is blank for 83 targeted reviews outside numbered rounds: 81 `triage_reviewed` and 2 `human-reviewed` rows. |
16
+ | `sourceProposalID`, `sourcePoolIndex` | Identifiers linking a retained occurrence to its original proposal and embedding-pool record. |
17
+
18
+ ## `data/events.csv`
19
+
20
+ Darwin Core Event hierarchy for the camera-trap component: one camera project,
21
+ 12 SensorDeployments, and 19,772 Image Events.
22
+
23
+ ## `data/images.csv`
24
+
25
+ The full corrected inventory of 235,778 processed camera images, including
26
+ images with no retained operational occurrences. `occurrence_count` counts
27
+ rows in `data/occurrences.csv` associated with that image; zero does not
28
+ establish animal absence. `raw_timestamp` preserves camera metadata, whereas
29
+ `corrected_timestamp` is the timestamp used for Event and Occurrence analyses.
30
+ Preview assets may retain embedded camera metadata; use `corrected_timestamp`
31
+ for temporal analysis.
32
+
33
+ Privacy fields preserve screening evidence and human-review outcome. The 31
34
+ screening-flagged curated images with retained operational occurrences were
35
+ human-reviewed and approved for upload.
36
+
37
+ ## `media_manifest.csv`
38
+
39
+ One row per discovered media or auxiliary file. This manifest is broader than
40
+ `data/images.csv`: it also includes videos and supporting files. `release_path`
41
+ is a release-relative path; `source_path` is an internal acquisition path.
42
+ `include = true` denotes intended package inclusion only and is **not** public
43
+ release, licensing, or privacy-clearance authorization. Privacy-screening and
44
+ human-review fields record the available evidence for each manifest entry.
45
+
46
+ ## `analysis/`
47
+
48
+ `camera_image_acquisition_arrivals.csv` describes full-image acquisition.
49
+ `camera_operational_occurrence_arrivals.csv` and
50
+ `camera_arrival_statistics.json` describe the retained operational-occurrence
51
+ workload.
smartwilds-camera-traps/metadata/camera_geolocation_config.csv ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ enabled,collection,camera_id,path_contains,camera_lat,camera_lon,hfov_deg,bearing_deg,image_rotation_deg,target_height_m,config_source,notes
2
+ 1,thewilds_20250630_20250703,TW01-CT02,,39.83076500,-81.73789500,56.5,135,0,0.9,metadata_dms_plus_sensor_config,"GPS from metadata 39.49.8459 081.44.2737; HFOV/bearing from sensor_configurations.md"
3
+ 1,thewilds_20250630_20250703,TW02-CT03,,39.83065667,-81.73791833,63,225,0,0.9,metadata_dms_plus_sensor_config,"GPS from metadata 39.49.8394 081.44.2751; HFOV/bearing from sensor_configurations.md"
4
+ 1,thewilds_20250630_20250703,TW03-CT01,,39.83516667,-81.73518333,56.5,180,0,0.9,camera_log_dms_like_plus_sensor_config,"GPS normalized from camera log 39.5011 81.4411 as degrees+decimal-minutes; bearing/model from sensor_configurations.md"
5
+ 1,thewilds_20250630_20250703,TW04-CT04,,39.83438000,-81.73932000,120,315,180,0.9,camera_log_decimal_plus_sensor_config,"GPS from camera log; longitude sign corrected west; June/July camera facing NW from sensor configuration; images are upside down so bbox coordinates are mirrored during geolocation"
6
+ 1,thewilds_20250804_20250828,TW01-CT02,,39.83076500,-81.73789500,56.5,135,0,0.9,metadata_dms_plus_sensor_config,"GPS from metadata 39.49.8459 081.44.2737; HFOV/bearing from sensor_configurations.md"
7
+ 1,thewilds_20250804_20250828,TW02-CT01,,39.83065667,-81.73791833,56.5,225,0,0.9,metadata_dms_plus_sensor_config,"GPS from metadata 39.49.8394 081.44.2751; HFOV/bearing from sensor_configurations.md"
8
+ 1,thewilds_20250804_20250828,TW04-CT03,,39.83428667,-81.73934000,63,225,0,0.9,metadata_dms_plus_visual_review,"GPS from metadata 39.50.0572 081.44.3604; bearing corrected to southwest from visual review"
9
+ 1,thewilds_20250804_20250828,TW06-CT04,,39.83553983,-81.72999900,120,315,0,0.9,zebra_shelter_drone_frame_anchor,"Approximate Zebra Shelter camera anchor from 20250818_parrot_02 frame P5770586_000000 telemetry; HFOV/bearing from sensor_configurations.md"
10
+ 1,thewilds_20250804_20250828,TW06-CT05,,39.83553983,-81.72999900,55,0,0,0.9,zebra_shelter_drone_frame_anchor,"Approximate Zebra Shelter camera anchor from 20250818_parrot_02 frame P5770586_000000 telemetry; HFOV/bearing from sensor_configurations.md"
11
+ 1,thewilds_20250804_20250828,TW09-CT05,,39.83418000,-81.73783000,55,135,0,0.9,sensor_config_aru_site_proxy,"No direct camera GPS found; using TW09 Dock ARU/site coordinate; HFOV/bearing from sensor_configurations.md"
12
+ 1,thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,39.83065667,-81.73791833,56.5,225,0,0.9,relocated_to_nomad_ridge_proxy_needs_review,"Specific override for SD23 after move to Nomad Ridge/Shelter; GPS from TW02 metadata; bearing assumed from TW02/TW09 move notes"
13
+ 1,thewilds_20250804_20250828,TW09_CT02,,39.83418000,-81.73783000,56.5,180,0,0.9,sensor_config_aru_site_proxy,"Default TW09 Dock-left position; GPS from TW09 ARU/site coordinate; HFOV/bearing from sensor_configurations.md"
14
+ 1,thewilds_20250804_20250828,TW11-CT06,,39.83438000,-81.73930000,55,45,0,0.9,metadata_decimal_plus_sensor_config,"GPS from camera metadata 39.83438 -81.73930; HFOV/bearing from sensor_configurations.md"
smartwilds-camera-traps/metadata/camera_models.csv ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Model,Manufacturer,HFOV (°),Notes
2
+ GardePro T5NG,GardePro,56.5,"Standard trail cam, photo-only or hybrid"
3
+ GardePro A3,GardePro,63,Video-capable model
4
+ Trail Camera G600,Trail Camera,120,Wide-angle lens
5
+ Reveal Pro 3.0,Tactacam,55,"Cellular-capable, 4K photo, HD video"
smartwilds-camera-traps/metadata/deployments.csv ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ deploymentID,Camera,Site,Model,HFOV,Facing,Mode,Photo Config,Video Config,PIR,Delay,Notes,campaign,PIR/Sensitivity,path_contains,camera_lat,camera_lon,hfov_deg,bearing_deg,image_rotation_deg,target_height_m,config_source,geolocation_notes,images_on_disk,released
2
+ TW01-CT02,CT02,TW01 - Nomad Ridge E,GardePro T5NG,56.5°,SE (135°),Hybrid,"4MP, 3-burst","1080p, 10s, MP4+audio",High,—,"Timelapse hourly, info strip ON",thewilds_20250630_20250703,,,39.83076500,-81.73789500,56.5,135,0,0.9,metadata_dms_plus_sensor_config,GPS from metadata 39.49.8459 081.44.2737; HFOV/bearing from sensor_configurations.md,7811,true
3
+ TW02-CT03,CT03,TW02 - Nomad Ridge W,GardePro A3,63°,SW (225°),Photo+Video,"8MP, 3-series","1080p, 10s, AVI+audio",High,10s shot lag,Only 55 files captured (early battery death),thewilds_20250630_20250703,,,39.83065667,-81.73791833,63,225,0,0.9,metadata_dms_plus_sensor_config,GPS from metadata 39.49.8394 081.44.2751; HFOV/bearing from sensor_configurations.md,39,true
4
+ TW03-CT01,CT01,TW03 - Pasture D Feeder,GardePro T5NG,56.5°,S (180°),—,—,—,—,—,"Near salt lick, config not documented",thewilds_20250630_20250703,,,39.83516667,-81.73518333,56.5,180,0,0.9,camera_log_dms_like_plus_sensor_config,GPS normalized from camera log 39.5011 81.4411 as degrees+decimal-minutes; bearing/model from sensor_configurations.md,6661,true
5
+ TW04-CT04,CT04,TW04 - Lake Trail,Trail Camera G600,120°,NW (315°),Photo+Video,"8MP, 5-burst","1080p, 10s, MP4+audio",High,—,Images upside-down (mount orientation),thewilds_20250630_20250703,,,39.83438000,-81.73932000,120,315,180,0.9,camera_log_decimal_plus_sensor_config,GPS from camera log; longitude sign corrected west; June/July camera facing NW from sensor configuration; images are upside down so bbox coordinates are mirrored during geolocation,570,true
6
+ TW01-CT02,CT02,TW01 - Nomad Ridge E,GardePro T5NG,56.5°,SE (135°),Photo only,"4MP, 3-burst",—,,—,"26,573 JPG; removed Aug 11, relocated to dock",thewilds_20250804_20250828,High,,39.83076500,-81.73789500,56.5,135,0,0.9,metadata_dms_plus_sensor_config,GPS from metadata 39.49.8459 081.44.2737; HFOV/bearing from sensor_configurations.md,26573,true
7
+ TW02-CT01,CT01,TW02 - Nomad Ridge W,GardePro T5NG,56.5°,SW (225°),Photo only,"4MP, 3-burst",—,,—,"61,217 JPG; DATE ERROR (clock incorrect); battery died Aug 18-25",thewilds_20250804_20250828,High,,39.83065667,-81.73791833,56.5,225,0,0.9,metadata_dms_plus_sensor_config,GPS from metadata 39.49.8394 081.44.2751; HFOV/bearing from sensor_configurations.md,61217,true
8
+ TW04-CT03,CT03,TW04 - Lake Trail,GardePro A3,63°,NW (315°),Photo+Video,"8MP, 3-burst","1080p, 10s",,—,"984 JPG + 67 AVI; reset Aug 7, no data after Aug 25",thewilds_20250804_20250828,—,,39.83428667,-81.73934000,63,225,0,0.9,metadata_dms_plus_visual_review,GPS from metadata 39.50.0572 081.44.3604; bearing corrected to southwest from visual review,984,true
9
+ TW06-CT04,CT04,TW06 - Zebra Shelter,Trail Camera G600,120°,NW (315°),Photo+Video,"8MP, 5-burst","1080p, 10s",,—,"40,907 JPG; battery 100% (unusual)",thewilds_20250804_20250828,Motion detection,,39.83553983,-81.72999900,120,315,0,0.9,zebra_shelter_drone_frame_anchor,Approximate Zebra Shelter camera anchor from 20250818_parrot_02 frame P5770586_000000 telemetry; HFOV/bearing from sensor_configurations.md,40907,true
10
+ TW06-CT05,CT05,TW06 - Zebra Shelter (inside),Reveal Pro 3.0,55°,N (0°),Photo+Video,4K,"720p, 10s",,—,84 jpg + 84 mp4; late deploy Aug 25-28,thewilds_20250804_20250828,—,,39.83553983,-81.72999900,55,0,0,0.9,zebra_shelter_drone_frame_anchor,Approximate Zebra Shelter camera anchor from 20250818_parrot_02 frame P5770586_000000 telemetry; HFOV/bearing from sensor_configurations.md,84,true
11
+ TW07-CT05,CT05,TW07 - Zipline Tower,Reveal Pro 3.0,55°,N (0°),Photo+Video,4K,"720p, 10s",,—,ALL PEOPLE (tour buses); no wildlife images,thewilds_20250804_20250828,—,,,,,,,,,,0,false
12
+ TW09-CT02,CT02,TW09 - Dock (left),GardePro T5NG,56.5°,S (180°),Photo only,"4MP, 3-burst",—,,—,"90,834 JPG (largest dataset); battery gap Aug 18-25",thewilds_20250804_20250828,—,SD23_20250818_20250828,39.83065667,-81.73791833,56.5,225,0,0.9,relocated_to_nomad_ridge_proxy_needs_review,Specific override for SD23 after move to Nomad Ridge/Shelter; GPS from TW02 metadata; bearing assumed from TW02/TW09 move notes,59568,true
13
+ TW09-CT02,CT02,TW09 - Dock (left),GardePro T5NG,56.5°,S (180°),Photo only,"4MP, 3-burst",—,,—,"90,834 JPG (largest dataset); battery gap Aug 18-25",thewilds_20250804_20250828,—,,39.83418000,-81.73783000,56.5,180,0,0.9,sensor_config_aru_site_proxy,Default TW09 Dock-left position; GPS from TW09 ARU/site coordinate; HFOV/bearing from sensor_configurations.md,31266,true
14
+ TW09-CT05,CT05,TW09 - Dock (right),Reveal Pro 3.0,55°,SE (135°),Photo+Video,4K,"720p, 10s",,—,Only 9 jpg + 6 mp4; detection issues,thewilds_20250804_20250828,—,,39.83418000,-81.73783000,55,135,0,0.9,sensor_config_aru_site_proxy,No direct camera GPS found; using TW09 Dock ARU/site coordinate; HFOV/bearing from sensor_configurations.md,9,true
15
+ TW11-CT06,CT06,TW11 - Fence/lake,Reveal Pro 3.0,55°,NE (45°),Photo+Video,4K,"FHD 1080p, 15s",,20s,"89 jpg + 23 mp4; Pic+Video mode, multi-shot 1s interval, flash high, 1 bar cell service",thewilds_20250804_20250828,Level 9,,39.83438000,-81.73930000,55,45,0,0.9,metadata_decimal_plus_sensor_config,GPS from camera metadata 39.83438 -81.73930; HFOV/bearing from sensor_configurations.md,89,true
smartwilds-camera-traps/metadata/provenance/ANNOTATION_PROVENANCE.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Camera-trap annotation provenance
2
+
3
+ Operational table: 72,775 retained animal boxes with original SAM3 geometry.
4
+
5
+ ## Label provenance
6
+
7
+ | `labelProvenance` | Rows | Meaning |
8
+ |---|---:|---|
9
+ | `triage_resolved` | 70,728 | Machine label assigned by Resolve–Clear–Defer prototype triage. |
10
+ | `triage_reviewed` | 1,807 | Human-reviewed triage label. Eighty-one rows have no numbered `triageRound`; these are targeted reviews outside the numbered rounds, including banteng. |
11
+ | `triage_forced_1nn` | 199 | Small proposal unresolved after guarded Resolve–Clear–Defer triage; assigned its nearest reviewed-prototype label without the usual decision safeguards. It is a machine assignment and was not individually expert-verified. |
12
+ | `human-edit` | 39 | Targeted human taxonomic correction to an existing SAM3 proposal. |
13
+ | `human-reviewed` | 2 | Targeted human review label on an existing SAM3 proposal. |
14
+ | **Total** | **72,775** | **Retained operational occurrences.** |
15
+
16
+ ## `triageRound`
17
+
18
+ A non-empty `triageRound` identifies the numbered Resolve–Clear–Defer review
19
+ round associated with that proposal. Eighty-three retained rows have no
20
+ numbered round: 81 `triage_reviewed` targeted reviews and 2 `human-reviewed`
21
+ records. Missing values therefore indicate review outside the numbered-round
22
+ workflow, not missing annotation provenance.
23
+
24
+ ## Geometry provenance
25
+
26
+ - `SAM3`: 72,775
27
+
28
+ Every retained box preserves original SAM3 proposal geometry. Targeted human
29
+ review or taxonomic correction changes label provenance only; it does not add
30
+ or edit bounding-box geometry.
31
+
32
+ ## Verification scope
33
+
34
+ The `triage_reviewed` rows are the human-reviewed triage subset. The remaining
35
+ operational labels are semi-automated and should not be treated as a fully
36
+ human-verified object-detection benchmark.
smartwilds-camera-traps/metadata/provenance/tw07_ct05_sensitive_media_disposition_20261008.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "deployment": "TW07-CT05",
3
+ "source_metadata": "thewilds_20250804_20250828/camera_traps/TW07-CT05/metadata.txt",
4
+ "retained_raw_media_files": 0,
5
+ "release_event_rows": 0,
6
+ "release_occurrence_rows": 0,
7
+ "release_decision": "Excluded people-only media because source metadata states photos were not uploaded.",
8
+ "not_claimed": "Whether any camera-card images were later deleted."
9
+ }
smartwilds-camera-traps/metadata/taxonomy_mapping.csv ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sourceLabel,scientificName,vernacularName,taxonRank,phylum,class,order,family,genus
2
+ banteng,Bos javanicus,banteng,species,Chordata,Mammalia,Artiodactyla,Bovidae,Bos
3
+ barn swallow,Hirundo rustica,barn swallow,species,Chordata,Aves,Passeriformes,Hirundinidae,Hirundo
4
+ bird,Aves,bird,class,Chordata,Aves,,,
5
+ butterfly,Lepidoptera,butterfly,order,Arthropoda,Insecta,Lepidoptera,,
6
+ deer,Elaphurus davidianus,milu deer,species,Chordata,Mammalia,Artiodactyla,Cervidae,Elaphurus
7
+ dragonfly,Anisoptera,dragonfly,infraorder,Arthropoda,Insecta,Odonata,,
8
+ e_s,Sturnus vulgaris,European starling,species,Chordata,Aves,Passeriformes,Sturnidae,Sturnus
9
+ goose,Branta canadensis,Canada goose,species,Chordata,Aves,Anseriformes,Anatidae,Branta
10
+ horse,Equus przewalskii,Przewalski's horse,species,Chordata,Mammalia,Perissodactyla,Equidae,Equus
11
+ insect,Insecta,insect,class,Arthropoda,Insecta,,,
12
+ killdeer,Charadrius vociferus,killdeer,species,Chordata,Aves,Charadriiformes,Charadriidae,Charadrius
13
+ swan,Cygnus buccinator,trumpeter swan,species,Chordata,Aves,Anseriformes,Anatidae,Cygnus
14
+ takin,Budorcas taxicolor,Sichuan takin,species,Chordata,Mammalia,Artiodactyla,Bovidae,Budorcas
smartwilds-camera-traps/metadata/timestamp_summary_by_camera.csv ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset,camera_id,location,images,mapped_images,unmapped_images,first_corrected_timestamp,last_corrected_timestamp,needs_review_images,raw_source_counts,correction_method_counts
2
+ thewilds_20250630_20250703,TW01-CT02,Nomad Ridge E,7811,7811,0,2025-06-30T12:18:02,2025-07-02T06:50:02,0,"{""filename"": 7811}","{""june_tw01_correct"": 7811}"
3
+ thewilds_20250630_20250703,TW02-CT03,Nomad Ridge W,39,39,0,2025-06-30T12:34:39,2025-07-01T00:34:44,0,"{""exif"": 39}","{""june_tw02_start_anchor"": 39}"
4
+ thewilds_20250630_20250703,TW03-CT01,Pasture D Feeder,6661,6661,0,2025-06-30T13:06:04,2025-07-02T01:04:01,0,"{""filename"": 6661}","{""june_tw03_correct"": 6661}"
5
+ thewilds_20250630_20250703,TW04-CT04,Lake Trail,570,570,0,2025-06-30T13:25:24,2025-07-03T16:56:10,0,"{""exif"": 570}","{""june_tw04_start_anchor_inverted_images"": 570}"
6
+ thewilds_20250804_20250828,TW01-CT02,Nomad Ridge E,26573,26573,0,2025-08-04T09:01:26,2025-08-10T10:15:50,0,"{""filename"": 26573}","{""aug_tw01_2023_tail_clock_offset"": 15, ""aug_tw01_2025_clock_offset"": 26558}"
7
+ thewilds_20250804_20250828,TW02-CT01,Nomad Ridge W,61217,61217,0,2025-08-04T09:05:00,2025-08-18T09:07:53,0,"{""filename"": 61217}","{""aug_tw02_actual_august_clock"": 17301, ""aug_tw02_sd01_2023_clock_anchor"": 13689, ""aug_tw02_sd01_sep_clock_anchor"": 17262, ""aug_tw02_sd11_sep_clock_anchor"": 12965}"
8
+ thewilds_20250804_20250828,TW04-CT03,Lake Trail,984,984,0,2025-08-07T10:38:38,2025-08-25T10:49:44,0,"{""exif"": 984}","{""aug_tw04_sd02_start_anchor"": 696, ""aug_tw04_sd03_start_anchor"": 288}"
9
+ thewilds_20250804_20250828,TW06-CT04,Zebra Shelter,40907,40907,0,2025-08-04T09:52:35,2025-08-26T15:35:09,0,"{""exif"": 40907}","{""aug_tw06_ct04_initial_start_anchor"": 13173, ""aug_tw06_ct04_sd02_start_anchor"": 27734}"
10
+ thewilds_20250804_20250828,TW06-CT05,Zebra Shelter,84,84,0,2025-08-25T15:09:52,2025-08-28T08:17:12,0,"{""bottom_overlay_ocr"": 83, ""manual_bottom_overlay_read"": 1}","{""bottom_overlay_ocr"": 83, ""manual_bottom_overlay_read"": 1}"
11
+ thewilds_20250804_20250828,TW09-CT05,Dock / Waterfront,9,9,0,2025-08-11T10:18:09,2025-08-13T18:20:26,0,"{""bottom_overlay_ocr"": 9}","{""bottom_overlay_ocr"": 9}"
12
+ thewilds_20250804_20250828,TW09_CT02,"Dock / Waterfront, then Nomad Ridge W after 2025-08-18",90834,90834,0,2025-08-11T10:27:33,2025-08-28T09:44:43,0,"{""filename"": 90834}","{""aug_tw09_ct02_sd22_start_anchor"": 31266, ""aug_tw09_ct02_sd23_correct_after_move"": 59568}"
13
+ thewilds_20250804_20250828,TW11-CT06,Nomad Ridge W,89,89,0,2025-08-18T09:00:37,2025-08-28T02:47:24,0,"{""bottom_overlay_ocr"": 87, ""manual_bottom_overlay_read"": 2}","{""bottom_overlay_ocr"": 87, ""manual_bottom_overlay_read"": 2}"
smartwilds-camera-traps/metadata/timestamp_summary_by_date.csv ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset,camera_id,sd_folder,corrected_date,correction_method,images,first_corrected_timestamp,last_corrected_timestamp,media_folders
2
+ thewilds_20250630_20250703,TW01-CT02,SD02_20250630_20250703,2025-06-30,june_tw01_correct,2142,2025-06-30T12:18:02,2025-06-30T23:59:02,chunk1;chunk2;chunk3;chunk4
3
+ thewilds_20250630_20250703,TW01-CT02,SD02_20250630_20250703,2025-07-01,june_tw01_correct,4392,2025-07-01T00:00:01,2025-07-01T23:59:02,chunk1;chunk2;chunk3;chunk4
4
+ thewilds_20250630_20250703,TW01-CT02,SD02_20250630_20250703,2025-07-02,june_tw01_correct,1277,2025-07-02T00:00:02,2025-07-02T06:50:02,chunk1;chunk2;chunk3;chunk4
5
+ thewilds_20250630_20250703,TW02-CT03,SD03_20250630_20250703,2025-06-30,june_tw02_start_anchor,36,2025-06-30T12:34:39,2025-06-30T23:34:47,images
6
+ thewilds_20250630_20250703,TW02-CT03,SD03_20250630_20250703,2025-07-01,june_tw02_start_anchor,3,2025-07-01T00:34:43,2025-07-01T00:34:44,images
7
+ thewilds_20250630_20250703,TW03-CT01,SD01_20250630_20250703,2025-06-30,june_tw03_correct,1979,2025-06-30T13:06:04,2025-06-30T23:59:01,100MEDIA;101MEDIA;102MEDIA
8
+ thewilds_20250630_20250703,TW03-CT01,SD01_20250630_20250703,2025-07-01,june_tw03_correct,4487,2025-07-01T00:00:01,2025-07-01T23:59:01,102MEDIA;103MEDIA;104MEDIA;105MEDIA;106MEDIA;107MEDIA;108MEDIA
9
+ thewilds_20250630_20250703,TW03-CT01,SD01_20250630_20250703,2025-07-02,june_tw03_correct,195,2025-07-02T00:00:01,2025-07-02T01:04:01,108MEDIA
10
+ thewilds_20250630_20250703,TW04-CT04,SD04_20250630_20250704,2025-06-30,june_tw04_start_anchor_inverted_images,40,2025-06-30T13:25:24,2025-06-30T18:18:31,101MEDIA
11
+ thewilds_20250630_20250703,TW04-CT04,SD04_20250630_20250704,2025-07-01,june_tw04_start_anchor_inverted_images,250,2025-07-01T18:42:33,2025-07-01T20:16:41,101MEDIA
12
+ thewilds_20250630_20250703,TW04-CT04,SD04_20250630_20250704,2025-07-02,june_tw04_start_anchor_inverted_images,255,2025-07-02T07:48:38,2025-07-02T20:17:58,101MEDIA
13
+ thewilds_20250630_20250703,TW04-CT04,SD04_20250630_20250704,2025-07-03,june_tw04_start_anchor_inverted_images,25,2025-07-03T15:36:22,2025-07-03T16:56:10,101MEDIA
14
+ thewilds_20250804_20250828,TW01-CT02,SD02_20250804_20250811,2025-08-04,aug_tw01_2025_clock_offset,999,2025-08-04T09:01:26,2025-08-04T14:33:27,109MEDIA
15
+ thewilds_20250804_20250828,TW01-CT02,SD02_20250804_20250811,2025-08-05,aug_tw01_2025_clock_offset,4416,2025-08-05T01:40:26,2025-08-05T23:59:27,112MEDIA;113MEDIA;114MEDIA;115MEDIA;116MEDIA
16
+ thewilds_20250804_20250828,TW01-CT02,SD02_20250804_20250811,2025-08-06,aug_tw01_2025_clock_offset,4437,2025-08-06T00:00:26,2025-08-06T23:59:27,116MEDIA;117MEDIA;118MEDIA;119MEDIA;120MEDIA
17
+ thewilds_20250804_20250828,TW01-CT02,SD02_20250804_20250811,2025-08-07,aug_tw01_2025_clock_offset,4764,2025-08-07T00:00:26,2025-08-07T23:59:27,120MEDIA;121MEDIA;122MEDIA;123MEDIA;124MEDIA;125MEDIA
18
+ thewilds_20250804_20250828,TW01-CT02,SD02_20250804_20250811,2025-08-08,aug_tw01_2025_clock_offset,4680,2025-08-08T00:00:26,2025-08-08T23:59:27,125MEDIA;126MEDIA;127MEDIA;128MEDIA;129MEDIA;130MEDIA
19
+ thewilds_20250804_20250828,TW01-CT02,SD02_20250804_20250811,2025-08-09,aug_tw01_2025_clock_offset,4910,2025-08-09T00:00:26,2025-08-09T23:59:27,130MEDIA;131MEDIA;132MEDIA;133MEDIA;134MEDIA;135MEDIA
20
+ thewilds_20250804_20250828,TW01-CT02,SD02_20250804_20250811,2025-08-10,aug_tw01_2023_tail_clock_offset,15,2025-08-10T10:14:41,2025-08-10T10:15:50,137MEDIA
21
+ thewilds_20250804_20250828,TW01-CT02,SD02_20250804_20250811,2025-08-10,aug_tw01_2025_clock_offset,2352,2025-08-10T00:00:26,2025-08-10T10:14:31,135MEDIA;136MEDIA;137MEDIA
22
+ thewilds_20250804_20250828,TW02-CT01,SD01_20250804_20250811,2025-08-04,aug_tw02_sd01_2023_clock_anchor,8388,2025-08-04T09:05:00,2025-08-04T23:59:01,100MEDIA;101MEDIA;102MEDIA;104MEDIA;105MEDIA;106MEDIA;107MEDIA;108MEDIA;109MEDIA;110MEDIA;111MEDIA
23
+ thewilds_20250804_20250828,TW02-CT01,SD01_20250804_20250811,2025-08-05,aug_tw02_sd01_2023_clock_anchor,5301,2025-08-05T00:00:00,2025-08-05T09:04:01,100MEDIA;102MEDIA;103MEDIA;104MEDIA;107MEDIA;108MEDIA;111MEDIA;112MEDIA;113MEDIA
24
+ thewilds_20250804_20250828,TW02-CT01,SD01_20250804_20250811,2025-08-07,aug_tw02_sd01_sep_clock_anchor,2676,2025-08-07T09:09:02,2025-08-07T23:59:01,113MEDIA;114MEDIA;115MEDIA;116MEDIA
25
+ thewilds_20250804_20250828,TW02-CT01,SD01_20250804_20250811,2025-08-08,aug_tw02_sd01_sep_clock_anchor,4320,2025-08-08T00:00:01,2025-08-08T23:59:02,116MEDIA;117MEDIA;118MEDIA;119MEDIA;120MEDIA
26
+ thewilds_20250804_20250828,TW02-CT01,SD01_20250804_20250811,2025-08-09,aug_tw02_sd01_sep_clock_anchor,4338,2025-08-09T00:00:01,2025-08-09T23:59:02,120MEDIA;121MEDIA;122MEDIA;123MEDIA;124MEDIA;125MEDIA
27
+ thewilds_20250804_20250828,TW02-CT01,SD01_20250804_20250811,2025-08-10,aug_tw02_sd01_sep_clock_anchor,4320,2025-08-10T00:00:01,2025-08-10T23:59:02,125MEDIA;126MEDIA;127MEDIA;128MEDIA;129MEDIA
28
+ thewilds_20250804_20250828,TW02-CT01,SD01_20250804_20250811,2025-08-11,aug_tw02_sd01_sep_clock_anchor,1608,2025-08-11T00:00:01,2025-08-11T08:50:34,129MEDIA;130MEDIA
29
+ thewilds_20250804_20250828,TW02-CT01,SD11_20250811_20250818,2025-08-11,aug_tw02_sd11_sep_clock_anchor,2624,2025-08-11T09:34:00,2025-08-11T23:59:34,100MEDIA;101MEDIA;102MEDIA
30
+ thewilds_20250804_20250828,TW02-CT01,SD11_20250811_20250818,2025-08-12,aug_tw02_sd11_sep_clock_anchor,4329,2025-08-12T00:00:33,2025-08-12T23:59:34,102MEDIA;103MEDIA;104MEDIA;105MEDIA;106MEDIA
31
+ thewilds_20250804_20250828,TW02-CT01,SD11_20250811_20250818,2025-08-13,aug_tw02_sd11_sep_clock_anchor,4344,2025-08-13T00:00:33,2025-08-13T23:59:34,106MEDIA;107MEDIA;108MEDIA;109MEDIA;110MEDIA;111MEDIA
32
+ thewilds_20250804_20250828,TW02-CT01,SD11_20250811_20250818,2025-08-14,aug_tw02_actual_august_clock,2646,2025-08-14T09:18:22,2025-08-14T23:59:01,112MEDIA;113MEDIA;114MEDIA;115MEDIA
33
+ thewilds_20250804_20250828,TW02-CT01,SD11_20250811_20250818,2025-08-14,aug_tw02_sd11_sep_clock_anchor,1668,2025-08-14T00:00:33,2025-08-14T09:12:44,111MEDIA;112MEDIA
34
+ thewilds_20250804_20250828,TW02-CT01,SD11_20250811_20250818,2025-08-15,aug_tw02_actual_august_clock,4353,2025-08-15T00:00:00,2025-08-15T23:59:01,115MEDIA;116MEDIA;117MEDIA;118MEDIA;119MEDIA
35
+ thewilds_20250804_20250828,TW02-CT01,SD11_20250811_20250818,2025-08-16,aug_tw02_actual_august_clock,4323,2025-08-16T00:00:00,2025-08-16T23:59:01,119MEDIA;120MEDIA;121MEDIA;122MEDIA;123MEDIA;124MEDIA
36
+ thewilds_20250804_20250828,TW02-CT01,SD11_20250811_20250818,2025-08-17,aug_tw02_actual_august_clock,4332,2025-08-17T00:00:00,2025-08-17T23:59:01,124MEDIA;125MEDIA;126MEDIA;127MEDIA;128MEDIA
37
+ thewilds_20250804_20250828,TW02-CT01,SD11_20250811_20250818,2025-08-18,aug_tw02_actual_august_clock,1647,2025-08-18T00:00:00,2025-08-18T09:07:53,128MEDIA;129MEDIA;130MEDIA
38
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-11,aug_tw04_sd02_start_anchor,42,2025-08-11T10:08:18,2025-08-11T23:08:23,100MEDIA
39
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-12,aug_tw04_sd02_start_anchor,72,2025-08-12T00:08:23,2025-08-12T23:08:44,100MEDIA
40
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-13,aug_tw04_sd02_start_anchor,54,2025-08-13T00:08:44,2025-08-13T20:09:02,100MEDIA
41
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-14,aug_tw04_sd02_start_anchor,12,2025-08-14T07:09:10,2025-08-14T10:09:13,100MEDIA
42
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-18,aug_tw04_sd02_start_anchor,39,2025-08-18T11:18:44,2025-08-18T23:18:56,100MEDIA
43
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-19,aug_tw04_sd02_start_anchor,72,2025-08-19T00:18:55,2025-08-19T23:19:15,100MEDIA
44
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-20,aug_tw04_sd02_start_anchor,72,2025-08-20T00:19:14,2025-08-20T23:19:37,100MEDIA
45
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-21,aug_tw04_sd02_start_anchor,72,2025-08-21T00:19:36,2025-08-21T23:19:55,100MEDIA
46
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-22,aug_tw04_sd02_start_anchor,72,2025-08-22T00:19:53,2025-08-22T23:20:08,100MEDIA
47
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-23,aug_tw04_sd02_start_anchor,72,2025-08-23T00:20:07,2025-08-23T23:20:32,100MEDIA
48
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-24,aug_tw04_sd02_start_anchor,72,2025-08-24T00:20:32,2025-08-24T23:21:01,100MEDIA
49
+ thewilds_20250804_20250828,TW04-CT03,SD02_20250811_20250828,2025-08-25,aug_tw04_sd02_start_anchor,45,2025-08-25T00:21:00,2025-08-25T10:49:44,100MEDIA
50
+ thewilds_20250804_20250828,TW04-CT03,SD03_20250807_20250811,2025-08-07,aug_tw04_sd03_start_anchor,42,2025-08-07T10:38:38,2025-08-07T23:38:44,100MEDIA
51
+ thewilds_20250804_20250828,TW04-CT03,SD03_20250807_20250811,2025-08-08,aug_tw04_sd03_start_anchor,72,2025-08-08T00:38:44,2025-08-08T23:39:14,100MEDIA
52
+ thewilds_20250804_20250828,TW04-CT03,SD03_20250807_20250811,2025-08-09,aug_tw04_sd03_start_anchor,72,2025-08-09T00:39:14,2025-08-09T23:39:42,100MEDIA
53
+ thewilds_20250804_20250828,TW04-CT03,SD03_20250807_20250811,2025-08-10,aug_tw04_sd03_start_anchor,72,2025-08-10T00:39:42,2025-08-10T23:40:00,100MEDIA
54
+ thewilds_20250804_20250828,TW04-CT03,SD03_20250807_20250811,2025-08-11,aug_tw04_sd03_start_anchor,30,2025-08-11T00:40:00,2025-08-11T09:40:14,100MEDIA
55
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-11,aug_tw06_ct04_sd02_start_anchor,1890,2025-08-11T09:48:51,2025-08-11T21:16:28,100MEDIA;101MEDIA
56
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-12,aug_tw06_ct04_sd02_start_anchor,2170,2025-08-12T01:51:41,2025-08-12T18:21:45,101MEDIA;102MEDIA;103MEDIA;104MEDIA
57
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-13,aug_tw06_ct04_sd02_start_anchor,520,2025-08-13T03:15:44,2025-08-13T21:58:11,104MEDIA
58
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-14,aug_tw06_ct04_sd02_start_anchor,972,2025-08-14T01:31:12,2025-08-14T23:37:33,104MEDIA;105MEDIA
59
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-15,aug_tw06_ct04_sd02_start_anchor,875,2025-08-15T08:40:29,2025-08-15T23:39:55,105MEDIA;106MEDIA
60
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-16,aug_tw06_ct04_sd02_start_anchor,670,2025-08-16T00:49:21,2025-08-16T17:35:32,106MEDIA;107MEDIA
61
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-17,aug_tw06_ct04_sd02_start_anchor,2890,2025-08-17T01:15:17,2025-08-17T22:43:08,107MEDIA;108MEDIA;109MEDIA
62
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-18,aug_tw06_ct04_sd02_start_anchor,1935,2025-08-18T02:03:42,2025-08-18T20:31:33,109MEDIA;110MEDIA;111MEDIA
63
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-19,aug_tw06_ct04_sd02_start_anchor,2015,2025-08-19T05:38:44,2025-08-19T21:48:46,111MEDIA;112MEDIA;113MEDIA
64
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-20,aug_tw06_ct04_sd02_start_anchor,695,2025-08-20T02:38:58,2025-08-20T23:29:53,113MEDIA;114MEDIA
65
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-21,aug_tw06_ct04_sd02_start_anchor,435,2025-08-21T01:43:13,2025-08-21T18:55:12,114MEDIA;115MEDIA
66
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-22,aug_tw06_ct04_sd02_start_anchor,1450,2025-08-22T04:33:23,2025-08-22T17:05:25,115MEDIA;116MEDIA
67
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-23,aug_tw06_ct04_sd02_start_anchor,1740,2025-08-23T08:17:13,2025-08-23T23:59:48,116MEDIA;117MEDIA;118MEDIA
68
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-24,aug_tw06_ct04_sd02_start_anchor,1780,2025-08-24T00:21:59,2025-08-24T18:37:05,118MEDIA;119MEDIA;120MEDIA
69
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-25,aug_tw06_ct04_sd02_start_anchor,4235,2025-08-25T02:24:41,2025-08-25T21:44:36,120MEDIA;121MEDIA;122MEDIA;123MEDIA;124MEDIA
70
+ thewilds_20250804_20250828,TW06-CT04,SD02_20250811_20250828,2025-08-26,aug_tw06_ct04_sd02_start_anchor,3462,2025-08-26T02:00:39,2025-08-26T15:35:09,124MEDIA;125MEDIA;126MEDIA;127MEDIA
71
+ thewilds_20250804_20250828,TW06-CT04,images,2025-08-04,aug_tw06_ct04_initial_start_anchor,1990,2025-08-04T09:52:35,2025-08-04T18:21:47,100MEDIA;101MEDIA;102MEDIA
72
+ thewilds_20250804_20250828,TW06-CT04,images,2025-08-05,aug_tw06_ct04_initial_start_anchor,1080,2025-08-05T03:55:47,2025-08-05T21:23:30,102MEDIA;103MEDIA
73
+ thewilds_20250804_20250828,TW06-CT04,images,2025-08-06,aug_tw06_ct04_initial_start_anchor,3180,2025-08-06T04:19:18,2025-08-06T21:29:19,103MEDIA;104MEDIA;105MEDIA;106MEDIA
74
+ thewilds_20250804_20250828,TW06-CT04,images,2025-08-07,aug_tw06_ct04_initial_start_anchor,2250,2025-08-07T08:33:44,2025-08-07T21:29:47,106MEDIA;107MEDIA;108MEDIA
75
+ thewilds_20250804_20250828,TW06-CT04,images,2025-08-08,aug_tw06_ct04_initial_start_anchor,2865,2025-08-08T02:13:47,2025-08-08T18:00:35,108MEDIA;109MEDIA;110MEDIA;111MEDIA
76
+ thewilds_20250804_20250828,TW06-CT04,images,2025-08-09,aug_tw06_ct04_initial_start_anchor,1620,2025-08-09T01:44:32,2025-08-09T23:12:14,111MEDIA;112MEDIA;113MEDIA
77
+ thewilds_20250804_20250828,TW06-CT04,images,2025-08-10,aug_tw06_ct04_initial_start_anchor,188,2025-08-10T07:27:49,2025-08-10T11:16:58,113MEDIA
78
+ thewilds_20250804_20250828,TW06-CT05,SD05_20250825_20250828,2025-08-25,bottom_overlay_ocr,16,2025-08-25T15:09:52,2025-08-25T18:56:02,images
79
+ thewilds_20250804_20250828,TW06-CT05,SD05_20250825_20250828,2025-08-25,manual_bottom_overlay_read,1,2025-08-25T18:51:19,2025-08-25T18:51:19,images
80
+ thewilds_20250804_20250828,TW06-CT05,SD05_20250825_20250828,2025-08-26,bottom_overlay_ocr,23,2025-08-26T01:09:24,2025-08-26T14:10:16,images
81
+ thewilds_20250804_20250828,TW06-CT05,SD05_20250825_20250828,2025-08-27,bottom_overlay_ocr,17,2025-08-27T09:42:12,2025-08-27T21:52:40,images
82
+ thewilds_20250804_20250828,TW06-CT05,SD05_20250825_20250828,2025-08-28,bottom_overlay_ocr,27,2025-08-28T00:20:24,2025-08-28T08:17:12,images
83
+ thewilds_20250804_20250828,TW09-CT05,SD05_20250811_20250814,2025-08-11,bottom_overlay_ocr,2,2025-08-11T10:18:09,2025-08-11T22:18:41,SD05_20250811_20250814
84
+ thewilds_20250804_20250828,TW09-CT05,SD05_20250811_20250814,2025-08-12,bottom_overlay_ocr,4,2025-08-12T16:35:32,2025-08-12T22:33:17,SD05_20250811_20250814
85
+ thewilds_20250804_20250828,TW09-CT05,SD05_20250811_20250814,2025-08-13,bottom_overlay_ocr,3,2025-08-13T16:40:53,2025-08-13T18:20:26,SD05_20250811_20250814
86
+ thewilds_20250804_20250828,TW09_CT02,SD22_20250811_20250818,2025-08-11,aug_tw09_ct02_sd22_start_anchor,2718,2025-08-11T10:27:33,2025-08-11T23:59:01,100MEDIA;101MEDIA;102MEDIA
87
+ thewilds_20250804_20250828,TW09_CT02,SD22_20250811_20250818,2025-08-12,aug_tw09_ct02_sd22_start_anchor,4617,2025-08-12T00:00:00,2025-08-12T23:59:01,102MEDIA;103MEDIA;104MEDIA;105MEDIA;106MEDIA;107MEDIA
88
+ thewilds_20250804_20250828,TW09_CT02,SD22_20250811_20250818,2025-08-13,aug_tw09_ct02_sd22_start_anchor,4353,2025-08-13T00:00:00,2025-08-13T23:59:01,107MEDIA;108MEDIA;109MEDIA;110MEDIA;111MEDIA
89
+ thewilds_20250804_20250828,TW09_CT02,SD22_20250811_20250818,2025-08-14,aug_tw09_ct02_sd22_start_anchor,4335,2025-08-14T00:00:00,2025-08-14T23:59:01,111MEDIA;112MEDIA;113MEDIA;114MEDIA;115MEDIA;116MEDIA
90
+ thewilds_20250804_20250828,TW09_CT02,SD22_20250811_20250818,2025-08-15,aug_tw09_ct02_sd22_start_anchor,4365,2025-08-15T00:00:00,2025-08-15T23:59:01,116MEDIA;117MEDIA;118MEDIA;119MEDIA;120MEDIA
91
+ thewilds_20250804_20250828,TW09_CT02,SD22_20250811_20250818,2025-08-16,aug_tw09_ct02_sd22_start_anchor,4524,2025-08-16T00:00:01,2025-08-16T23:59:01,120MEDIA;121MEDIA;122MEDIA;123MEDIA;124MEDIA
92
+ thewilds_20250804_20250828,TW09_CT02,SD22_20250811_20250818,2025-08-17,aug_tw09_ct02_sd22_start_anchor,4485,2025-08-17T00:00:00,2025-08-17T23:59:01,124MEDIA;125MEDIA;126MEDIA;127MEDIA;128MEDIA;129MEDIA
93
+ thewilds_20250804_20250828,TW09_CT02,SD22_20250811_20250818,2025-08-18,aug_tw09_ct02_sd22_start_anchor,1869,2025-08-18T00:00:00,2025-08-18T10:11:30,129MEDIA;130MEDIA;131MEDIA
94
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-18,aug_tw09_ct02_sd23_correct_after_move,2673,2025-08-18T09:17:01,2025-08-18T23:59:01,100MEDIA;101MEDIA;102MEDIA
95
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-19,aug_tw09_ct02_sd23_correct_after_move,4329,2025-08-19T00:00:00,2025-08-19T23:59:01,102MEDIA;103MEDIA;104MEDIA;105MEDIA;106MEDIA;107MEDIA
96
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-20,aug_tw09_ct02_sd23_correct_after_move,4341,2025-08-20T00:00:00,2025-08-20T23:59:01,107MEDIA;108MEDIA;109MEDIA;110MEDIA;111MEDIA
97
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-21,aug_tw09_ct02_sd23_correct_after_move,4332,2025-08-21T00:00:00,2025-08-21T23:59:01,111MEDIA;112MEDIA;113MEDIA;114MEDIA;115MEDIA
98
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-22,aug_tw09_ct02_sd23_correct_after_move,4455,2025-08-22T00:00:00,2025-08-22T23:59:01,115MEDIA;116MEDIA;117MEDIA;118MEDIA;119MEDIA;120MEDIA
99
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-23,aug_tw09_ct02_sd23_correct_after_move,4380,2025-08-23T00:00:00,2025-08-23T23:59:01,120MEDIA;121MEDIA;122MEDIA;123MEDIA;124MEDIA
100
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-24,aug_tw09_ct02_sd23_correct_after_move,4359,2025-08-24T00:00:01,2025-08-24T23:59:01,124MEDIA;125MEDIA;126MEDIA;127MEDIA;128MEDIA
101
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-25,aug_tw09_ct02_sd23_correct_after_move,7564,2025-08-25T00:00:00,2025-08-25T23:59:01,100MEDIA;101MEDIA;102MEDIA;103MEDIA;128MEDIA;129MEDIA;130MEDIA;131MEDIA;132MEDIA;133MEDIA
102
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-26,aug_tw09_ct02_sd23_correct_after_move,9429,2025-08-26T00:00:00,2025-08-26T23:59:01,103MEDIA;104MEDIA;105MEDIA;106MEDIA;107MEDIA;108MEDIA;133MEDIA;134MEDIA;135MEDIA;136MEDIA;137MEDIA
103
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-27,aug_tw09_ct02_sd23_correct_after_move,9468,2025-08-27T00:00:00,2025-08-27T23:59:01,108MEDIA;109MEDIA;110MEDIA;111MEDIA;112MEDIA;113MEDIA;137MEDIA;138MEDIA;139MEDIA;140MEDIA;141MEDIA;142MEDIA
104
+ thewilds_20250804_20250828,TW09_CT02,SD23_20250818_20250828,2025-08-28,aug_tw09_ct02_sd23_correct_after_move,4238,2025-08-28T00:00:00,2025-08-28T09:44:43,113MEDIA;114MEDIA;115MEDIA;142MEDIA;143MEDIA
105
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-18,bottom_overlay_ocr,8,2025-08-18T09:00:37,2025-08-18T21:09:47,images
106
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-19,bottom_overlay_ocr,8,2025-08-19T09:09:30,2025-08-19T21:09:35,images
107
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-20,bottom_overlay_ocr,2,2025-08-20T09:09:17,2025-08-20T21:09:18,images
108
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-21,bottom_overlay_ocr,2,2025-08-21T09:08:58,2025-08-21T21:09:02,images
109
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-22,bottom_overlay_ocr,8,2025-08-22T09:08:43,2025-08-22T21:08:46,images
110
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-23,bottom_overlay_ocr,20,2025-08-23T08:57:32,2025-08-23T21:22:27,images
111
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-24,bottom_overlay_ocr,2,2025-08-24T09:22:08,2025-08-24T21:22:13,images
112
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-25,bottom_overlay_ocr,19,2025-08-25T03:58:41,2025-08-25T21:23:28,images
113
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-25,manual_bottom_overlay_read,1,2025-08-25T09:00:36,2025-08-25T09:00:36,images
114
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-26,bottom_overlay_ocr,2,2025-08-26T09:23:05,2025-08-26T21:23:09,images
115
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-27,bottom_overlay_ocr,7,2025-08-27T08:01:01,2025-08-27T21:22:53,images
116
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-27,manual_bottom_overlay_read,1,2025-08-27T09:23:47,2025-08-27T09:23:47,images
117
+ thewilds_20250804_20250828,TW11-CT06,SD06_20250818_20250828,2025-08-28,bottom_overlay_ocr,9,2025-08-28T02:43:19,2025-08-28T02:47:24,images
smartwilds-camera-traps/scripts/generate_darwin_core.py ADDED
@@ -0,0 +1,1207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """
3
+ Generate the Darwin Core Event and Occurrence tables for The Wilds 2025.
4
+
5
+ This script uses the existing modality-specific Darwin Core generators as the
6
+ schema/style reference, but writes a fresh non-destructive set of tables under
7
+ ``SMARTWILDS_DWC_OUT`` (default ``<archive>/processing_output/darwin_core_release``).
8
+ The field archive root is read from ``SMARTWILDS_ARCHIVE``; the external
9
+ SAM3/BioCLIP detection workspace from ``SMARTWILDS_DETECTIONS``.
10
+
11
+ Key updates relative to the earlier outputs:
12
+ - camera traps are regenerated from SAM3 + BioCLIP Tree-of-Life prediction
13
+ CSVs with geolocated animal-position estimates
14
+ - camera-trap timestamps use the current camera_image_timestamp_map.csv
15
+ - bioacoustic scientificName/genus/specificEpithet fields are filled from
16
+ raw BirdNET result files
17
+ - drone occurrences are regenerated from the labeled drone detection CSVs
18
+ - citizen science and text Darwin Core outputs are copied into the snapshot
19
+ - all modality-specific files are merged into events_all_modalities.csv and
20
+ occurrences_all_modalities.csv
21
+ """
22
+
23
+ from __future__ import annotations
24
+
25
+ import argparse
26
+ import csv
27
+ import json
28
+ import math
29
+ import os
30
+ import re
31
+ import shutil
32
+ from collections import Counter, defaultdict
33
+ from datetime import date, datetime
34
+ from pathlib import Path
35
+
36
+
37
+ BASE_DIR = Path(os.environ.get("SMARTWILDS_ARCHIVE", ".")).resolve()
38
+ OUT_DIR = Path(os.environ.get("SMARTWILDS_DWC_OUT", BASE_DIR / "processing_output" / "darwin_core_release"))
39
+ SMARTWILDS_DIR = Path(os.environ.get("SMARTWILDS_DETECTIONS", BASE_DIR / "detections_external"))
40
+
41
+ EVENT_FIELDS = [
42
+ "eventID", "parentEventID", "eventType", "eventDate", "samplingProtocol",
43
+ "sampleSizeValue", "sampleSizeUnit", "locality", "locationID",
44
+ "decimalLatitude", "decimalLongitude", "coordinateUncertaintyInMeters",
45
+ "geodeticDatum", "country", "stateProvince", "county", "datasetID",
46
+ "datasetName", "recordedBy", "fieldNotes", "eventTime",
47
+ ]
48
+
49
+ OCC_FIELDS = [
50
+ "occurrenceID", "eventID", "catalogNumber", "scientificName", "kingdom",
51
+ "phylum", "class", "order", "family", "genus", "specificEpithet",
52
+ "taxonRank", "vernacularName", "occurrenceStatus", "individualCount",
53
+ "lifeStage", "sex", "behavior", "basisOfRecord", "recordedBy",
54
+ "identifiedBy", "identificationVerificationStatus", "identificationRemarks",
55
+ "eventDate", "eventTime", "decimalLatitude", "decimalLongitude",
56
+ "coordinateUncertaintyInMeters", "geodeticDatum", "locality", "locationID",
57
+ "country", "stateProvince", "county", "establishmentMeans",
58
+ "degreeOfEstablishment", "occurrenceRemarks", "associatedMedia",
59
+ "associatedReferences", "datasetID", "datasetName", "informationWithheld",
60
+ "dataGeneralizations",
61
+ ]
62
+
63
+ SITE_GPS = {
64
+ "TW01": ("39.83077", "-81.73789"),
65
+ "TW02": ("39.83066", "-81.73792"),
66
+ "TW03": ("39.83670", "-81.73607"),
67
+ "TW04": ("39.83429", "-81.73934"),
68
+ "TW05": ("39.83537", "-81.73842"),
69
+ "TW06": ("39.83554", "-81.73000"),
70
+ "TW07": ("39.83288", "-81.73455"),
71
+ "TW08": ("39.82900", "-81.74378"),
72
+ "TW09": ("39.82798", "-81.74167"),
73
+ "TW11": ("39.83438", "-81.73930"),
74
+ }
75
+
76
+ SITE_NAMES = {
77
+ "TW01": "Nomad Ridge Shelter (East)",
78
+ "TW02": "Nomad Ridge Shelter (West)",
79
+ "TW03": "Old Giraffe Feeder, Pasture D",
80
+ "TW04": "Lake Trail",
81
+ "TW05": "Lake Trail Gate O",
82
+ "TW06": "Zebra Shelter",
83
+ "TW07": "Zipline Tower",
84
+ "TW08": "Fence with Vegetation",
85
+ "TW09": "Dock",
86
+ "TW11": "Fence overlooking Lake",
87
+ }
88
+
89
+ STUDY_ROOT_EVENT = {
90
+ "eventID": "TheWilds_2025",
91
+ "parentEventID": "",
92
+ "eventType": "Project",
93
+ "eventDate": "2025-06-30/2025-09-08",
94
+ "samplingProtocol": "Multi-modal biodiversity survey across camera traps, bioacoustics, drone video, citizen science, and text observations.",
95
+ "sampleSizeValue": "5",
96
+ "sampleSizeUnit": "modality projects",
97
+ "locality": "The Wilds Conservation Center, Muskingum County, Ohio, USA",
98
+ "locationID": "",
99
+ "decimalLatitude": "39.83",
100
+ "decimalLongitude": "-81.74",
101
+ "coordinateUncertaintyInMeters": "5000",
102
+ "geodeticDatum": "WGS84",
103
+ "country": "United States",
104
+ "stateProvince": "Ohio",
105
+ "county": "Muskingum",
106
+ "datasetID": "TheWilds_2025",
107
+ "datasetName": "The Wilds 2025 Multi-Modal Survey",
108
+ "recordedBy": "Field team",
109
+ "fieldNotes": "Study-level root event for all modality project events.",
110
+ "eventTime": "",
111
+ }
112
+
113
+ EXCLUDED_DRONE_MEDIA_EVENT = {
114
+ "eventID": "TheWilds_2025_drone_20250703_parrotanafi_4_VID_001",
115
+ "parentEventID": "TheWilds_2025_drone_20250703_parrotanafi_4",
116
+ "eventType": "MediaEvent",
117
+ "eventDate": "2025-07-03",
118
+ "samplingProtocol": "Drone video VID_001; intentionally excluded from SAM3 and Tree-of-Life processing after review found no significant content.",
119
+ "sampleSizeValue": "0",
120
+ "sampleSizeUnit": "classified detection crops",
121
+ "locality": "The Wilds Conservation Center",
122
+ "locationID": "20250703_parrotanafi_4",
123
+ "decimalLatitude": "39.830678500000175",
124
+ "decimalLongitude": "-81.73834333333349",
125
+ "coordinateUncertaintyInMeters": "100",
126
+ "geodeticDatum": "WGS84",
127
+ "country": "United States",
128
+ "stateProvince": "Ohio",
129
+ "county": "Muskingum",
130
+ "datasetID": "TheWilds_2025_drones",
131
+ "datasetName": "The Wilds 2025 Multi-Modal Survey - Drone Imagery",
132
+ "recordedBy": "Drone field team",
133
+ "fieldNotes": "Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_4; video: VID_001; processingStatus: intentionally_excluded; reason: tiny video reviewed with no significant content; raw media: thewilds_20250630_20250703/drones/20250703_parrotanafi_4/video_files/VID_001.MP4",
134
+ "eventTime": "",
135
+ }
136
+
137
+ TAXA = {
138
+ "African Wild Dog": ("Lycaon pictus (Temminck, 1820)", "Animalia", "Chordata", "Mammalia", "Carnivora", "Canidae", "Lycaon", "pictus", "species"),
139
+ "Bactrian Camel": ("Camelus bactrianus Linnaeus, 1758", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Camelidae", "Camelus", "bactrianus", "species"),
140
+ "Bactrian Deer": ("Cervus hanglu bactrianus Lydekker, 1900", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Cervidae", "Cervus", "hanglu", "subspecies"),
141
+ "Banteng": ("Bos javanicus d'Alton, 1823", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Bovidae", "Bos", "javanicus", "species"),
142
+ "Bird": ("Aves", "Animalia", "Chordata", "Aves", "", "", "", "", "class"),
143
+ "Bison": ("Bison bison (Linnaeus, 1758)", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Bovidae", "Bison", "bison", "species"),
144
+ "Canada Goose": ("Branta canadensis (Linnaeus, 1758)", "Animalia", "Chordata", "Aves", "Anseriformes", "Anatidae", "Branta", "canadensis", "species"),
145
+ "Camel": ("Camelus", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Camelidae", "Camelus", "", "genus"),
146
+ "Coyote": ("Canis latrans Say, 1823", "Animalia", "Chordata", "Mammalia", "Carnivora", "Canidae", "Canis", "latrans", "species"),
147
+ "Donkey": ("Equus asinus Linnaeus, 1758", "Animalia", "Chordata", "Mammalia", "Perissodactyla", "Equidae", "Equus", "asinus", "species"),
148
+ "Eland": ("Taurotragus oryx (Pallas, 1766)", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Bovidae", "Taurotragus", "oryx", "species"),
149
+ "Elk": ("Cervus canadensis Erxleben, 1777", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Cervidae", "Cervus", "canadensis", "species"),
150
+ "Fish": ("Actinopterygii", "Animalia", "Chordata", "Actinopterygii", "", "", "", "", "class"),
151
+ "Fox": ("Vulpes", "Animalia", "Chordata", "Mammalia", "Carnivora", "Canidae", "Vulpes", "", "genus"),
152
+ "Fringe-eared Oryx": ("Oryx beisa callotis Thomas, 1892", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Bovidae", "Oryx", "beisa", "subspecies"),
153
+ "Giraffe": ("Giraffa camelopardalis (Linnaeus, 1758)", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Giraffidae", "Giraffa", "camelopardalis", "species"),
154
+ "Goat": ("Capra", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Bovidae", "Capra", "", "genus"),
155
+ "Greater One-horned Rhino": ("Rhinoceros unicornis Linnaeus, 1758", "Animalia", "Chordata", "Mammalia", "Perissodactyla", "Rhinocerotidae", "Rhinoceros", "unicornis", "species"),
156
+ "Grevy's Zebra": ("Equus grevyi Oustalet, 1882", "Animalia", "Chordata", "Mammalia", "Perissodactyla", "Equidae", "Equus", "grevyi", "species"),
157
+ "Hawk": ("Accipitridae", "Animalia", "Chordata", "Aves", "Accipitriformes", "Accipitridae", "", "", "family"),
158
+ "Heron": ("Ardeidae", "Animalia", "Chordata", "Aves", "Pelecaniformes", "Ardeidae", "", "", "family"),
159
+ "Human": ("Homo sapiens Linnaeus, 1758", "Animalia", "Chordata", "Mammalia", "Primates", "Hominidae", "Homo", "sapiens", "species"),
160
+ "Muskox": ("Ovibos moschatus (Zimmermann, 1780)", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Bovidae", "Ovibos", "moschatus", "species"),
161
+ "Osprey": ("Pandion haliaetus (Linnaeus, 1758)", "Animalia", "Chordata", "Aves", "Accipitriformes", "Pandionidae", "Pandion", "haliaetus", "species"),
162
+ "Ostrich": ("Struthio camelus Linnaeus, 1758", "Animalia", "Chordata", "Aves", "Struthioniformes", "Struthionidae", "Struthio", "camelus", "species"),
163
+ "Pere David's Deer": ("Elaphurus davidianus Milne-Edwards, 1866", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Cervidae", "Elaphurus", "davidianus", "species"),
164
+ "Persian Onager": ("Equus hemionus onager Boddaert, 1785", "Animalia", "Chordata", "Mammalia", "Perissodactyla", "Equidae", "Equus", "hemionus", "subspecies"),
165
+ "Przewalski's Horse": ("Equus ferus przewalskii Poliakov, 1881", "Animalia", "Chordata", "Mammalia", "Perissodactyla", "Equidae", "Equus", "ferus", "subspecies"),
166
+ "Scimitar-horned Oryx": ("Oryx dammah (Cretzschmar, 1827)", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Bovidae", "Oryx", "dammah", "species"),
167
+ "Sichuan Takin": ("Budorcas taxicolor tibetana Milne-Edwards, 1874", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Bovidae", "Budorcas", "taxicolor", "subspecies"),
168
+ "Southern White Rhino": ("Ceratotherium simum simum (Burchell, 1817)", "Animalia", "Chordata", "Mammalia", "Perissodactyla", "Rhinocerotidae", "Ceratotherium", "simum", "subspecies"),
169
+ "Waterfowl": ("Anatidae", "Animalia", "Chordata", "Aves", "Anseriformes", "Anatidae", "", "", "family"),
170
+ "White-tailed Deer": ("Odocoileus virginianus (Zimmermann, 1780)", "Animalia", "Chordata", "Mammalia", "Artiodactyla", "Cervidae", "Odocoileus", "virginianus", "species"),
171
+ }
172
+
173
+ ALIASES = {
174
+ "african wild dog": "African Wild Dog",
175
+ "antelope": "Eland",
176
+ "banteng": "Banteng",
177
+ "bird": "Bird",
178
+ "bison": "Bison",
179
+ "bos": "Banteng",
180
+ "budorcas": "Sichuan Takin",
181
+ "camel": "Camel",
182
+ "camelus": "Camel",
183
+ "canada goose": "Canada Goose",
184
+ "canis": "Coyote",
185
+ "cattle": "Banteng",
186
+ "ceratotherium": "Southern White Rhino",
187
+ "cervus": "Elk",
188
+ "coyote": "Coyote",
189
+ "deer": "White-tailed Deer",
190
+ "donkey": "Donkey",
191
+ "eland": "Eland",
192
+ "elaphurus": "Pere David's Deer",
193
+ "equus": "Przewalski's Horse",
194
+ "fox": "Fox",
195
+ "giraffa": "Giraffe",
196
+ "giraffe": "Giraffe",
197
+ "goat": "Goat",
198
+ "grevy's zebra": "Grevy's Zebra",
199
+ "hawk": "Hawk",
200
+ "heron": "Heron",
201
+ "horse": "Przewalski's Horse",
202
+ "human": "Human",
203
+ "lycaon": "African Wild Dog",
204
+ "elk": "Elk",
205
+ "milu deer": "Pere David's Deer",
206
+ "muskox": "Muskox",
207
+ "odocoileus": "White-tailed Deer",
208
+ "oryx": "Fringe-eared Oryx",
209
+ "osprey": "Osprey",
210
+ "ostrich": "Ostrich",
211
+ "pere david's deer": "Pere David's Deer",
212
+ "persian onager": "Persian Onager",
213
+ "person": "Human",
214
+ "przewalski's horse": "Przewalski's Horse",
215
+ "raptor": "Bird",
216
+ "rhinoceros": "Greater One-horned Rhino",
217
+ "sichuan takin": "Sichuan Takin",
218
+ "songbird": "Bird",
219
+ "struthio": "Ostrich",
220
+ "taurotragus": "Eland",
221
+ "waterfowl": "Waterfowl",
222
+ "white-tailed deer": "White-tailed Deer",
223
+ "wild dog": "African Wild Dog",
224
+ "zebra": "Grevy's Zebra",
225
+ }
226
+
227
+
228
+ def clean_label(label: str) -> str:
229
+ return (label or "").replace("Père", "Pere").strip()
230
+
231
+
232
+ def taxon_for(label: str) -> dict[str, str]:
233
+ clean = clean_label(label)
234
+ canonical = ALIASES.get(clean.lower(), clean)
235
+ if canonical == "vehicle":
236
+ return {
237
+ "scientificName": "",
238
+ "kingdom": "",
239
+ "phylum": "",
240
+ "class": "",
241
+ "order": "",
242
+ "family": "",
243
+ "genus": "",
244
+ "specificEpithet": "",
245
+ "taxonRank": "",
246
+ "vernacularName": "vehicle",
247
+ }
248
+ sci, kingdom, phylum, klass, order, family, genus, epithet, rank = TAXA.get(
249
+ canonical, ("", "Animalia", "Chordata", "", "", "", "", "", "")
250
+ )
251
+ return {
252
+ "scientificName": sci,
253
+ "kingdom": kingdom,
254
+ "phylum": phylum,
255
+ "class": klass,
256
+ "order": order,
257
+ "family": family,
258
+ "genus": genus,
259
+ "specificEpithet": epithet,
260
+ "taxonRank": rank,
261
+ "vernacularName": canonical,
262
+ }
263
+
264
+
265
+ def ensure_clean_output(force: bool) -> None:
266
+ OUT_DIR.mkdir(parents=True, exist_ok=True)
267
+ (OUT_DIR / "scripts").mkdir(parents=True, exist_ok=True)
268
+ outputs = [
269
+ OUT_DIR / "camera_traps",
270
+ OUT_DIR / "bioacoustics_complete",
271
+ OUT_DIR / "drones",
272
+ OUT_DIR / "citizen_science",
273
+ OUT_DIR / "text_data",
274
+ OUT_DIR / "events_all_modalities.csv",
275
+ OUT_DIR / "occurrences_all_modalities.csv",
276
+ OUT_DIR / "QC_SUMMARY.md",
277
+ ]
278
+ existing = [p for p in outputs if p.exists()]
279
+ if existing and not force:
280
+ names = "\n".join(str(p) for p in existing)
281
+ raise SystemExit(f"Refusing to overwrite existing outputs. Re-run with --force.\n{names}")
282
+ if force:
283
+ for p in existing:
284
+ if p.is_dir():
285
+ shutil.rmtree(p)
286
+ else:
287
+ p.unlink()
288
+
289
+
290
+ def write_csv(path: Path, rows: list[dict], fields: list[str]) -> None:
291
+ path.parent.mkdir(parents=True, exist_ok=True)
292
+ with path.open("w", newline="", encoding="utf-8") as f:
293
+ writer = csv.DictWriter(f, fieldnames=fields, extrasaction="ignore")
294
+ writer.writeheader()
295
+ writer.writerows(rows)
296
+
297
+
298
+ def read_csv(path: Path) -> list[dict]:
299
+ with path.open(newline="", encoding="utf-8", errors="replace") as f:
300
+ return list(csv.DictReader(f))
301
+
302
+
303
+ DATE_SENTINELS = {"", "nan", "nat", "none", "null", "n/a", "na", "-1", "1970-01-01"}
304
+
305
+ # The only original-video locations used as a fallback for invalid drone CSV coordinates.
306
+ # Values are read directly from each MP4's QuickTime ISO-6709 metadata.
307
+ DRONE_ORIGINAL_VIDEO_PATHS = {
308
+ ("20250811_parrot_01", "P5180524"): BASE_DIR / "thewilds_20250804_20250828/drones/20250811_parrot_01/videos/P5180524.MP4",
309
+ ("20250811_parrot_01", "P5190525"): BASE_DIR / "thewilds_20250804_20250828/drones/20250811_parrot_01/videos/P5190525.MP4",
310
+ ("20250811_parrot_01", "P5190526"): BASE_DIR / "thewilds_20250804_20250828/drones/20250811_parrot_01/videos/P5190526.MP4",
311
+ ("20250703_parrotanafi_5", "VID_001"): BASE_DIR / "thewilds_20250630_20250703/drones/20250703_parrotanafi_5/videos/VID_001.MP4",
312
+ ("20250703_parrotanafi_5", "VID_002"): BASE_DIR / "thewilds_20250630_20250703/drones/20250703_parrotanafi_5/videos/VID_002.MP4",
313
+ }
314
+ QUICKTIME_ISO6709_RE = re.compile(
315
+ rb"([+-]\d{1,3}(?:\.\d+)?)([+-]\d{1,3}(?:\.\d+)?)(?:[+-]\d+(?:\.\d+)?)?/"
316
+ )
317
+ DRONE_VIDEO_LOCATION_CACHE: dict[tuple[str, str], tuple[str, str] | None] = {}
318
+
319
+
320
+ def valid_wgs84_coordinates(latitude: str, longitude: str) -> bool:
321
+ """Return whether a pair is finite and inside WGS84 latitude/longitude bounds."""
322
+ try:
323
+ lat = float(latitude)
324
+ lon = float(longitude)
325
+ except (TypeError, ValueError):
326
+ return False
327
+ return math.isfinite(lat) and math.isfinite(lon) and -90 <= lat <= 90 and -180 <= lon <= 180
328
+
329
+
330
+ def valid_wilds_video_location(latitude: str, longitude: str) -> bool:
331
+ """Limit binary QuickTime matches to the documented study area before use."""
332
+ if not valid_wgs84_coordinates(latitude, longitude):
333
+ return False
334
+ lat = float(latitude)
335
+ lon = float(longitude)
336
+ return 39.6 <= lat <= 40.1 and -82.1 <= lon <= -81.4
337
+
338
+
339
+ def original_video_location(flight: str, video_stem: str) -> tuple[str, str] | None:
340
+ """Read one valid QuickTime ISO-6709 location from a whitelisted original MP4."""
341
+ key = (flight, video_stem)
342
+ if key in DRONE_VIDEO_LOCATION_CACHE:
343
+ return DRONE_VIDEO_LOCATION_CACHE[key]
344
+
345
+ path = DRONE_ORIGINAL_VIDEO_PATHS.get(key)
346
+ if path is None or not path.is_file():
347
+ DRONE_VIDEO_LOCATION_CACHE[key] = None
348
+ return None
349
+
350
+ size = path.stat().st_size
351
+ window = 16 * 1024 * 1024
352
+ with path.open("rb") as handle:
353
+ chunks = [handle.read(window)]
354
+ if size > window:
355
+ handle.seek(max(0, size - window))
356
+ chunks.append(handle.read(window))
357
+
358
+ locations = {
359
+ (match.group(1).decode("ascii").lstrip("+"), match.group(2).decode("ascii").lstrip("+"))
360
+ for chunk in chunks
361
+ for match in QUICKTIME_ISO6709_RE.finditer(chunk)
362
+ if valid_wilds_video_location(
363
+ match.group(1).decode("ascii"), match.group(2).decode("ascii")
364
+ )
365
+ }
366
+ # A video-level fallback is defensible only when its metadata contains one location.
367
+ location = next(iter(locations)) if len(locations) == 1 else None
368
+ DRONE_VIDEO_LOCATION_CACHE[key] = location
369
+ return location
370
+
371
+
372
+ def resolve_drone_occurrence_coordinates(row: dict, flight: str, video_stem: str) -> tuple[str, str, str, str]:
373
+ """Resolve occurrence coordinates without allowing invalid CSV values into DwC."""
374
+ if row.get("drone_georef_status") == "ok":
375
+ lat = row.get("animal_lat_projected", "")
376
+ lon = row.get("animal_lon_projected", "")
377
+ if valid_wgs84_coordinates(lat, lon):
378
+ return lat, lon, "50", "projected_animal_position"
379
+
380
+ lat = row.get("latitude_y", "")
381
+ lon = row.get("longitude_y", "")
382
+ if valid_wgs84_coordinates(lat, lon):
383
+ return lat, lon, "100", "frame_or_drone_telemetry"
384
+
385
+ fallback = original_video_location(flight, video_stem)
386
+ if fallback:
387
+ return fallback[0], fallback[1], "500", "original_video_quicktime_location_static"
388
+ return "", "", "", "unavailable_no_valid_source_coordinate"
389
+
390
+
391
+ def resolve_drone_event_coordinates(row: dict, flight: str, video_stem: str) -> tuple[str, str, str, str]:
392
+ """Resolve a video Event position from telemetry or a static original-video fallback."""
393
+ lat = row.get("latitude_y", "")
394
+ lon = row.get("longitude_y", "")
395
+ if valid_wgs84_coordinates(lat, lon):
396
+ return lat, lon, "100", "frame_or_drone_telemetry"
397
+
398
+ fallback = original_video_location(flight, video_stem)
399
+ if fallback:
400
+ return fallback[0], fallback[1], "500", "original_video_quicktime_location_static"
401
+ return "", "", "", "unavailable_no_valid_source_coordinate"
402
+
403
+
404
+ def drone_coordinate_generalization(source: str) -> str:
405
+ if source == "projected_animal_position":
406
+ return "Approximate animal ground-position projection from drone telemetry and bbox bottom-center."
407
+ if source == "frame_or_drone_telemetry":
408
+ return "Frame/drone telemetry coordinate; not a projected animal position."
409
+ if source == "original_video_quicktime_location_static":
410
+ return "Static video-level location read from original-video QuickTime ISO-6709 metadata after the CSV coordinate failed WGS84 validation; it is not a frame- or animal-level position."
411
+ return "No valid WGS84 coordinate was available from the geolocation CSV or original-video metadata."
412
+
413
+
414
+ DRONE_VIDEO_MEDIA_CACHE: dict[tuple[str, str, str, str], str] = {}
415
+
416
+
417
+ def resolve_drone_associated_media(row: dict, collection: str, flight: str, video_stem: str) -> tuple[str, str]:
418
+ """Keep an extant extracted frame, otherwise link to its retained source video."""
419
+ frame_path = row.get("frame_path", "")
420
+ if frame_path and Path(frame_path).is_file():
421
+ return frame_path, "extracted_frame"
422
+
423
+ key = (collection, flight, row.get("subdir", ""), video_stem)
424
+ if key not in DRONE_VIDEO_MEDIA_CACHE:
425
+ video_dir = BASE_DIR / collection / "drones" / flight / row.get("subdir", "")
426
+ candidates = sorted(item for item in video_dir.glob(video_stem + ".*") if item.is_file())
427
+ DRONE_VIDEO_MEDIA_CACHE[key] = str(candidates[0]) if len(candidates) == 1 else ""
428
+ video_path = DRONE_VIDEO_MEDIA_CACHE[key]
429
+ if video_path:
430
+ return video_path, "original_video_fallback_missing_scratch_frame"
431
+ return "", "unavailable_no_retained_media"
432
+
433
+
434
+ def split_datetime(value: str) -> tuple[str, str]:
435
+ """Return an ISO date/time only for a parseable timestamp."""
436
+ value = (value or "").strip()
437
+ if value.lower() in DATE_SENTINELS:
438
+ return "", ""
439
+ try:
440
+ parsed = datetime.fromisoformat(value.replace("Z", "+00:00"))
441
+ except ValueError:
442
+ return "", ""
443
+ return parsed.date().isoformat(), parsed.time().replace(microsecond=0).isoformat()
444
+
445
+
446
+ def date_from_identifier(identifier: str) -> str:
447
+ """Extract and validate a YYYYMMDD date token from a flight identifier."""
448
+ match = re.search(r"(?<!\d)(20\d{6})(?!\d)", identifier or "")
449
+ if not match:
450
+ return ""
451
+ try:
452
+ return date.fromisoformat(
453
+ f"{match.group(1)[:4]}-{match.group(1)[4:6]}-{match.group(1)[6:]}"
454
+ ).isoformat()
455
+ except ValueError:
456
+ return ""
457
+
458
+
459
+ def load_camera_timestamp_map() -> dict[str, dict]:
460
+ path = BASE_DIR / "processing_output/detections/drone_camera_analysis/camera_time_mapping/camera_image_timestamp_map.csv"
461
+ corrections = {}
462
+ for row in read_csv(path):
463
+ image_path = row.get("image_path", "")
464
+ if image_path and row.get("corrected_timestamp"):
465
+ corrections[image_path] = row
466
+ return corrections
467
+
468
+
469
+ def load_camera_geolocation_config() -> list[dict]:
470
+ path = BASE_DIR / "processing_output/detections/camera_traps/methods_paper/annotations/sam3/treeoflife_sam3/geolocation/camera_geolocation_config.csv"
471
+ return [row for row in read_csv(path) if row.get("enabled", "1") not in {"0", "false", "False"}]
472
+
473
+
474
+ def choose_camera_config(configs: list[dict], collection: str, camera_id: str, frame_path: str) -> dict:
475
+ candidates = [
476
+ row for row in configs
477
+ if row.get("collection") == collection and row.get("camera_id") == camera_id
478
+ ]
479
+ matching = [
480
+ row for row in candidates
481
+ if not row.get("path_contains") or row.get("path_contains") in frame_path
482
+ ]
483
+ if not matching:
484
+ return {}
485
+ return max(matching, key=lambda row: len(row.get("path_contains", "")))
486
+
487
+
488
+ def camera_csv_parts(csv_path: Path) -> tuple[str, str, str, str]:
489
+ collection = csv_path.parent.parent.name
490
+ camera_id = csv_path.parent.name
491
+ if collection == "thewilds_20250630_20250703":
492
+ event_range = "2025-06-30/2025-07-03"
493
+ elif collection == "thewilds_20250804_20250828":
494
+ event_range = "2025-08-04/2025-08-28"
495
+ else:
496
+ event_range = ""
497
+ return collection, camera_id, collection.replace("thewilds_", ""), event_range
498
+
499
+
500
+ def site_from_camera(camera_id: str) -> str:
501
+ return camera_id.replace("_", "-").split("-", 1)[0]
502
+
503
+
504
+ def taxon_from_treeoflife(row: dict) -> dict[str, str]:
505
+ scientific = (
506
+ row.get("top1_scientific_name")
507
+ or row.get("top1_species")
508
+ or row.get("top1_genus")
509
+ or row.get("top1_family")
510
+ or row.get("top1_order")
511
+ or row.get("top1_class")
512
+ or row.get("top1_common_name")
513
+ or ""
514
+ )
515
+ genus = row.get("top1_genus", "")
516
+ epithet = ""
517
+ if row.get("top1_species"):
518
+ parts = row["top1_species"].split()
519
+ if len(parts) >= 2:
520
+ epithet = parts[-1]
521
+ elif scientific and len(scientific.split()) >= 2:
522
+ epithet = scientific.split()[1]
523
+ return {
524
+ "scientificName": scientific,
525
+ "kingdom": row.get("top1_kingdom", ""),
526
+ "phylum": row.get("top1_phylum", ""),
527
+ "class": row.get("top1_class", ""),
528
+ "order": row.get("top1_order", ""),
529
+ "family": row.get("top1_family", ""),
530
+ "genus": genus,
531
+ "specificEpithet": epithet,
532
+ "taxonRank": row.get("top1_rank") or row.get("rank", ""),
533
+ "vernacularName": row.get("top1_common_name", ""),
534
+ }
535
+
536
+
537
+ def generate_camera_traps() -> tuple[int, int]:
538
+ det_dir = BASE_DIR / "processing_output/detections/camera_traps/methods_paper/annotations/sam3/treeoflife_sam3/geolocation/geolocated_predictions"
539
+ files = sorted(det_dir.glob("*/*/*.geolocated.csv"))
540
+ corrections = load_camera_timestamp_map()
541
+ geo_configs = load_camera_geolocation_config()
542
+ events = [{
543
+ "eventID": "TheWilds_2025_camera_traps",
544
+ "parentEventID": "TheWilds_2025",
545
+ "eventType": "Project",
546
+ "eventDate": "2025-06-30/2025-08-28",
547
+ "samplingProtocol": "Camera trap monitoring; detections by SAM3, Tree-of-Life classification by BioCLIP, animal position estimated from camera GPS/FOV/bearing and detection boxes.",
548
+ "sampleSizeValue": str(len(files)),
549
+ "sampleSizeUnit": "camera Tree-of-Life geolocation CSVs",
550
+ "locality": "The Wilds Conservation Center, Muskingum County, Ohio, USA",
551
+ "locationID": "",
552
+ "decimalLatitude": "39.83",
553
+ "decimalLongitude": "-81.74",
554
+ "coordinateUncertaintyInMeters": "5000",
555
+ "geodeticDatum": "WGS84",
556
+ "country": "United States",
557
+ "stateProvince": "Ohio",
558
+ "county": "Muskingum",
559
+ "datasetID": "TheWilds_2025_camera_traps",
560
+ "datasetName": "The Wilds 2025 Multi-Modal Survey - Camera Traps",
561
+ "recordedBy": "Field team",
562
+ "fieldNotes": "Regenerated from SAM3 + BioCLIP Tree-of-Life detections using the latest timestamp mapping and geolocation outputs.",
563
+ "eventTime": "",
564
+ }]
565
+ occurrences = []
566
+ occ_num = 0
567
+ for csv_path in files:
568
+ collection, site_cam, campaign, event_range = camera_csv_parts(csv_path)
569
+ site = site_from_camera(site_cam)
570
+ rows = read_csv(csv_path)
571
+ first_cfg = choose_camera_config(geo_configs, collection, site_cam, rows[0].get("frame_path", "") if rows else "")
572
+ lat = first_cfg.get("camera_lat") or SITE_GPS.get(site, ("39.83", "-81.74"))[0]
573
+ lon = first_cfg.get("camera_lon") or SITE_GPS.get(site, ("39.83", "-81.74"))[1]
574
+ site_name = SITE_NAMES.get(site, site)
575
+ event_id = f"TheWilds_2025_CT_deployment_{site_cam}_{campaign}"
576
+ events.append({
577
+ "eventID": event_id,
578
+ "parentEventID": "TheWilds_2025_camera_traps",
579
+ "eventType": "SensorDeployment",
580
+ "eventDate": event_range,
581
+ "samplingProtocol": f"Trail camera ({site_cam}); SAM3 detections with BioCLIP Tree-of-Life labels and geolocation estimates",
582
+ "sampleSizeValue": str(len(rows)),
583
+ "sampleSizeUnit": "detections",
584
+ "locality": f"The Wilds - {site_name}",
585
+ "locationID": site,
586
+ "decimalLatitude": lat,
587
+ "decimalLongitude": lon,
588
+ "coordinateUncertaintyInMeters": "5",
589
+ "geodeticDatum": "WGS84",
590
+ "country": "United States",
591
+ "stateProvince": "Ohio",
592
+ "county": "Muskingum",
593
+ "datasetID": "TheWilds_2025_camera_traps",
594
+ "datasetName": "The Wilds 2025 Multi-Modal Survey - Camera Traps",
595
+ "recordedBy": "Field team",
596
+ "fieldNotes": f"Camera: {site_cam}; Campaign: {campaign}; detections: {len(rows)}; geolocation config source: {first_cfg.get('config_source', '')}",
597
+ "eventTime": "",
598
+ })
599
+ for row in rows:
600
+ occ_num += 1
601
+ frame_path = row.get("frame_path", "")
602
+ time_row = corrections.get(frame_path, {})
603
+ taxon = taxon_from_treeoflife(row)
604
+ timestamp = time_row.get("corrected_timestamp") or row.get("date_time", "")
605
+ event_date, event_time = split_datetime(timestamp)
606
+ occ_lat = row.get("animal_lat") or row.get("camera_lat") or lat
607
+ occ_lon = row.get("animal_lon") or row.get("camera_lon") or lon
608
+ bbox = f"[{row.get('bbox_x','')},{row.get('bbox_y','')},{row.get('bbox_width','')},{row.get('bbox_height','')}]"
609
+ associated_media, media_source = resolve_drone_associated_media(
610
+ row, collection, flight, video_stem
611
+ )
612
+ rank = row.get("rank", "")
613
+ score = row.get("top1_score", "")
614
+ source_label = row.get("source_label", "")
615
+ correction_note = "; ".join(part for part in [
616
+ f"timestamp_method: {time_row.get('correction_method', '')}" if time_row else "",
617
+ f"timestamp_confidence: {time_row.get('correction_confidence', '')}" if time_row else "",
618
+ f"geolocation_status: {row.get('geolocation_status', '')}",
619
+ f"geolocation_source: {row.get('geolocation_config_source', '')}",
620
+ ] if part)
621
+ occurrences.append({
622
+ "occurrenceID": f"TheWilds_2025_CT_{occ_num:06d}",
623
+ "eventID": event_id,
624
+ "catalogNumber": f"CT_{site_cam}_image{row.get('image_id','')}_ann{row.get('annotation_id','')}",
625
+ **taxon,
626
+ "occurrenceStatus": "present",
627
+ "individualCount": "1",
628
+ "basisOfRecord": "MachineObservation",
629
+ "recordedBy": f"Trail camera ({site_cam})",
630
+ "identifiedBy": "SAM3 + BioCLIP Tree of Life",
631
+ "identificationVerificationStatus": "unverified",
632
+ "identificationRemarks": f"Tree-of-Life rank: {rank}; top1 score: {score}; detector label: {source_label}; bbox xywh(px): {bbox}",
633
+ "eventDate": event_date,
634
+ "eventTime": event_time,
635
+ "decimalLatitude": occ_lat,
636
+ "decimalLongitude": occ_lon,
637
+ "coordinateUncertaintyInMeters": "50",
638
+ "geodeticDatum": "WGS84",
639
+ "locality": f"The Wilds - {time_row.get('location') or site_name}",
640
+ "locationID": site,
641
+ "country": "United States",
642
+ "stateProvince": "Ohio",
643
+ "county": "Muskingum",
644
+ "establishmentMeans": "managed",
645
+ "degreeOfEstablishment": "captive",
646
+ "occurrenceRemarks": f"Estimated distance: {row.get('animal_distance_m','')}m; estimated bearing: {row.get('animal_absolute_bearing_deg','')} deg; {correction_note}",
647
+ "associatedMedia": frame_path,
648
+ "datasetID": "TheWilds_2025_camera_traps",
649
+ "datasetName": "The Wilds 2025 Multi-Modal Survey - Camera Traps",
650
+ "informationWithheld": "",
651
+ "dataGeneralizations": "Animal coordinates are model-derived estimates from camera position, camera bearing, HFOV, bbox height, and assumed target height; not GPS collars or direct observations.",
652
+ })
653
+ out = OUT_DIR / "camera_traps"
654
+ write_csv(out / "darwin_core_events_camera_traps.csv", events, EVENT_FIELDS)
655
+ write_csv(out / "darwin_core_occurrences_camera_traps.csv", occurrences, OCC_FIELDS)
656
+ return len(events), len(occurrences)
657
+
658
+
659
+ def build_birdnet_scientific_map() -> dict[str, str]:
660
+ mapping = {}
661
+ roots = [
662
+ BASE_DIR / "processing_output/detections/acoustics/BirdnetCSV_SunriseSunset",
663
+ BASE_DIR / "processing_output/detections/acoustics/BirdNet_EveryHour",
664
+ ]
665
+ for root in roots:
666
+ for path in root.glob("*.BirdNET.results.csv"):
667
+ for row in read_csv(path):
668
+ common = (row.get("Common name") or row.get("Common Name") or "").strip()
669
+ sci = (row.get("Scientific name") or row.get("Scientific Name") or "").strip()
670
+ if common and sci:
671
+ mapping.setdefault(common, sci)
672
+ return mapping
673
+
674
+
675
+ BIOACOUSTIC_FILE_ID_MAP = {
676
+ "SM001": "SM01",
677
+ "SM002": "SM02",
678
+ "2MM18157": "SM05",
679
+ "2MM18027": "SM06",
680
+ }
681
+ BIOACOUSTIC_RESULT_SOURCES = [
682
+ (BASE_DIR / "processing_output/detections/acoustics/BirdNet_EveryHour", "every_hour"),
683
+ (BASE_DIR / "BioacousticAnalysis/BirdnetCSV_SunriseSunset", "sunrise_sunset"),
684
+ ]
685
+ BIOACOUSTIC_RESULT_NAME_RE = re.compile(r"^([A-Za-z0-9]+)_(\d{8})_(\d{6})\.BirdNET\.results\.csv$")
686
+
687
+
688
+ def add_header_only_birdnet_events(events: list[dict[str, str]]) -> int:
689
+ """Represent processed recordings with empty BirdNET result files as Events."""
690
+ existing_ids = {row["eventID"] for row in events}
691
+ deployments = []
692
+ recording_protocols = {}
693
+ for row in events:
694
+ if row.get("eventType") == "SensorDeployment":
695
+ match = re.search(r"Recorder: (SM\d+)", row.get("fieldNotes", ""))
696
+ if match:
697
+ start, end = row["eventDate"].split("/")
698
+ deployments.append((match.group(1), date.fromisoformat(start), date.fromisoformat(end), row))
699
+ elif row.get("eventType") == "AudioRecording":
700
+ recording_protocols.setdefault(row.get("parentEventID", ""), row.get("samplingProtocol", ""))
701
+
702
+ additions = []
703
+ for result_dir, schedule_type in BIOACOUSTIC_RESULT_SOURCES:
704
+ for path in sorted(result_dir.glob("*.BirdNET.results.csv")):
705
+ if read_csv(path):
706
+ continue
707
+ match = BIOACOUSTIC_RESULT_NAME_RE.match(path.name)
708
+ if not match:
709
+ continue
710
+ raw_recorder, ymd, hms = match.groups()
711
+ recorder = BIOACOUSTIC_FILE_ID_MAP.get(raw_recorder, raw_recorder)
712
+ recording_date = date.fromisoformat(f"{ymd[:4]}-{ymd[4:6]}-{ymd[6:]}")
713
+ deployment = next(
714
+ (row for rec, start, end, row in deployments
715
+ if rec == recorder and start <= recording_date <= end),
716
+ None,
717
+ )
718
+ if deployment is None:
719
+ raise ValueError(f"No deployment for header-only BirdNET result: {path}")
720
+ file_id = f"{recorder}_{ymd}_{hms}"
721
+ event_id = f"TheWilds_2025_ARU_{file_id}"
722
+ if event_id in existing_ids:
723
+ continue
724
+ protocol = recording_protocols.get(deployment["eventID"], deployment["samplingProtocol"])
725
+ additions.append({
726
+ "eventID": event_id,
727
+ "parentEventID": deployment["eventID"],
728
+ "eventType": "AudioRecording",
729
+ "eventDate": recording_date.isoformat(),
730
+ "samplingProtocol": protocol,
731
+ "sampleSizeValue": "1",
732
+ "sampleSizeUnit": "WAV recording",
733
+ "locality": deployment["locality"],
734
+ "locationID": deployment["locationID"],
735
+ "decimalLatitude": deployment["decimalLatitude"],
736
+ "decimalLongitude": deployment["decimalLongitude"],
737
+ "coordinateUncertaintyInMeters": deployment["coordinateUncertaintyInMeters"],
738
+ "geodeticDatum": deployment["geodeticDatum"],
739
+ "country": deployment["country"],
740
+ "stateProvince": deployment["stateProvince"],
741
+ "county": deployment["county"],
742
+ "datasetID": deployment["datasetID"],
743
+ "datasetName": deployment["datasetName"],
744
+ "recordedBy": deployment["recordedBy"],
745
+ "fieldNotes": (
746
+ f"Recording: {file_id}.wav; Recorder: {recorder}; "
747
+ "Total BirdNET detections: 0; "
748
+ f"Schedule type: {schedule_type}; "
749
+ f"Provenance: header-only BirdNET result {path.name}."
750
+ ),
751
+ "eventTime": f"{hms[:2]}:{hms[2:4]}:{hms[4:]}",
752
+ })
753
+ existing_ids.add(event_id)
754
+ if len(additions) != 64:
755
+ raise ValueError(f"Expected 64 header-only BirdNET Events, found {len(additions)}")
756
+ events.extend(sorted(additions, key=lambda row: row["eventID"]))
757
+ return len(additions)
758
+
759
+
760
+ def patch_bioacoustics() -> tuple[int, int]:
761
+ src = BASE_DIR / "processing_output/darwin_core/bioacoustics_complete"
762
+ out = OUT_DIR / "bioacoustics_complete"
763
+ out.mkdir(parents=True, exist_ok=True)
764
+ events = read_csv(src / "darwin_core_events_bioacoustics_complete.csv")
765
+ occ = read_csv(src / "darwin_core_occurrences_bioacoustics_complete.csv")
766
+ added_empty_events = add_header_only_birdnet_events(events)
767
+ mapping = build_birdnet_scientific_map()
768
+ for row in occ:
769
+ sci = row.get("scientificName") or mapping.get(row.get("vernacularName", ""), "")
770
+ row["scientificName"] = sci
771
+ if sci:
772
+ parts = sci.split()
773
+ row["kingdom"] = row.get("kingdom") or "Animalia"
774
+ row["phylum"] = row.get("phylum") or "Chordata"
775
+ row["class"] = row.get("class") or "Aves"
776
+ row["genus"] = row.get("genus") or parts[0]
777
+ row["specificEpithet"] = row.get("specificEpithet") or (parts[1] if len(parts) > 1 else "")
778
+ row["taxonRank"] = row.get("taxonRank") or ("species" if len(parts) > 1 else "")
779
+ write_csv(out / "darwin_core_events_bioacoustics_complete.csv", events, list(events[0].keys()))
780
+ write_csv(out / "darwin_core_occurrences_bioacoustics_complete.csv", occ, list(occ[0].keys()))
781
+ results = src / "RESULTS.md"
782
+ if results.exists():
783
+ summary = results.read_text(encoding="utf-8")
784
+ summary = summary.replace("**2,307 recordings**", "**2,371 recordings**")
785
+ summary = summary.replace("| Campaign 1 | Jun 30 – Jul 3 | 300 |", "| Campaign 1 | Jun 30 – Jul 3 | 311 |")
786
+ summary = summary.replace("| Campaign 2 | Aug 4 – Aug 28 | 2,007 |", "| Campaign 2 | Aug 4 – Aug 28 | 2,060 |")
787
+ summary = summary.replace("| TW02 | Nomad Ridge Shelter | Aug 4–28 | 561 |", "| TW02 | Nomad Ridge Shelter | Aug 4–28 | 581 |")
788
+ summary = summary.replace("| TW06 | Zebra Shelter | Jun 30–Aug 28 | 550 |", "| TW06 | Zebra Shelter | Jun 30–Aug 28 | 585 |")
789
+ summary = summary.replace("| TW08 | Fence with Vegetation | Jun 30–Aug 28 | 410 |", "| TW08 | Fence with Vegetation | Jun 30–Aug 28 | 419 |")
790
+ summary += "\n\n## Recording Completeness Repair\n\nThe corrected snapshot includes 64 processed recordings whose BirdNET result CSVs contain only a header and therefore have zero detections. They are represented as `AudioRecording` Events with no Occurrences.\n"
791
+ (out / "RESULTS.md").write_text(summary, encoding="utf-8")
792
+ return len(events), len(occ)
793
+
794
+
795
+ def generate_drones() -> tuple[int, int]:
796
+ det_dir = BASE_DIR / "processing_output/detections/drones/geolocation/geolocated_predictions"
797
+ files = sorted(det_dir.glob("*.drone_geolocated.csv"))
798
+ if not files:
799
+ raise FileNotFoundError(f"No drone geolocated Tree-of-Life prediction CSVs found under {det_dir}")
800
+
801
+ project_event = {
802
+ "eventID": "TheWilds_2025_drones",
803
+ "parentEventID": "TheWilds_2025",
804
+ "eventType": "Project",
805
+ "eventDate": "2025-07-01/2025-09-08",
806
+ "samplingProtocol": "Drone video surveys; detections by SAM3, Tree-of-Life classification by BioCLIP, and first-pass animal ground-position projection from drone telemetry.",
807
+ "sampleSizeValue": str(len(files)),
808
+ "sampleSizeUnit": "drone video geolocated Tree-of-Life prediction CSVs",
809
+ "locality": "The Wilds Conservation Center, Muskingum County, Ohio, USA",
810
+ "locationID": "",
811
+ "decimalLatitude": "39.83",
812
+ "decimalLongitude": "-81.74",
813
+ "coordinateUncertaintyInMeters": "5000",
814
+ "geodeticDatum": "WGS84",
815
+ "country": "United States",
816
+ "stateProvince": "Ohio",
817
+ "county": "Muskingum",
818
+ "datasetID": "TheWilds_2025_drones",
819
+ "datasetName": "The Wilds 2025 Multi-Modal Survey - Drone Imagery",
820
+ "recordedBy": "Drone field team",
821
+ "fieldNotes": "38 videos regenerated from per-video SAM3 + BioCLIP Tree-of-Life prediction CSVs with approximate animal ground-position projections where possible; VID_001 from 20250703_parrotanafi_4 is retained as an intentionally excluded raw-media Event.",
822
+ "eventTime": "",
823
+ }
824
+ events = [project_event]
825
+ flight_events: dict[str, dict] = {}
826
+ occurrences = []
827
+ occ_num = 0
828
+ for path in files:
829
+ rows = read_csv(path)
830
+ if not rows:
831
+ continue
832
+
833
+ first = rows[0]
834
+ collection = first.get("collection", "")
835
+ flight = first.get("flight", "")
836
+ video_stem = first.get("video_stem", "") or path.stem.split("_")[-1]
837
+ fallback_date = date_from_identifier(flight)
838
+ date_values = sorted(
839
+ {
840
+ parsed_date
841
+ for row in rows
842
+ if (parsed_date := split_datetime(row.get("date_time", ""))[0])
843
+ }
844
+ )
845
+ event_date = (
846
+ date_values[0]
847
+ if len(date_values) == 1
848
+ else f"{date_values[0]}/{date_values[-1]}" if date_values else fallback_date
849
+ )
850
+ event_date_derived = not date_values and bool(fallback_date)
851
+ event_times = sorted(
852
+ {
853
+ parsed_time
854
+ for row in rows
855
+ if (parsed_time := split_datetime(row.get("date_time", ""))[1])
856
+ }
857
+ )
858
+ event_time = (
859
+ event_times[0]
860
+ if len(event_times) == 1
861
+ else f"{event_times[0]}/{event_times[-1]}" if event_times else ""
862
+ )
863
+ event_lat, event_lon, event_uncertainty, event_coordinate_source = resolve_drone_event_coordinates(
864
+ first, flight, video_stem
865
+ )
866
+ # A static location is valid for a single video, but not necessarily for a flight
867
+ # with multiple videos; keep the parent Event blank in that situation.
868
+ if event_coordinate_source == "frame_or_drone_telemetry":
869
+ flight_lat, flight_lon, flight_uncertainty = event_lat, event_lon, event_uncertainty
870
+ else:
871
+ flight_lat = flight_lon = flight_uncertainty = ""
872
+ flight_event_id = f"TheWilds_2025_drone_{flight}"
873
+ video_event_id = f"TheWilds_2025_drone_{flight}_{video_stem}"
874
+
875
+ if flight and flight_event_id not in flight_events:
876
+ flight_events[flight_event_id] = {
877
+ "eventID": flight_event_id,
878
+ "parentEventID": "TheWilds_2025_drones",
879
+ "eventType": "SensorDeployment",
880
+ "eventDate": event_date,
881
+ "samplingProtocol": f"Drone flight/session {flight}; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available",
882
+ "sampleSizeValue": "",
883
+ "sampleSizeUnit": "detections",
884
+ "locality": "The Wilds Conservation Center",
885
+ "locationID": flight,
886
+ "decimalLatitude": flight_lat,
887
+ "decimalLongitude": flight_lon,
888
+ "coordinateUncertaintyInMeters": flight_uncertainty,
889
+ "geodeticDatum": "WGS84",
890
+ "country": "United States",
891
+ "stateProvince": "Ohio",
892
+ "county": "Muskingum",
893
+ "datasetID": "TheWilds_2025_drones",
894
+ "datasetName": "The Wilds 2025 Multi-Modal Survey - Drone Imagery",
895
+ "recordedBy": "Drone field team",
896
+ "fieldNotes": f"Collection: {collection}; flight/session: {flight}; coordinate_source={event_coordinate_source}",
897
+ "eventTime": "",
898
+ }
899
+
900
+ events.append({
901
+ "eventID": video_event_id,
902
+ "parentEventID": flight_event_id,
903
+ "eventType": "MediaEvent",
904
+ "eventDate": event_date,
905
+ "samplingProtocol": f"Drone video {video_stem}; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available",
906
+ "sampleSizeValue": str(len(rows)),
907
+ "sampleSizeUnit": "classified detection crops",
908
+ "locality": "The Wilds Conservation Center",
909
+ "locationID": flight,
910
+ "decimalLatitude": event_lat,
911
+ "decimalLongitude": event_lon,
912
+ "coordinateUncertaintyInMeters": event_uncertainty,
913
+ "geodeticDatum": "WGS84",
914
+ "country": "United States",
915
+ "stateProvince": "Ohio",
916
+ "county": "Muskingum",
917
+ "datasetID": "TheWilds_2025_drones",
918
+ "datasetName": "The Wilds 2025 Multi-Modal Survey - Drone Imagery",
919
+ "recordedBy": "Drone field team",
920
+ "fieldNotes": f"Collection: {collection}; flight/session: {flight}; video: {video_stem}; detections: {len(rows)}; source CSV: {path.name}; coordinate_source={event_coordinate_source}",
921
+ "eventTime": event_time,
922
+ })
923
+
924
+ for row in rows:
925
+ occ_num += 1
926
+ taxon = taxon_from_treeoflife(row)
927
+ event_date, event_time = split_datetime(row.get("date_time", ""))
928
+ event_date_derived_for_row = not event_date and bool(fallback_date)
929
+ if event_date_derived_for_row:
930
+ event_date = fallback_date
931
+ lat, lon, coord_uncertainty, coordinate_source = resolve_drone_occurrence_coordinates(
932
+ row, flight, video_stem
933
+ )
934
+ coordinate_withheld = (
935
+ "Coordinate unavailable: no valid WGS84 geolocation CSV value or original-video metadata location."
936
+ if coordinate_source == "unavailable_no_valid_source_coordinate" else ""
937
+ )
938
+ information_withheld = "; ".join(part for part in [
939
+ "Intra-day timestamp unavailable; eventDate derived from flight identifier."
940
+ if event_date_derived_for_row else "",
941
+ coordinate_withheld,
942
+ ] if part)
943
+ bbox = f"[{row.get('bbox_x','')},{row.get('bbox_y','')},{row.get('bbox_width','')},{row.get('bbox_height','')}]"
944
+ rank = row.get("rank", "")
945
+ score = row.get("top1_score", "")
946
+ source_label = row.get("source_label", "")
947
+ occurrences.append({
948
+ "occurrenceID": f"TheWilds_2025_drone_{occ_num:06d}",
949
+ "eventID": video_event_id,
950
+ "catalogNumber": f"drone_{flight}_{video_stem}_image{row.get('image_id','')}_ann{row.get('annotation_id','')}",
951
+ **taxon,
952
+ "occurrenceStatus": "present",
953
+ "individualCount": "1",
954
+ "basisOfRecord": "MachineObservation",
955
+ "recordedBy": "Drone imagery",
956
+ "identifiedBy": "SAM3 + BioCLIP Tree of Life",
957
+ "identificationVerificationStatus": "unverified",
958
+ "identificationRemarks": f"Tree-of-Life rank: {rank}; top1 score: {score}; detector label: {source_label}; bbox xywh(px): {bbox}; altitude_m: {row.get('altitude_m','')}",
959
+ "eventDate": event_date,
960
+ "eventTime": event_time,
961
+ "decimalLatitude": lat,
962
+ "decimalLongitude": lon,
963
+ "coordinateUncertaintyInMeters": coord_uncertainty,
964
+ "geodeticDatum": "WGS84",
965
+ "locality": "The Wilds Conservation Center",
966
+ "locationID": flight,
967
+ "country": "United States",
968
+ "stateProvince": "Ohio",
969
+ "county": "Muskingum",
970
+ "establishmentMeans": "managed",
971
+ "degreeOfEstablishment": "captive",
972
+ "occurrenceRemarks": "; ".join(part for part in [
973
+ "Frame-level drone detection crop",
974
+ "event_date_source=flight_identifier" if event_date_derived_for_row else "event_date_source=source_datetime",
975
+ f"source={row.get('source','')}",
976
+ f"mission_id={row.get('mission_id','')}",
977
+ f"detection_id={row.get('detection_id','')}",
978
+ f"drone_georef_status={row.get('drone_georef_status','')}",
979
+ f"coordinate_source={coordinate_source}",
980
+ f"associated_media_source={media_source}",
981
+ f"projected_ground_range_m={row.get('animal_ground_range_m','')}" if row.get("animal_ground_range_m") else "",
982
+ f"projected_bearing_deg={row.get('animal_bearing_deg','')}" if row.get("animal_bearing_deg") else "",
983
+ f"drone_altitude_used_m={row.get('drone_altitude_used_m','')}" if row.get("drone_altitude_used_m") else "",
984
+ f"drone_pitch_source={row.get('drone_pitch_source','')}" if row.get("drone_pitch_source") else "",
985
+ ] if part),
986
+ "associatedMedia": associated_media,
987
+ "datasetID": "TheWilds_2025_drones",
988
+ "datasetName": "The Wilds 2025 Multi-Modal Survey - Drone Imagery",
989
+ "informationWithheld": information_withheld,
990
+ "dataGeneralizations": drone_coordinate_generalization(coordinate_source),
991
+ })
992
+ # Represent the reviewed-but-intentionally-unprocessed raw video explicitly.
993
+ if not any(row.get("eventID") == EXCLUDED_DRONE_MEDIA_EVENT["eventID"] for row in events):
994
+ events.append(dict(EXCLUDED_DRONE_MEDIA_EVENT))
995
+ # Insert flight/session events before the per-video events.
996
+ events = [project_event] + list(flight_events.values()) + events[1:]
997
+ out = OUT_DIR / "drones"
998
+ write_csv(out / "darwin_core_events_drones.csv", events, list(events[0].keys()))
999
+ write_csv(out / "darwin_core_occurrences_drones.csv", occurrences, OCC_FIELDS)
1000
+ return len(events), len(occurrences)
1001
+
1002
+
1003
+ def copy_existing_modality(modality: str, files: list[str]) -> tuple[int, int]:
1004
+ src = BASE_DIR / "processing_output/darwin_core" / modality
1005
+ dst = OUT_DIR / modality
1006
+ dst.mkdir(parents=True, exist_ok=True)
1007
+ events_n = occ_n = 0
1008
+ for filename in files:
1009
+ src_file = src / filename
1010
+ dst_file = dst / filename
1011
+ shutil.copy2(src_file, dst_file)
1012
+ if filename.endswith(".csv"):
1013
+ n = len(read_csv(dst_file))
1014
+ if "events" in filename:
1015
+ events_n += n
1016
+ elif "occurrences" in filename:
1017
+ occ_n += n
1018
+ return events_n, occ_n
1019
+
1020
+
1021
+ def patch_citizen_science_provenance() -> tuple[int, int]:
1022
+ """Clarify citizen-science raw, curated, and external-album media provenance."""
1023
+ events_path = OUT_DIR / "citizen_science/darwin_core_events_citizen_science.csv"
1024
+ occurrences_path = OUT_DIR / "citizen_science/darwin_core_occurrences_citizen_science.csv"
1025
+ raw_dir = BASE_DIR / "thewilds_20250804_20250828/citizen_science/photos_videos"
1026
+ events = read_csv(events_path)
1027
+ for row in events:
1028
+ if row.get("eventID") == "TheWilds_2025_citizen_science":
1029
+ row["sampleSizeValue"] = "564"
1030
+ row["sampleSizeUnit"] = "curated wildlife photographs"
1031
+ row["fieldNotes"] = ("Raw-folder inventory: 1,103 media files (965 still images and 138 videos). "
1032
+ "Manual annotations cover 791 photos; curation retained 564 wildlife photos. "
1033
+ "Multi-taxon photos yield 622 Darwin Core Occurrences across 13 observation sessions. "
1034
+ "Fifty curated Sep. 8 photos are sourced from the Google Photos album export rather "
1035
+ "than the photos_videos folder; their media references state that source explicitly.")
1036
+ write_csv(events_path, events, EVENT_FIELDS)
1037
+ occurrences = read_csv(occurrences_path)
1038
+ external = 0
1039
+ for row in occurrences:
1040
+ filename = Path(row.get("associatedMedia", "")).name
1041
+ if filename and not (raw_dir / filename).is_file():
1042
+ row["associatedMedia"] = f"Google Photos Takeout/The Wilds 9-8-25/{filename}"
1043
+ note = "media_source=Google Photos Takeout/The Wilds 9-8-25; not in photos_videos raw-folder inventory"
1044
+ if note not in row.get("occurrenceRemarks", ""):
1045
+ row["occurrenceRemarks"] = "; ".join(part for part in [row.get("occurrenceRemarks", ""), note] if part)
1046
+ external += 1
1047
+ if external != 50:
1048
+ raise ValueError(f"Expected 50 externally sourced citizen-science media references, found {external}")
1049
+ write_csv(occurrences_path, occurrences, OCC_FIELDS)
1050
+ audit = {
1051
+ "reconciliation": "citizen-science media populations and provenance",
1052
+ "raw_folder": "thewilds_20250804_20250828/citizen_science/photos_videos",
1053
+ "raw_folder_media_files": 1103,
1054
+ "raw_folder_file_types": {"jpeg": 507, "jpg": 346, "heic": 112, "mov": 91, "mp4": 47},
1055
+ "raw_folder_still_images": 965,
1056
+ "raw_folder_videos": 138,
1057
+ "manual_annotation_input_photos": 791,
1058
+ "curated_wildlife_photos": 564,
1059
+ "darwin_core_occurrences": 622,
1060
+ "observation_sessions": 13,
1061
+ "curated_media_in_raw_folder": 514,
1062
+ "curated_media_from_google_photos_album_only": 50,
1063
+ "external_album_media_date": "2025-09-08",
1064
+ "external_album_media_reference_prefix": "Google Photos Takeout/The Wilds 9-8-25/",
1065
+ "retired_unreproducible_counts": ["~991 submissions", "1,128 photographs"],
1066
+ }
1067
+ (OUT_DIR / "citizen_science_media_reconciliation_20261008.json").write_text(
1068
+ json.dumps(audit, indent=2) + "\n", encoding="utf-8"
1069
+ )
1070
+ return len(events), len(occurrences)
1071
+
1072
+
1073
+ def merge_outputs() -> tuple[int, int]:
1074
+ event_files = [
1075
+ OUT_DIR / "camera_traps/darwin_core_events_camera_traps.csv",
1076
+ OUT_DIR / "bioacoustics_complete/darwin_core_events_bioacoustics_complete.csv",
1077
+ OUT_DIR / "drones/darwin_core_events_drones.csv",
1078
+ OUT_DIR / "citizen_science/darwin_core_events_citizen_science.csv",
1079
+ OUT_DIR / "text_data/darwin_core_events_text.csv",
1080
+ ]
1081
+ occ_files = [
1082
+ ("camera_traps", OUT_DIR / "camera_traps/darwin_core_occurrences_camera_traps.csv"),
1083
+ ("bioacoustics", OUT_DIR / "bioacoustics_complete/darwin_core_occurrences_bioacoustics_complete.csv"),
1084
+ ("drones", OUT_DIR / "drones/darwin_core_occurrences_drones.csv"),
1085
+ ("citizen_science", OUT_DIR / "citizen_science/darwin_core_occurrences_citizen_science.csv"),
1086
+ ("text_data", OUT_DIR / "text_data/darwin_core_occurrences_text.csv"),
1087
+ ]
1088
+ events = [dict(STUDY_ROOT_EVENT)]
1089
+ for path in event_files:
1090
+ events.extend(read_csv(path))
1091
+ occ = []
1092
+ fields = ["modality_type"] + OCC_FIELDS
1093
+ for modality, path in occ_files:
1094
+ for row in read_csv(path):
1095
+ out = {field: row.get(field, "") for field in OCC_FIELDS}
1096
+ out["modality_type"] = modality
1097
+ occ.append(out)
1098
+ write_csv(OUT_DIR / "events_all_modalities.csv", events, EVENT_FIELDS)
1099
+ write_csv(OUT_DIR / "occurrences_all_modalities.csv", occ, fields)
1100
+ return len(events), len(occ)
1101
+
1102
+
1103
+ def valid_event_date(value: str) -> bool:
1104
+ """Accept one ISO date or an ISO date interval, rejecting known sentinels."""
1105
+ value = (value or "").strip()
1106
+ if value.lower() in DATE_SENTINELS:
1107
+ return False
1108
+ parts = value.split("/")
1109
+ if not parts or len(parts) > 2:
1110
+ return False
1111
+ try:
1112
+ for part in parts:
1113
+ if part.lower() in DATE_SENTINELS:
1114
+ return False
1115
+ date.fromisoformat(part)
1116
+ except ValueError:
1117
+ return False
1118
+ return True
1119
+
1120
+
1121
+ def validate_snapshot() -> list[str]:
1122
+ notes = []
1123
+ event_ids = set()
1124
+ for path in OUT_DIR.glob("*/darwin_core_events*.csv"):
1125
+ rows = read_csv(path)
1126
+ event_ids.update(row.get("eventID", "") for row in rows)
1127
+ missing_date = sum(1 for row in rows if not row.get("eventDate"))
1128
+ invalid_date = sum(1 for row in rows if not valid_event_date(row.get("eventDate", "")))
1129
+ notes.append(
1130
+ f"- `{path.relative_to(OUT_DIR)}`: rows={len(rows)}, "
1131
+ f"missing_eventDate={missing_date}, invalid_eventDate={invalid_date}"
1132
+ )
1133
+ for path in OUT_DIR.glob("*/darwin_core_occurrences*.csv"):
1134
+ rows = read_csv(path)
1135
+ missing_event = sum(1 for row in rows if row.get("eventID") not in event_ids)
1136
+ missing_taxon = sum(1 for row in rows if not (row.get("scientificName") or row.get("vernacularName")))
1137
+ missing_date = sum(1 for row in rows if not row.get("eventDate"))
1138
+ invalid_date = sum(1 for row in rows if not valid_event_date(row.get("eventDate", "")))
1139
+ dup_ids = len(rows) - len({row.get("occurrenceID") for row in rows})
1140
+ notes.append(
1141
+ f"- `{path.relative_to(OUT_DIR)}`: rows={len(rows)}, "
1142
+ f"missing_event_links={missing_event}, missing_taxon={missing_taxon}, "
1143
+ f"missing_eventDate={missing_date}, invalid_eventDate={invalid_date}, "
1144
+ f"duplicate_occurrenceID={dup_ids}"
1145
+ )
1146
+ return notes
1147
+
1148
+ def write_qc_summary(counts: dict[str, tuple[int, int]], merged: tuple[int, int]) -> None:
1149
+ lines = [
1150
+ "# Darwin Core QC Summary",
1151
+ "",
1152
+ f"Generated: {datetime.now().isoformat(timespec='seconds')}",
1153
+ "",
1154
+ "## Counts",
1155
+ "",
1156
+ ]
1157
+ for modality, (events, occ) in counts.items():
1158
+ lines.append(f"- {modality}: events={events}, occurrences={occ}")
1159
+ lines.append(f"- merged: events={merged[0]}, occurrences={merged[1]}")
1160
+ lines.extend([
1161
+ "",
1162
+ "## Validation",
1163
+ "",
1164
+ *validate_snapshot(),
1165
+ "",
1166
+ "## Notes",
1167
+ "",
1168
+ "- Camera traps use SAM3 detections, BioCLIP Tree-of-Life labels, the current camera timestamp map, and model-derived animal geolocation estimates.",
1169
+ "- Bioacoustic scientific names are filled from BirdNET result CSV common-name mappings.",
1170
+ "- Drone occurrences use per-video SAM3 + BioCLIP Tree-of-Life prediction CSVs after first-pass drone ground-position projection.",
1171
+ "- Drone decimalLatitude/decimalLongitude use projected animal coordinates only when `drone_georef_status=ok`; otherwise they fall back to frame/drone telemetry coordinates.",
1172
+ "- Citizen-science and text-data outputs are copied from the existing Darwin Core outputs.",
1173
+ "- Camera-trap animal coordinates are estimated positions, not direct GPS observations; see `dataGeneralizations` and geolocation provenance columns in the archived prediction CSVs.",
1174
+ ])
1175
+ (OUT_DIR / "QC_SUMMARY.md").write_text("\n".join(lines) + "\n", encoding="utf-8")
1176
+
1177
+
1178
+ def main() -> None:
1179
+ parser = argparse.ArgumentParser()
1180
+ parser.add_argument("--force", action="store_true", help="Overwrite existing generated snapshot outputs under OUT_DIR.")
1181
+ args = parser.parse_args()
1182
+
1183
+ ensure_clean_output(args.force)
1184
+ counts = {}
1185
+ counts["camera_traps"] = generate_camera_traps()
1186
+ counts["bioacoustics_complete"] = patch_bioacoustics()
1187
+ counts["drones"] = generate_drones()
1188
+ counts["citizen_science"] = copy_existing_modality("citizen_science", [
1189
+ "darwin_core_events_citizen_science.csv",
1190
+ "darwin_core_occurrences_citizen_science.csv",
1191
+ ])
1192
+ counts["citizen_science"] = patch_citizen_science_provenance()
1193
+ counts["text_data"] = copy_existing_modality("text_data", [
1194
+ "darwin_core_events_text.csv",
1195
+ "darwin_core_occurrences_text.csv",
1196
+ "site_selection_rationale.csv",
1197
+ ])
1198
+ merged = merge_outputs()
1199
+ write_qc_summary(counts, merged)
1200
+ print(f"Wrote Darwin Core tables to {OUT_DIR}")
1201
+ for modality, (events, occ) in counts.items():
1202
+ print(f" {modality}: events={events}, occurrences={occ}")
1203
+ print(f" merged: events={merged[0]}, occurrences={merged[1]}")
1204
+
1205
+
1206
+ if __name__ == "__main__":
1207
+ main()
smartwilds-citizen-science/CHECKSUMS.sha256 ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ f1091f6f362e6a7b3f78705ffc123685a7406882ba4dd97982af8478d3a0a4d2 data/events.csv
2
+ 845317eaa1fe41344a7ffe4b76a8bf23c70961818f4726bb2651e6efeb99da2e data/occurrences.csv
3
+ 652cb6f461bfd55607183d5afa2f90ae66eb01d7c94ed3b9e1b65d1730d96a38 media_manifest.csv
4
+ 5225f2f37cd8738e7ccc72efeea6cd58389ec7d1a621d1023a481b10f49c076e metadata/DATA_DICTIONARY.md
5
+ 7e64adcc08bb91f449f73ab5737c29c73b1500f7ad56e371bcf44b8e8ca3c6ab metadata/provenance/citizen_science_media_reconciliation_20261008.json
6
+ 83cba7ad8d340c28ac25519c9bf7845e034dfcdd6ef16e8a62fedd3f8a55293d scripts/build_hf_release.py
smartwilds-citizen-science/README.md ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ language:
4
+ - en
5
+ pretty_name: SmartWilds Citizen Science (The Wilds 2025)
6
+ task_categories:
7
+ - image-classification
8
+ tags:
9
+ - biology
10
+ - ecology
11
+ - biodiversity
12
+ - citizen-science
13
+ - darwin-core
14
+ - fair2
15
+ - smartwilds
16
+ - the-wilds
17
+ - ohio
18
+ size_categories:
19
+ - n<1K
20
+ description: >-
21
+ Visitor-style wildlife photographs, taken by project researchers, from 13
22
+ observation sessions at The
23
+ Wilds (Ohio, USA), 2025: 1,103 raw media files, 564 curated wildlife photos,
24
+ and 622 expert-verified Darwin Core Occurrences.
25
+
26
+ configs:
27
+ - config_name: occurrences
28
+ data_files: data/occurrences.csv
29
+ - config_name: events
30
+ data_files: data/events.csv
31
+ ---
32
+
33
+ # Dataset Card for SmartWilds Citizen Science
34
+
35
+ ![Citizen-science photos of three managed focal species](images/smartwilds-citizen-science/preview.png)
36
+ *Visitor photographs of Przewalski's horse, Sichuan takin, and Milu (Père David's) deer, with annotation boxes.*
37
+
38
+
39
+ This is the citizen-science dataset of the **SmartWilds** collection. Each
40
+ modality has its own dataset and DOI. They share one Darwin Core Event hierarchy
41
+ rooted at `TheWilds_2025` and are joined by the SmartWilds collection.
42
+
43
+ ## Dataset Details
44
+
45
+ - **Curated by:** Jenna M. Kline, Anirudh Potlapally, Elizabeth G. Campolongo
46
+ - **Homepage:** <https://github.com/Imageomics/smartwilds> (documentation: <https://imageomics.github.io/smartwilds/>)
47
+ - **Paper:** SmartWilds: Integrating, Aligning, and Documenting Multi-Modal Field Sensing Data (under review)
48
+ - **Release build:** 2026-10-22
49
+
50
+ Members of the project team, moving through the park as visitors do,
51
+ submitted photographs through a structured web form; the team holds the
52
+ rights to the media. The release distinguishes four counts, each a different
53
+ unit:
54
+
55
+ | Unit | Count |
56
+ |---|---:|
57
+ | Raw media files in `photos_videos` (965 images, 138 videos) | 1,103 |
58
+ | Photos manually annotated | 791 |
59
+ | Curated wildlife photos | 564 |
60
+ | Darwin Core Occurrences (some photos contain several taxa) | 622 |
61
+
62
+ Fifty of the curated photos, all from September 8, came from a Google Photos
63
+ album export that is not part of the project archive. Their 50 Occurrences are
64
+ released, but the photos are not: `associatedMedia` is blank for these rows,
65
+ and `occurrenceRemarks` gives the original album path and the reason
66
+ (`media_not_distributed`).
67
+
68
+ The Event table has 14 rows: 1 `Project` and 13 `ObservationSession`.
69
+
70
+ ### Annotation method
71
+
72
+ - **Method:** manual. All 622 Occurrences are `verified by expert`
73
+ (`HumanObservation`).
74
+ - **Locality:** coordinates are generalized to locality level.
75
+
76
+ ### Personal and sensitive information
77
+
78
+ The photographs were taken by project researchers, not by members of the
79
+ public, so no third-party consent is needed for their release. Some show
80
+ other visitors. Media in which a person can be individually identified are removed from the
81
+ release. People too small to identify (a person box under 80 px in the native
82
+ image, where the face is under about 10 px) are retained; every file with a
83
+ larger person detection was reviewed by a person before release.
84
+
85
+ ### Supported Tasks and Applications
86
+
87
+ This dataset supports ecological analysis and sensing-systems research; the computer-vision tasks apply once the photographs are released.
88
+
89
+ **🌿 Ecological Applications:**
90
+ - Expert-verified species records (622) as a validation set for the machine-labeled modalities
91
+ - Visitor-perspective sampling bias: which taxa and places opportunistic photography captures
92
+ - Cross-modal corroboration of focal-species presence by date
93
+
94
+ **⚙️ Sensing-Systems Research:**
95
+ - Sparse, bursty human-reported arrivals as priors for sensor scheduling (citizen-science-as-prior case study)
96
+ - Session-level effort and timing from observation sessions
97
+
98
+ **🤖 Computer Vision Tasks (with the photo release):**
99
+ - Species classification on smartphone imagery with verified labels
100
+ - Detection on photographs with annotation boxes
101
+
102
+ ## Considerations for Using the Data
103
+
104
+ - **Submissions arrive only during operating hours.** The diurnal profile is
105
+ truncated by visitor schedules, not by animal activity.
106
+ - **Visitors' attention skews the taxa.** Charismatic and easily seen taxa are
107
+ over-represented.
108
+
109
+ ## Supplemental Material
110
+
111
+ Extended inventories, the timestamp-repair methods, the standards crosswalk,
112
+ validation checks, and the full defect inventory are in
113
+ [`SUPPLEMENTAL.md`](https://huggingface.co/datasets/ABC-Center/smartwilds_metadata/blob/main/SUPPLEMENTAL.md)
114
+ in the study-level SmartWilds dataset.
115
+
116
+ ## Licensing
117
+
118
+ Data: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). Scripts: MIT.
119
+
120
+ ## Citation
121
+
122
+ ```bibtex
123
+ @misc{smartwilds2025_citizen_science,
124
+ author = {Kline, Jenna M. and Potlapally, Anirudh and Campolongo, Elizabeth G.},
125
+ title = {SmartWilds Citizen Science (The Wilds 2025)},
126
+ year = {2026},
127
+ publisher = {Hugging Face},
128
+ note = {DOI pending the raw data release},
129
+ url = {https://huggingface.co/datasets/ABC-Center/smartwilds_metadata/tree/main/smartwilds-citizen-science}
130
+ }
131
+ ```
132
+
133
+ Please also cite the paper:
134
+
135
+ ```bibtex
136
+ @article{kline2026smartwilds,
137
+ author = {Kline, Jenna M. and Potlapally, Anirudh and Campolongo, Elizabeth G.},
138
+ title = {SmartWilds: Integrating, Aligning, and Documenting Multi-Modal Field Sensing Data},
139
+ year = {2026},
140
+ note = {Under review}
141
+ }
142
+ ```
143
+
144
+ This dataset card follows the [FAIR² Drones Data Standard](https://imageomics.github.io/fair_drones/)
145
+ (Kline and Campolongo, 2026).
146
+
147
+ ## Acknowledgements
148
+
149
+ This project is supported by the [Imageomics Institute](https://imageomics.org), which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning), and by the [AI Institute for Intelligent Cyberinfrastructure with Computational Learning in the Environment (ICICLE)](https://icicle.osu.edu/), which is funded by the US National Science Foundation under [Award #2112606](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2112606).
150
+
151
+ This work is also supported by the AI and Biodiversity Change (ABC) Global Center. The ABC Global Center is funded by the US National Science Foundation under [Award No. 2330423](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2330423&HistoricalAwards=false) and the Natural Sciences and Engineering Research Council of Canada under [Award No. 585136](https://www.nserc-crsng.gc.ca/ase-oro/Details-Detailles_eng.asp?id=782440). This dataset draws on research supported by the Social Sciences and Humanities Research Council.
152
+
153
+ Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation, Natural Sciences and Engineering Research Council of Canada, or Social Sciences and Humanities Research Council.
154
+
155
+ Special thanks to Dan Beetem and [The Wilds](https://www.thewilds.org/) in Ohio for providing access to deployment sites and supporting this wildlife monitoring research. We thank the Columbus Zoo and Aquarium for their support in facilitating this project. All data collection, including drone flights, was conducted under the supervision of the Director of Animal Management, with permission from The Wilds Animal Care and Use Committee.
156
+
157
+ This work used the [Ohio Supercomputer Center](https://www.osc.edu/) (Ohio Supercomputer Center. 1987. Ohio Supercomputer Center. Columbus OH: Ohio Supercomputer Center. <https://ror.org/01apna436>).
158
+
159
+ ## Dataset Card Contact
160
+
161
+ Jenna M. Kline (kline.377@osu.edu)
smartwilds-citizen-science/data/events.csv ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ eventID,parentEventID,eventType,eventDate,samplingProtocol,sampleSizeValue,sampleSizeUnit,locality,decimalLatitude,decimalLongitude,coordinateUncertaintyInMeters,geodeticDatum,country,stateProvince,county,datasetID,datasetName,recordedBy,fieldNotes,eventTime
2
+ TheWilds_2025_citizen_science,TheWilds_2025,Project,2025-06-30/2025-09-08,Opportunistic photography by visiting researchers and students,564,curated wildlife photographs,"The Wilds Conservation Center, Muskingum County, Ohio, USA",39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Multiple citizen observers,"Raw-folder inventory: 1,103 media files (965 still images and 138 videos). Manual annotations cover 791 photos; curation retained 564 wildlife photos (excluded 137 with humans, 77 equipment-only, and 225 without species; categories overlap). Multi-taxon photos yield 622 Darwin Core Occurrences across 13 observation sessions. Fifty curated Sep. 8 photos are sourced from the Google Photos album export rather than the photos_videos folder; their media references state that source explicitly. 20 species identified via manual annotation.",
3
+ TheWilds_2025_citizen_science_2025-06-30,TheWilds_2025_citizen_science,ObservationSession,2025-06-30,Opportunistic photography,9,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250630_20250703. 9 photos on 2025-06-30.,11:28:20/14:21:47
4
+ TheWilds_2025_citizen_science_2025-07-01,TheWilds_2025_citizen_science,ObservationSession,2025-07-01,Opportunistic photography,301,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250630_20250703. 301 photos on 2025-07-01.,02:34:34/10:09:35
5
+ TheWilds_2025_citizen_science_2025-08-04,TheWilds_2025_citizen_science,ObservationSession,2025-08-04,Opportunistic photography,12,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250804_20250828. 12 photos on 2025-08-04.,09:44:10/09:45:53
6
+ TheWilds_2025_citizen_science_2025-08-07,TheWilds_2025_citizen_science,ObservationSession,2025-08-07,Opportunistic photography,28,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250804_20250828. 28 photos on 2025-08-07.,10:00:00/23:16:31
7
+ TheWilds_2025_citizen_science_2025-08-09,TheWilds_2025_citizen_science,ObservationSession,2025-08-09,Opportunistic photography,1,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250804_20250828. 1 photos on 2025-08-09.,13:43:59
8
+ TheWilds_2025_citizen_science_2025-08-11,TheWilds_2025_citizen_science,ObservationSession,2025-08-11,Opportunistic photography,1,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250804_20250828. 1 photos on 2025-08-11.,09:38:44
9
+ TheWilds_2025_citizen_science_2025-08-14,TheWilds_2025_citizen_science,ObservationSession,2025-08-14,Opportunistic photography,1,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250804_20250828. 1 photos on 2025-08-14.,09:27:57
10
+ TheWilds_2025_citizen_science_2025-08-18,TheWilds_2025_citizen_science,ObservationSession,2025-08-18,Opportunistic photography,8,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250804_20250828. 8 photos on 2025-08-18.,09:37:09/09:41:07
11
+ TheWilds_2025_citizen_science_2025-08-21,TheWilds_2025_citizen_science,ObservationSession,2025-08-21,Opportunistic photography,91,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250804_20250828. 91 photos on 2025-08-21.,09:23:01/12:14:38
12
+ TheWilds_2025_citizen_science_2025-08-22,TheWilds_2025_citizen_science,ObservationSession,2025-08-22,Opportunistic photography,14,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250804_20250828. 14 photos on 2025-08-22.,05:33:27/09:53:25
13
+ TheWilds_2025_citizen_science_2025-08-26,TheWilds_2025_citizen_science,ObservationSession,2025-08-26,Opportunistic photography,8,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250804_20250828. 8 photos on 2025-08-26.,13:38:00/13:38:03
14
+ TheWilds_2025_citizen_science_2025-08-28,TheWilds_2025_citizen_science,ObservationSession,2025-08-28,Opportunistic photography,40,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250804_20250828. 40 photos on 2025-08-28.,22:47:01/22:47:19
15
+ TheWilds_2025_citizen_science_2025-09-08,TheWilds_2025_citizen_science,ObservationSession,2025-09-08,Opportunistic photography,50,photographs,The Wilds Conservation Center,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_citizen_science,The Wilds 2025 Multi-Modal Survey - Citizen Science,Citizen observers,Campaign: 20250908_20250908. 50 photos on 2025-09-08.,09:46:36/22:07:46
smartwilds-citizen-science/data/occurrences.csv ADDED
The diff for this file is too large to render. See raw diff
 
smartwilds-citizen-science/media_manifest.csv ADDED
The diff for this file is too large to render. See raw diff
 
smartwilds-citizen-science/metadata/DATA_DICTIONARY.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # smartwilds-citizen-science data dictionary
2
+
3
+ Generated by `scripts/build_hf_release.py`. Darwin Core term definitions: <https://dwc.tdwg.org/terms/>. Columns not listed in a Darwin Core namespace are SmartWilds-specific.
4
+
5
+ ## `data/events.csv`
6
+
7
+ 14 rows.
8
+
9
+ | Column | Description | Example |
10
+ |---|---|---|
11
+ | `eventID` | Darwin Core: unique Event identifier | TheWilds_2025_citizen_science |
12
+ | `parentEventID` | Darwin Core: eventID of the parent Event | TheWilds_2025 |
13
+ | `eventType` | Darwin Core: Project, SensorDeployment, AudioRecording, MediaEvent, or ObservationSession | Project |
14
+ | `eventDate` | Darwin Core: ISO 8601 date or date interval (start/end) | 2025-06-30/2025-09-08 |
15
+ | `samplingProtocol` | Darwin Core: sensor, schedule, and processing chain | Opportunistic photography by visiting researchers and studen… |
16
+ | `sampleSizeValue` | Darwin Core: sample size | 564 |
17
+ | `sampleSizeUnit` | Darwin Core: unit of sampleSizeValue | curated wildlife photographs |
18
+ | `locality` | Darwin Core: named place | The Wilds Conservation Center, Muskingum County, Ohio, USA |
19
+ | `decimalLatitude` | Darwin Core: WGS84; see dataGeneralizations for what the point represents | 39.83 |
20
+ | `decimalLongitude` | Darwin Core: WGS84 | -81.74 |
21
+ | `coordinateUncertaintyInMeters` | Darwin Core: meters | 5000 |
22
+ | `geodeticDatum` | Darwin Core: WGS84 | WGS84 |
23
+ | `country` | | United States |
24
+ | `stateProvince` | | Ohio |
25
+ | `county` | | Muskingum |
26
+ | `datasetID` | Darwin Core: modality dataset identifier | TheWilds_2025_citizen_science |
27
+ | `datasetName` | Darwin Core | The Wilds 2025 Multi-Modal Survey - Citizen Science |
28
+ | `recordedBy` | Darwin Core: device or team | Multiple citizen observers |
29
+ | `fieldNotes` | Darwin Core: provenance and field notes | Raw-folder inventory: 1,103 media files (965 still images an… |
30
+ | `eventTime` | Darwin Core: local time (or interval); blank when not recoverable | 11:28:20/14:21:47 |
31
+
32
+ ## `data/occurrences.csv`
33
+
34
+ 622 rows.
35
+
36
+ | Column | Description | Example |
37
+ |---|---|---|
38
+ | `occurrenceID` | Darwin Core: unique Occurrence identifier | TheWilds_2025_CS_0001 |
39
+ | `eventID` | Darwin Core: unique Event identifier | TheWilds_2025_citizen_science_2025-08-28 |
40
+ | `catalogNumber` | Darwin Core: source record identifier | CS_012A0E1A-022A-45E8-9FA2-BE0838AAD135_4_5005_c.jpeg_0 |
41
+ | `scientificName` | Darwin Core: top-1 model or annotator taxon | Cervus hanglu bactrianus Lydekker, 1900 |
42
+ | `kingdom` | Darwin Core: rank | Animalia |
43
+ | `phylum` | Darwin Core: rank | Chordata |
44
+ | `class` | Darwin Core: rank | Mammalia |
45
+ | `order` | Darwin Core: rank | Artiodactyla |
46
+ | `family` | Darwin Core: rank | Cervidae |
47
+ | `genus` | Darwin Core: rank | Cervus |
48
+ | `specificEpithet` | Darwin Core: rank | hanglu |
49
+ | `taxonRank` | Darwin Core: rank of scientificName | subspecies |
50
+ | `vernacularName` | Darwin Core: common name | Bactrian Deer |
51
+ | `occurrenceStatus` | Darwin Core: present | present |
52
+ | `individualCount` | Darwin Core: 1 per visual crop; number of BirdNET detections for acoustic rows | 1 |
53
+ | `basisOfRecord` | Darwin Core: MachineObservation or HumanObservation | HumanObservation |
54
+ | `recordedBy` | Darwin Core: device or team | Citizen observer (manual annotation) |
55
+ | `identifiedBy` | Darwin Core: model (and version) or annotator | Jenna Kline |
56
+ | `identificationVerificationStatus` | Darwin Core: verification status; the vocabulary differs by table (SUPPLEMENTAL.md S9.3) | verified by expert |
57
+ | `identificationRemarks` | Darwin Core: rank, top-1 score, bbox xywh (px), detector label | Manual species identification from citizen science photograp… |
58
+ | `eventDate` | Darwin Core: ISO 8601 date or date interval (start/end) | 2025-08-28 |
59
+ | `eventTime` | Darwin Core: local time (or interval); blank when not recoverable | 22:47:01 |
60
+ | `decimalLatitude` | Darwin Core: WGS84; see dataGeneralizations for what the point represents | 39.83 |
61
+ | `decimalLongitude` | Darwin Core: WGS84 | -81.74 |
62
+ | `coordinateUncertaintyInMeters` | Darwin Core: meters | 5000 |
63
+ | `geodeticDatum` | Darwin Core: WGS84 | WGS84 |
64
+ | `locality` | Darwin Core: named place | The Wilds Conservation Center, Muskingum County, Ohio, USA |
65
+ | `country` | | United States |
66
+ | `stateProvince` | | Ohio |
67
+ | `county` | | Muskingum |
68
+ | `establishmentMeans` | | managed |
69
+ | `degreeOfEstablishment` | | captive |
70
+ | `occurrenceRemarks` | Darwin Core: projection status, timestamp method, repair notes (key=value; ...) | Photographed during guided visit to The Wilds. |
71
+ | `associatedMedia` | Darwin Core: release-relative path to the source media file | media/thewilds_20250804_20250828/photos_videos/012A0E1A-022A… |
72
+ | `datasetID` | Darwin Core: modality dataset identifier | TheWilds_2025_citizen_science |
73
+ | `datasetName` | Darwin Core | The Wilds 2025 Multi-Modal Survey - Citizen Science |
74
+
75
+ ## `media_manifest.csv`
76
+
77
+ 1,104 rows.
78
+
79
+ | Column | Description | Example |
80
+ |---|---|---|
81
+ | `release_path` | Path of the file inside this dataset | media/thewilds_20250804_20250828/heic_to_jpeg_conversion_man… |
82
+ | `source_path` | Path in the project archive | thewilds_20250804_20250828/citizen_science/heic_to_jpeg_conv… |
83
+ | `bytes` | File size | 26259 |
84
+ | `include` | true if the file is distributed in media/ | true |
85
+ | `exclusion_reason` | Why a file is not distributed | |
86
+
smartwilds-citizen-science/metadata/provenance/citizen_science_media_reconciliation_20261008.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "reconciliation": "citizen-science media populations and provenance",
3
+ "raw_folder": "thewilds_20250804_20250828/citizen_science/photos_videos",
4
+ "raw_folder_media_files": 1103,
5
+ "raw_folder_file_types": {
6
+ "jpeg": 507,
7
+ "jpg": 346,
8
+ "heic": 112,
9
+ "mov": 91,
10
+ "mp4": 47
11
+ },
12
+ "raw_folder_still_images": 965,
13
+ "raw_folder_videos": 138,
14
+ "manual_annotation_input_photos": 791,
15
+ "curated_wildlife_photos": 564,
16
+ "darwin_core_occurrences": 622,
17
+ "observation_sessions": 13,
18
+ "curated_media_in_raw_folder": 514,
19
+ "curated_media_from_google_photos_album_only": 50,
20
+ "external_album_media_date": "2025-09-08",
21
+ "external_album_media_reference_prefix": "Google Photos Takeout/The Wilds 9-8-25/",
22
+ "retired_unreproducible_counts": [
23
+ "~991 submissions",
24
+ "1,128 photographs"
25
+ ]
26
+ }
smartwilds-citizen-science/scripts/build_hf_release.py ADDED
@@ -0,0 +1,716 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Stage the SmartWilds per-modality Hugging Face dataset directories.
3
+
4
+ One directory per modality (camera traps, bioacoustics, drones, citizen
5
+ science) plus the umbrella ``smartwilds`` dataset, each laid out like
6
+ imageomics/kabr-behavior-telemetry:
7
+
8
+ <repo>/README.md dataset card (filled in separately)
9
+ <repo>/data/events.csv Darwin Core Event table
10
+ <repo>/data/occurrences.csv Darwin Core Occurrence table
11
+ <repo>/data/... modality-specific per-file tables
12
+ <repo>/metadata/ sensor settings, data dictionary, provenance
13
+ <repo>/scripts/ generator / georeferencing / this script
14
+ <repo>/media_manifest.csv one row per raw file: release path, bytes,
15
+ include flag, exclusion reason
16
+
17
+ Inputs are the frozen Darwin Core tables of the integration pass
18
+ (``SMARTWILDS_DWC_SNAPSHOT``) and the validated post-triage camera derivative
19
+ (``SMARTWILDS_CAMERA_SOURCE``). Neither is modified. The staged copies get one
20
+ release repair, audited in ``RELEASE_BUILD_AUDIT.json``: ``associatedMedia`` is
21
+ rewritten from absolute archive paths to release-relative ``media/...`` paths,
22
+ and drone frames in the purged scratch workspace fall back to their retained
23
+ original video.
24
+
25
+ Media files are NOT copied here. ``media_manifest.csv`` is the packaging input.
26
+
27
+ Locations are read from environment variables, all optional:
28
+
29
+ SMARTWILDS_ARCHIVE field archive root (default: this repository)
30
+ SMARTWILDS_DWC_SNAPSHOT frozen Darwin Core tables
31
+ SMARTWILDS_CAMERA_SOURCE validated camera derivative
32
+ SMARTWILDS_RELEASE output directory (also ``--out``)
33
+ SMARTWILDS_PUBLIC_SCRIPTS the public scripts shipped inside each dataset
34
+ SMARTWILDS_SCRATCH_PREFIX prefix of purged scratch frame paths in the tables
35
+ SMARTWILDS_DETECTIONS prefix of the external detection workspace
36
+
37
+ Usage:
38
+ python release/scripts/build_hf_release.py [--out DIR] [--only REPO ...]
39
+ """
40
+ import argparse
41
+ import hashlib
42
+ import json
43
+ import os
44
+ import re
45
+ import shutil
46
+ import subprocess
47
+ import sys
48
+ from datetime import datetime, timezone
49
+ from pathlib import Path
50
+
51
+ import pandas as pd
52
+
53
+ def env_path(name, default):
54
+ return Path(os.environ.get(name, default)).resolve()
55
+
56
+
57
+ ROOT = env_path("SMARTWILDS_ARCHIVE", Path(__file__).resolve().parents[2])
58
+ SNAP = env_path("SMARTWILDS_DWC_SNAPSHOT", ROOT / "processing_output/darwin_core_latest_20261008")
59
+ CAMERA_SOURCE = env_path("SMARTWILDS_CAMERA_SOURCE", ROOT / "archive/camera_traps_validated_20261108")
60
+ RELEASE_DIR = env_path("SMARTWILDS_RELEASE", ROOT / "release/hf_smartwilds_20261022")
61
+ PUBLIC_SCRIPTS = env_path("SMARTWILDS_PUBLIC_SCRIPTS", ROOT / "public/smartwilds/scripts")
62
+ TS_MAP = ROOT / "processing_output/detections/drone_camera_analysis/camera_time_mapping"
63
+ SENSOR_MD = ROOT / "documentation/sensor_configurations.md"
64
+ CARDS = ROOT / "release/cards"
65
+ CAMPAIGNS = ["thewilds_20250630_20250703", "thewilds_20250804_20250828", "thewilds_20250908_20250908"]
66
+ PROJECT_PREFIX = str(ROOT) + "/"
67
+ # Prefixes of absolute paths that may still appear inside the frozen tables.
68
+ SCRATCH_PREFIX = os.environ.get("SMARTWILDS_SCRATCH_PREFIX", "") # purged drone frame workspace
69
+ DETECTIONS_PREFIX = os.environ.get("SMARTWILDS_DETECTIONS", "") # external detection workspaces
70
+ if DETECTIONS_PREFIX and not DETECTIONS_PREFIX.endswith("/"):
71
+ DETECTIONS_PREFIX += "/"
72
+ # Anything under the same filesystem roots as the known prefixes counts as an
73
+ # archive path (e.g. "/fs/ess/" for "/fs/ess/<project>/TheWilds2025/").
74
+ CLUSTER_MARKERS = sorted({"/".join(m.split("/")[:3]) + "/" for m in (PROJECT_PREFIX, SCRATCH_PREFIX, DETECTIONS_PREFIX)
75
+ if m and m.startswith("/")})
76
+ STUDY_START, STUDY_END = "2025-06-30", "2025-09-08"
77
+
78
+ REPOS = {
79
+ "camera_traps": "smartwilds-camera-traps",
80
+ "bioacoustics": "smartwilds-bioacoustics",
81
+ "drones": "smartwilds-drones",
82
+ "citizen_science": "smartwilds-citizen-science",
83
+ "core": "smartwilds",
84
+ }
85
+
86
+ audit = {"inputs": {"snapshot": str(SNAP), "camera_source": str(CAMERA_SOURCE)}, "built_utc": None,
87
+ "repos": {}, "blocked": [], "errors": []}
88
+
89
+
90
+ def read(path, **kw):
91
+ return pd.read_csv(path, dtype=str, keep_default_na=False, **kw)
92
+
93
+
94
+ def readable(path):
95
+ return os.access(path, os.R_OK)
96
+
97
+
98
+ def sha256(path, buf=1 << 20):
99
+ h = hashlib.sha256()
100
+ with open(path, "rb") as f:
101
+ for chunk in iter(lambda: f.read(buf), b""):
102
+ h.update(chunk)
103
+ return h.hexdigest()
104
+
105
+
106
+ def rel_media(abs_path):
107
+ """<archive>/<campaign>/<modality>/<rest> -> media/<campaign>/<rest>."""
108
+ if not abs_path.startswith(PROJECT_PREFIX):
109
+ return None
110
+ parts = abs_path[len(PROJECT_PREFIX):].split("/")
111
+ if parts[0] not in CAMPAIGNS or len(parts) < 3:
112
+ return None
113
+ return "/".join(["media", parts[0]] + parts[2:])
114
+
115
+
116
+ BIRD_WATER = ROOT / "processing_output/detections/drone_camera_analysis/aquatic_bird_analysis/bird_water_association_per_box.csv"
117
+ PATH_REWRITES = [(str(BIRD_WATER), "analysis/bird_water_association_per_box.csv")]
118
+ if DETECTIONS_PREFIX:
119
+ PATH_REWRITES.append((DETECTIONS_PREFIX, "external_detections/"))
120
+ PATH_REWRITES.append((PROJECT_PREFIX, "TheWilds2025/"))
121
+
122
+
123
+ def has_cluster_path(col):
124
+ return any(col.str.contains(m, regex=False).any() for m in CLUSTER_MARKERS)
125
+
126
+
127
+ def count_cluster_paths(df):
128
+ return int(sum(df[c].str.contains(m, regex=False).sum() for c in df.columns for m in CLUSTER_MARKERS))
129
+
130
+
131
+ def strip_cluster_paths(df):
132
+ """Rewrite remaining absolute archive paths in free-text columns to
133
+ release-relative (shipped) or project-relative (provenance-only) forms."""
134
+ for c in df.columns:
135
+ col = df[c]
136
+ if has_cluster_path(col):
137
+ for a, b in PATH_REWRITES:
138
+ col = col.str.replace(a, b, regex=False)
139
+ df[c] = col
140
+ return df
141
+
142
+
143
+ def scrub_text_copy(src, dst, extra=()):
144
+ """Copy a text file (JSON, Markdown), rewriting archive paths and the
145
+ provenance tokens of the camera derivative."""
146
+ text = Path(src).read_text()
147
+ rewrites = list(PATH_REWRITES) + list(ARRIVAL_TOKEN_REWRITES) + [(SNAP.name, "integration_pass_20261022")] + list(extra)
148
+ for a, b in rewrites:
149
+ text = text.replace(a, b)
150
+ Path(dst).write_text(text)
151
+
152
+
153
+ # Files written by earlier builds that the current build no longer produces.
154
+ STALE = ["scripts/generate_darwin_core_latest_20261008.py", "scripts/refresh_icde_camera_arrival_metadata.py",
155
+ "analysis/arrival_traces_v2/DEPRECATED_LEGACY_PRIMITIVES.md",
156
+ "analysis/arrival_traces_v2/UNAVAILABLE_CAMERA_IMAGE_CAPTURE_ACQUISITION.md",
157
+ "analysis/bird_water_association_per_box.csv"]
158
+
159
+
160
+ def atomic_write(path, writer):
161
+ """Write through a temp file and rename, so files owned by another team
162
+ member (and read-only to us) are replaced rather than opened for writing."""
163
+ path.parent.mkdir(parents=True, exist_ok=True)
164
+ temp = path.with_name(f".{path.name}.tmp")
165
+ try:
166
+ writer(temp)
167
+ temp.replace(path)
168
+ finally:
169
+ temp.unlink(missing_ok=True)
170
+
171
+
172
+ def parse_md_tables(md_path):
173
+ """Return {"## section / ### heading": DataFrame} for every pipe table."""
174
+ tables, section, heading, rows = {}, "", None, []
175
+ for line in Path(md_path).read_text().splitlines() + [""]:
176
+ if line.startswith("## "):
177
+ section = heading = line[3:].strip()
178
+ elif line.startswith("### "):
179
+ heading = section + " / " + line[4:].strip()
180
+ if line.startswith("|"):
181
+ cells = [c.strip() for c in line.strip().strip("|").split("|")]
182
+ if not all(re.fullmatch(r":?-+:?", c) for c in cells):
183
+ rows.append(cells)
184
+ elif rows:
185
+ tables[heading] = pd.DataFrame(rows[1:], columns=rows[0])
186
+ rows = []
187
+ return tables
188
+
189
+
190
+ def media_inventory(modality, exclude=lambda rel: None):
191
+ """One row per raw file under every campaign's <modality>/ directory."""
192
+ rows = []
193
+ for camp in CAMPAIGNS:
194
+ base = ROOT / camp / modality
195
+ if not base.is_dir():
196
+ continue
197
+ for dirpath, _, files in os.walk(base):
198
+ for fn in files:
199
+ src = Path(dirpath) / fn
200
+ rel = rel_media(str(src))
201
+ reason = exclude(rel) or ""
202
+ try:
203
+ size = src.stat().st_size
204
+ except OSError:
205
+ size, reason = "", reason or "unreadable_source"
206
+ rows.append({"release_path": rel, "source_path": str(src.relative_to(ROOT)),
207
+ "bytes": size, "include": "false" if reason else "true",
208
+ "exclusion_reason": reason})
209
+ return pd.DataFrame(rows).sort_values("release_path").reset_index(drop=True)
210
+
211
+
212
+ def check_tables(name, ev, oc, manifest, extra_event_ids=()):
213
+ """Release checks the snapshot audit lacked: dates inside parent spans,
214
+ sentinel strings, and every associatedMedia resolving to an included file."""
215
+ res = {}
216
+ ids = set(ev.eventID) | set(extra_event_ids)
217
+ res["events"], res["occurrences"] = len(ev), len(oc)
218
+ res["dangling_parentEventID"] = sorted({p for p in ev.parentEventID if p and p not in ids})
219
+ res["occurrences_without_event"] = int((~oc.eventID.isin(ids)).sum())
220
+ sentinel = re.compile(r"^(nan|none|null|-1|1970-01-01)$", re.I)
221
+ res["sentinel_cells"] = {f"{t}.{c}": int(df[c].str.match(sentinel).sum())
222
+ for t, df in (("events", ev), ("occurrences", oc)) for c in df.columns
223
+ if df[c].str.match(sentinel).any()}
224
+ span = ev.set_index("eventID").eventDate.str.split("/", expand=True)
225
+ span.columns = ["a", "b"][: span.shape[1]]
226
+ if "b" not in span:
227
+ span["b"] = None
228
+ span["b"] = span.b.fillna(span.a)
229
+ single = oc[~oc.eventDate.str.contains("/")]
230
+ j = single.join(span, on="eventID")
231
+ res["occurrence_date_outside_event_span"] = int(((j.eventDate < j.a) | (j.eventDate > j.b)).sum())
232
+ res["occurrence_date_outside_study"] = int(((single.eventDate < STUDY_START) | (single.eventDate > STUDY_END)).sum())
233
+ res["occurrence_interval_dates"] = int(oc.eventDate.str.contains("/").sum())
234
+ media = oc.associatedMedia[oc.associatedMedia != ""]
235
+ res["absolute_media_paths"] = int(media.str.startswith("/").sum())
236
+ res["cells_with_cluster_paths"] = count_cluster_paths(ev) + count_cluster_paths(oc)
237
+ if manifest is not None:
238
+ included = set(manifest.release_path[manifest.include == "true"])
239
+ unresolved = media[~media.isin(included)]
240
+ res["media_paths_not_in_included_manifest"] = int(len(unresolved))
241
+ res["media_unresolved_examples"] = unresolved.drop_duplicates().head(5).tolist()
242
+ res["pass"] = (not res["dangling_parentEventID"] and res["occurrences_without_event"] == 0
243
+ and not res["sentinel_cells"] and res["occurrence_date_outside_event_span"] == 0
244
+ and res["occurrence_date_outside_study"] == 0 and res["absolute_media_paths"] == 0
245
+ and res["cells_with_cluster_paths"] == 0
246
+ and res.get("media_paths_not_in_included_manifest", 0) == 0)
247
+ return res
248
+
249
+
250
+ def write_repo(out, repo, files):
251
+ d = out / repo
252
+ for rel, obj in files.items():
253
+ p = d / rel
254
+ p.parent.mkdir(parents=True, exist_ok=True)
255
+ if isinstance(obj, pd.DataFrame):
256
+ atomic_write(p, lambda t: obj.to_csv(t, index=False))
257
+ elif isinstance(obj, (dict, list)):
258
+ atomic_write(p, lambda t: t.write_text(json.dumps(obj, indent=2) + "\n"))
259
+ elif isinstance(obj, Path) and obj.suffix in (".json", ".md"):
260
+ atomic_write(p, lambda t: scrub_text_copy(obj, t)) # provenance records: no archive paths or snapshot names
261
+ elif isinstance(obj, Path):
262
+ atomic_write(p, lambda t: shutil.copyfile(obj, t))
263
+ else:
264
+ atomic_write(p, lambda t: t.write_text(obj))
265
+ return d
266
+
267
+
268
+ TERMS = {
269
+ # Darwin Core / Humboldt terms (https://dwc.tdwg.org/terms/)
270
+ "eventID": "Darwin Core: unique Event identifier", "parentEventID": "Darwin Core: eventID of the parent Event",
271
+ "eventType": "Darwin Core: Project, SensorDeployment, AudioRecording, MediaEvent, or ObservationSession",
272
+ "eventDate": "Darwin Core: ISO 8601 date or date interval (start/end)",
273
+ "eventTime": "Darwin Core: local time (or interval); blank when not recoverable",
274
+ "samplingProtocol": "Darwin Core: sensor, schedule, and processing chain", "sampleSizeValue": "Darwin Core: sample size",
275
+ "sampleSizeUnit": "Darwin Core: unit of sampleSizeValue", "fieldNotes": "Darwin Core: provenance and field notes",
276
+ "occurrenceID": "Darwin Core: unique Occurrence identifier", "catalogNumber": "Darwin Core: source record identifier",
277
+ "scientificName": "Darwin Core: top-1 model or annotator taxon", "taxonRank": "Darwin Core: rank of scientificName",
278
+ "vernacularName": "Darwin Core: common name", "kingdom": "Darwin Core: rank", "phylum": "Darwin Core: rank",
279
+ "class": "Darwin Core: rank", "order": "Darwin Core: rank", "family": "Darwin Core: rank", "genus": "Darwin Core: rank",
280
+ "specificEpithet": "Darwin Core: rank", "occurrenceStatus": "Darwin Core: present",
281
+ "individualCount": "Darwin Core: 1 per visual crop; number of BirdNET detections for acoustic rows",
282
+ "basisOfRecord": "Darwin Core: MachineObservation or HumanObservation",
283
+ "recordedBy": "Darwin Core: device or team", "identifiedBy": "Darwin Core: model (and version) or annotator",
284
+ "identificationVerificationStatus": "Darwin Core: verification status; the vocabulary differs by table (SUPPLEMENTAL.md S9.3)",
285
+ "identificationRemarks": "Darwin Core: rank, top-1 score, bbox xywh (px), detector label",
286
+ "decimalLatitude": "Darwin Core: WGS84; see dataGeneralizations for what the point represents",
287
+ "decimalLongitude": "Darwin Core: WGS84", "coordinateUncertaintyInMeters": "Darwin Core: meters",
288
+ "geodeticDatum": "Darwin Core: WGS84", "locality": "Darwin Core: named place",
289
+ "locationID": "Darwin Core: site (TWxx) for fixed sensors; flight ID for drones",
290
+ "occurrenceRemarks": "Darwin Core: projection status, timestamp method, repair notes (key=value; ...)",
291
+ "associatedMedia": "Darwin Core: release-relative path to the source media file",
292
+ "associatedReferences": "Darwin Core: release-relative supporting analysis file",
293
+ "dataGeneralizations": "Darwin Core: what the coordinate represents", "informationWithheld": "Darwin Core",
294
+ "datasetID": "Darwin Core: modality dataset identifier", "datasetName": "Darwin Core",
295
+ "release_path": "Path of the file inside this dataset", "source_path": "Path in the project archive",
296
+ "bytes": "File size", "include": "true if the file is distributed in media/",
297
+ "exclusion_reason": "Why a file is not distributed",
298
+ "has_human_detection": "true if any Occurrence on this image is labelled Homo sapiens",
299
+ "occurrence_count": "Occurrences derived from this image",
300
+ "video_path": "Release-relative path of the raw video", "detection_id": "<video>_<frame>_<k> from the SAM3 run",
301
+ "frame_index": "0-based native frame index in the video (SAM3 sampled every 15th frame)",
302
+ "bbox_x": "Box left, pixels, in the native frame", "bbox_y": "Box top, pixels", "bbox_w": "Box width, pixels",
303
+ "bbox_h": "Box height, pixels", "top1_score": "BioCLIP Tree-of-Life top-1 score",
304
+ "georef_status": "Ground-projection status (ok | invalid_altitude | missing_drone_gps | horizon_ray | out_of_range)",
305
+ }
306
+
307
+
308
+ def write_dictionary(d, repo):
309
+ out = [f"# {repo} data dictionary", "",
310
+ "Generated by `scripts/build_hf_release.py`. Darwin Core term definitions: "
311
+ "<https://dwc.tdwg.org/terms/>. Columns not listed in a Darwin Core namespace are "
312
+ "SmartWilds-specific.", ""]
313
+ for p in sorted(d.rglob("*.csv")):
314
+ rel = p.relative_to(d)
315
+ df = pd.read_csv(p, dtype=str, keep_default_na=False, nrows=1000)
316
+ n = sum(1 for _ in open(p)) - 1
317
+ out += [f"## `{rel}`", "", f"{n:,} rows.", "", "| Column | Description | Example |", "|---|---|---|"]
318
+ for c in df.columns:
319
+ ex = next((v for v in df[c] if v), "")
320
+ ex = (ex[:60] + "…") if len(ex) > 60 else ex
321
+ out.append(f"| `{c}` | {TERMS.get(c, '')} | {ex.replace('|', '/')} |")
322
+ out.append("")
323
+ atomic_write(d / "metadata/DATA_DICTIONARY.md", lambda t: t.write_text("\n".join(out) + "\n"))
324
+
325
+
326
+ def write_checksums(d):
327
+ lines = []
328
+ for p in sorted(d.rglob("*")):
329
+ if p.is_file() and p.name not in ("CHECKSUMS.sha256", "README.md") and "images" not in p.parts:
330
+ lines.append(f"{sha256(p)} {p.relative_to(d)}")
331
+ atomic_write(d / "CHECKSUMS.sha256", lambda t: t.write_text("\n".join(lines) + "\n"))
332
+
333
+
334
+ # --------------------------------------------------------------------------
335
+ # Camera traps
336
+ # --------------------------------------------------------------------------
337
+ def scrub_csv_copy(src, dst):
338
+ """Copy a CSV, normalising provenance tokens of the camera derivative."""
339
+ text = Path(src).read_text()
340
+ for a, b in ARRIVAL_TOKEN_REWRITES:
341
+ text = text.replace(a, b)
342
+ Path(dst).write_text(text)
343
+
344
+
345
+ ARRIVAL_TOKEN_REWRITES = [
346
+ ("_arrival_icde_camera_", "_arrival_camera_"),
347
+ ("one retained ICDE SAM3-geometry camera Occurrence", "one retained original-SAM3-geometry camera Occurrence"),
348
+ ("icde_sam3_geometry_only_derivative_20261108", "camera_release_20261108"),
349
+ ]
350
+
351
+
352
+ def camera_deployments(tables, images):
353
+ """Per-deployment table: sensor configuration joined to the geolocation
354
+ config and the number of processed images on disk."""
355
+ c1 = tables["Camera Trap Configurations / Campaign 1: June 30 – July 3, 2025"].assign(campaign="thewilds_20250630_20250703")
356
+ c2 = tables["Camera Trap Configurations / Campaign 2: August 4 – August 28, 2025"].assign(campaign="thewilds_20250804_20250828")
357
+ dep = pd.concat([t for t in (c1, c2) if "Camera" in t.columns], ignore_index=True)
358
+ dep.insert(0, "deploymentID", dep.Site.str.extract(r"^(TW\d+)")[0] + "-" + dep.Camera)
359
+ geo = read(SNAP / "scripts/georeferencing/camera_geolocation_config.csv")
360
+ geo["camera_id"] = geo.camera_id.str.replace("_", "-") # raw dir is TW09_CT02
361
+ dep = dep.merge(geo[["collection", "camera_id", "path_contains", "camera_lat", "camera_lon", "hfov_deg", "bearing_deg",
362
+ "image_rotation_deg", "target_height_m", "config_source", "notes"]].rename(
363
+ columns={"notes": "geolocation_notes"}),
364
+ left_on=["campaign", "deploymentID"], right_on=["collection", "camera_id"], how="left"
365
+ ).drop(columns=["collection", "camera_id"]).fillna({"path_contains": ""})
366
+ dep["images_on_disk"] = dep.apply(lambda r: int(((images.dataset == r.campaign) &
367
+ (images.camera_id.str.replace("_", "-") == r.deploymentID)
368
+ & (images.release_path.str.contains(r.path_contains, regex=False)
369
+ if r.path_contains else True)).sum()), axis=1)
370
+ # A path-specific override (TW09-CT02 SD23, after the Aug 18 move) takes its
371
+ # images away from the deployment's default row.
372
+ for (camp, did), g in dep.groupby(["campaign", "deploymentID"]):
373
+ if len(g) > 1:
374
+ default = g.index[g.path_contains == ""]
375
+ dep.loc[default, "images_on_disk"] -= g.loc[g.path_contains != "", "images_on_disk"].sum()
376
+ dep["released"] = (dep.deploymentID != "TW07-CT05").map({True: "true", False: "false"})
377
+ return dep
378
+
379
+
380
+ def build_camera(out, tables):
381
+ """Camera tables come from the validated post-triage derivative: the final
382
+ Event, Occurrence, image-inventory, media-manifest, taxonomy,
383
+ annotation-provenance, and arrival-analysis products."""
384
+ src = CAMERA_SOURCE / "smartwilds-camera-traps"
385
+ ev = read(src / "data/events.csv")
386
+ oc = read(src / "data/occurrences.csv")
387
+ images = read(src / "data/images.csv")
388
+ if len(ev) != 19785 or len(oc) != 72775 or len(images) != 235778:
389
+ raise RuntimeError("validated camera source count mismatch")
390
+ if set(oc.geometryProvenance) != {"SAM3"}:
391
+ raise RuntimeError("validated camera source contains non-SAM3 geometry")
392
+ if "behavior" in oc.columns or oc.astype(str).apply(
393
+ lambda col: col.str.contains(r"water|shore|aquatic", case=False, regex=True).any()).any():
394
+ raise RuntimeError("validated camera source retains water-association data")
395
+ if oc.associatedMedia.str.startswith("/").any():
396
+ raise RuntimeError("validated camera source contains absolute media paths")
397
+ scrubbed = out / REPOS["camera_traps"]
398
+ for name in ("camera_image_acquisition_arrivals.csv", "camera_operational_occurrence_arrivals.csv"):
399
+ atomic_write(scrubbed / "analysis" / name, lambda t, n=name: scrub_csv_copy(src / "analysis" / n, t))
400
+ atomic_write(scrubbed / "metadata/provenance/ANNOTATION_PROVENANCE.md",
401
+ lambda t: scrub_text_copy(src / "metadata/provenance/ANNOTATION_PROVENANCE.md", t,
402
+ extra=[("# ICDE camera-trap annotation provenance", "# Camera-trap annotation provenance")]))
403
+ files = {
404
+ "data/events.csv": src / "data/events.csv",
405
+ "data/occurrences.csv": src / "data/occurrences.csv",
406
+ "data/images.csv": src / "data/images.csv",
407
+ "media_manifest.csv": src / "media_manifest.csv",
408
+ "analysis/camera_arrival_statistics.json": src / "analysis/camera_arrival_statistics.json",
409
+ "metadata/DATA_DICTIONARY.md": src / "metadata/DATA_DICTIONARY.md",
410
+ "metadata/taxonomy_mapping.csv": src / "metadata/taxonomy_mapping.csv",
411
+ "metadata/deployments.csv": camera_deployments(tables, images),
412
+ "metadata/camera_models.csv": tables["Camera Trap Configurations / Camera Models"],
413
+ "metadata/camera_geolocation_config.csv": SNAP / "scripts/georeferencing/camera_geolocation_config.csv",
414
+ "metadata/timestamp_summary_by_camera.csv": TS_MAP / "camera_timestamp_summary_by_camera.csv",
415
+ "metadata/timestamp_summary_by_date.csv": TS_MAP / "camera_timestamp_summary_by_date.csv",
416
+ "metadata/provenance/tw07_ct05_sensitive_media_disposition_20261008.json":
417
+ SNAP / "tw07_ct05_sensitive_media_disposition_20261008.json",
418
+ "scripts/geolocate_camera_trap_treeoflife_predictions.py":
419
+ PUBLIC_SCRIPTS / "georeferencing/geolocate_camera_trap_treeoflife_predictions.py",
420
+ "scripts/generate_darwin_core.py": PUBLIC_SCRIPTS / "darwin_core/generate_darwin_core.py",
421
+ }
422
+ return files, {
423
+ "events": len(ev), "occurrences": len(oc), "images_total": len(images),
424
+ "all_geometry_provenance_is_SAM3": True,
425
+ "absolute_media_paths": 0,
426
+ "water_association_attributes_absent": True,
427
+ "pass": True,
428
+ }
429
+
430
+
431
+ # --------------------------------------------------------------------------
432
+ # Bioacoustics
433
+ # --------------------------------------------------------------------------
434
+ def build_bioacoustics(out, tables):
435
+ ev = read(SNAP / "bioacoustics_complete/darwin_core_events_bioacoustics_complete.csv")
436
+ oc = read(SNAP / "bioacoustics_complete/darwin_core_occurrences_bioacoustics_complete.csv")
437
+ rec = read(SNAP / "bioacoustics_complete/RAW_WAV_RECONCILIATION_20261008.csv")
438
+ rec.insert(0, "release_path", rec.raw_wav_path.map(lambda p: rel_media(PROJECT_PREFIX + p)))
439
+ included = rec.release_disposition.str.startswith("included")
440
+ path_by_event = rec[included].set_index("darwin_core_eventID").release_path
441
+ # associatedMedia is a bare WAV filename; resolve it through the Event.
442
+ oc["associatedMedia"] = oc.eventID.map(path_by_event).fillna(oc.associatedMedia)
443
+ ev["associatedMedia"] = ev.eventID.map(path_by_event).fillna("")
444
+
445
+ disposition = dict(zip(rec.release_path, rec.release_disposition))
446
+ def excl(rel):
447
+ d = disposition.get(rel)
448
+ return None if d is None or d.startswith("included") else d.split(";")[0] + ":" + rec.loc[
449
+ rec.release_path == rel, "reconciliation_status"].iloc[0]
450
+ manifest = media_inventory("bioacoustics", excl)
451
+
452
+ t = {k: v for k, v in tables.items() if k.startswith("Bioacoustic Recorder Configurations / Campaign")}
453
+ dep = pd.concat([v.assign(campaign=("thewilds_20250630_20250703" if "June" in k else "thewilds_20250804_20250828"))
454
+ for k, v in t.items()], ignore_index=True)
455
+ dep.insert(0, "deploymentID", dep.Site.str.extract(r"^(TW\d+)")[0] + "-" + dep.Recorder)
456
+ dep.insert(1, "model", "Wildlife Acoustics Song Meter Micro 2")
457
+ counts = rec.groupby(["source_campaign_directory", "deploymentID"]).release_disposition.agg(
458
+ wav_paths="size", wav_released=lambda s: s.str.startswith("included").sum()).reset_index()
459
+ counts["campaign"] = counts.source_campaign_directory.map(
460
+ {"campaign1": "thewilds_20250630_20250703", "campaign2": "thewilds_20250804_20250828"})
461
+ dep = dep.merge(counts.drop(columns="source_campaign_directory"), on=["campaign", "deploymentID"], how="left")
462
+ birdnet = pd.DataFrame([{"software": "BirdNET Analyzer", "version": "2.4", "segment_length_s": 3.0,
463
+ "sample_rate_hz": 48000, "bandpass_hz": "0-15000",
464
+ "occurrence_unit": "one row per recording x species; individualCount = detections"}])
465
+ ev, oc = strip_cluster_paths(ev), strip_cluster_paths(oc)
466
+ res = check_tables("bioacoustics", ev, oc, manifest, extra_event_ids={"TheWilds_2025"})
467
+ files = {
468
+ "data/events.csv": ev, "data/occurrences.csv": oc, "data/recordings.csv": rec,
469
+ "media_manifest.csv": manifest,
470
+ "metadata/deployments.csv": dep, "metadata/birdnet_settings.csv": birdnet,
471
+ "metadata/provenance/RAW_WAV_RECONCILIATION_20261008.md":
472
+ SNAP / "bioacoustics_complete/RAW_WAV_RECONCILIATION_20261008.md",
473
+ "metadata/provenance/bioacoustic_event_repair_20261008.json": SNAP / "bioacoustic_event_repair_20261008.json",
474
+ "scripts/reconcile_bioacoustic_raw_wavs.py": PUBLIC_SCRIPTS / "darwin_core/reconcile_bioacoustic_raw_wavs.py",
475
+ }
476
+ return files, res
477
+
478
+
479
+ # --------------------------------------------------------------------------
480
+ # Drones
481
+ # --------------------------------------------------------------------------
482
+ def build_drones(out, tables):
483
+ ev = read(SNAP / "drones/darwin_core_events_drones.csv")
484
+ oc = read(SNAP / "drones/darwin_core_occurrences_drones.csv")
485
+ manifest = media_inventory("drones")
486
+ videos = manifest[manifest.release_path.str.lower().str.endswith((".mp4", ".mov"))]
487
+ by_stem = {}
488
+ for p in videos.release_path:
489
+ flight_dir = p.split("/")[2]
490
+ by_stem.setdefault((flight_dir, Path(p).stem), []).append(p)
491
+
492
+ # Defect 21: the manual starling supplement was appended twice. Drop exact
493
+ # duplicate rows so every occurrenceID is unique.
494
+ before = len(oc)
495
+ oc = oc.drop_duplicates().reset_index(drop=True)
496
+ rep = {"exact_duplicate_rows_dropped": before - len(oc),
497
+ "duplicate_occurrenceIDs_remaining": int(oc.occurrenceID.duplicated().sum())}
498
+ # Frame images (purged scratch frames, or frames exported to an external
499
+ # annotation workspace) are not shipped; fall back to the retained video.
500
+ frame_re = re.compile(r"/drones/([^/]+)/.*?/([^/]+)_frames/[^/]+$")
501
+ def video_for(frame):
502
+ m = frame_re.search(frame)
503
+ if not m:
504
+ return None
505
+ hits = by_stem.get((m.group(1), m.group(2)), [])
506
+ return hits[0] if len(hits) == 1 else None
507
+ frames = oc.associatedMedia.str.startswith("/") & oc.associatedMedia.map(lambda p: rel_media(p) is None)
508
+ fallback = oc.loc[frames, "associatedMedia"].map(video_for)
509
+ rep.update({"frame_rows": int(frames.sum()),
510
+ "frame_rows_unique": int(oc.loc[frames, "associatedMedia"].nunique()),
511
+ "frame_rows_unmapped": int(fallback.isna().sum())})
512
+ ok = fallback.dropna().index
513
+ oc.loc[ok, "associatedMedia"] = fallback[ok]
514
+ oc.loc[ok, "occurrenceRemarks"] = oc.loc[ok, "occurrenceRemarks"] + \
515
+ "; associated_media_source=original_video_fallback_frame_not_distributed"
516
+ oc["associatedMedia"] = oc.associatedMedia.map(lambda p: rel_media(p) or p)
517
+ # Per-detection table for frame extraction from the released raw videos.
518
+ # detection_id = <video>_<frame:06d>_<k>; frame is the native frame index
519
+ # (frames were sampled every 15th frame for SAM3).
520
+ det = pd.DataFrame({
521
+ "occurrenceID": oc.occurrenceID, "eventID": oc.eventID, "video_path": oc.associatedMedia,
522
+ "detection_id": oc.occurrenceRemarks.str.extract(r"detection_id=([^;]+)")[0]})
523
+ det["frame_index"] = det.detection_id.str.extract(r"_(\d{6})_\d+$")[0].astype("Int64")
524
+ bbox = oc.identificationRemarks.str.extract(r"bbox xywh\(px\): \[([^\]]+)\]")[0].str.split(",", expand=True)
525
+ for i, c in enumerate(["bbox_x", "bbox_y", "bbox_w", "bbox_h"]):
526
+ det[c] = pd.to_numeric(bbox[i]).round(2)
527
+ det["scientificName"], det["vernacularName"] = oc.scientificName, oc.vernacularName
528
+ det["top1_score"] = pd.to_numeric(oc.identificationRemarks.str.extract(r"top1 score: ([0-9.eE-]+)")[0])
529
+ det["georef_status"] = oc.occurrenceRemarks.str.extract(r"drone_georef_status=([^;]+)")[0]
530
+ det = det[det.detection_id.notna()] # the 644 curated review records carry no frame id
531
+ rep["detections_with_frame_index"] = int(det.frame_index.notna().sum())
532
+ # Remaining frame PNGs that exist on disk are derived products, not raw media.
533
+ flights = ev[ev.eventType == "SensorDeployment"][["eventID", "eventDate", "locationID", "fieldNotes"]].copy()
534
+ flights["platform"] = flights.locationID.map(
535
+ lambda s: "DJI Air 2" if "djiair" in s else "DJI (unspecified airframe)" if "DJI" in s else "Parrot Anafi 4K")
536
+ media_events = ev[ev.eventType == "MediaEvent"]
537
+ flights["videos"] = flights.eventID.map(media_events.parentEventID.value_counts()).fillna(0).astype(int)
538
+ flights["occurrences"] = flights.eventID.map(
539
+ oc.eventID.map(media_events.set_index("eventID").parentEventID).value_counts()).fillna(0).astype(int)
540
+ ev, oc = strip_cluster_paths(ev), strip_cluster_paths(oc)
541
+ res = check_tables("drones", ev, oc, manifest, extra_event_ids={"TheWilds_2025"})
542
+ res.update(rep)
543
+ res["pass"] = res["pass"] and rep["duplicate_occurrenceIDs_remaining"] == 0
544
+ files = {
545
+ "data/events.csv": ev, "data/occurrences.csv": oc, "data/detections.csv": det,
546
+ "media_manifest.csv": manifest,
547
+ "analysis/bird_water_association_per_box.csv": strip_cluster_paths(read(BIRD_WATER)),
548
+ "metadata/flights.csv": flights, "metadata/platforms.csv": tables["Drone Configurations"],
549
+ "metadata/drone_projection_config.csv": SNAP / "scripts/georeferencing/drone_projection_config.csv",
550
+ "metadata/provenance/invalid_drone_date_repair_20261008.json": SNAP / "invalid_drone_date_repair_20261008.json",
551
+ "metadata/provenance/invalid_drone_coordinate_repair_20261009.json":
552
+ SNAP / "invalid_drone_coordinate_repair_20261009.json",
553
+ "metadata/provenance/drone_missing_media_repair_20261010.json": SNAP / "drone_missing_media_repair_20261010.json",
554
+ "metadata/provenance/excluded_drone_media_event_repair_20261008.json":
555
+ SNAP / "excluded_drone_media_event_repair_20261008.json",
556
+ "scripts/geolocate_drone_treeoflife_predictions.py":
557
+ PUBLIC_SCRIPTS / "georeferencing/geolocate_drone_treeoflife_predictions.py",
558
+ "scripts/generate_darwin_core.py": PUBLIC_SCRIPTS / "darwin_core/generate_darwin_core.py",
559
+ }
560
+ return files, res
561
+
562
+
563
+ # --------------------------------------------------------------------------
564
+ # Citizen science and umbrella (need files that are currently owner-only)
565
+ # --------------------------------------------------------------------------
566
+ def build_citizen_science(out, tables):
567
+ evp = SNAP / "citizen_science/darwin_core_events_citizen_science.csv"
568
+ ocp = SNAP / "citizen_science/darwin_core_occurrences_citizen_science.csv"
569
+ if not (readable(evp) and readable(ocp)):
570
+ raise PermissionError(f"unreadable: {evp.name}, {ocp.name} (owner-only permissions)")
571
+ ev, oc = read(evp), read(ocp)
572
+ oc["associatedMedia"] = oc.associatedMedia.map(lambda p: rel_media(p) or p)
573
+ # The Sep 8 Google Photos album export is not in the project archive, so its
574
+ # 50 photos cannot be distributed: keep the Occurrences, clear the link, say why.
575
+ album = oc.associatedMedia.str.startswith("Google Photos Takeout/")
576
+ oc.loc[album, "occurrenceRemarks"] = oc.loc[album, "occurrenceRemarks"] + \
577
+ "; media_not_distributed=Google Photos album export not retained in project archive (was " + \
578
+ oc.loc[album, "associatedMedia"] + ")"
579
+ oc.loc[album, "associatedMedia"] = ""
580
+ manifest = media_inventory("citizen_science")
581
+ ev, oc = strip_cluster_paths(ev), strip_cluster_paths(oc)
582
+ res = check_tables("citizen_science", ev, oc, manifest, extra_event_ids={"TheWilds_2025"})
583
+ res["occurrences_media_not_distributed"] = int(album.sum())
584
+ return {"data/events.csv": ev, "data/occurrences.csv": oc, "media_manifest.csv": manifest,
585
+ "metadata/provenance/citizen_science_media_reconciliation_20261008.json":
586
+ SNAP / "citizen_science_media_reconciliation_20261008.json"}, res
587
+
588
+
589
+ def build_core(out, tables):
590
+ """Study-level dataset: validated merged tables, text records, sensor
591
+ configurations, supplement, defect inventory, and the arrival traces."""
592
+ src = CAMERA_SOURCE / "smartwilds/data"
593
+ ev = read(src / "events_all_modalities.csv")
594
+ oc = read(src / "occurrences_all_modalities.csv")
595
+ if len(ev) != 22242 or len(oc) != 401602 or oc.occurrenceID.duplicated().any():
596
+ raise RuntimeError("validated merged-table integrity check failed")
597
+ # The merged table carries the drone and citizen-science rows with their
598
+ # archive media paths. Take the release-relative values from the staged
599
+ # modality tables (same occurrenceID), then rewrite anything left over.
600
+ rep = {}
601
+ for repo in ("smartwilds-drones", "smartwilds-citizen-science"):
602
+ p = out / repo / "data/occurrences.csv"
603
+ if not p.exists():
604
+ rep[f"{repo}_not_staged"] = True
605
+ continue
606
+ m = read(p).drop_duplicates("occurrenceID").set_index("occurrenceID")
607
+ idx = oc.occurrenceID.isin(m.index)
608
+ for c in ("associatedMedia", "occurrenceRemarks", "associatedReferences"):
609
+ if c in m.columns and c in oc.columns:
610
+ oc.loc[idx, c] = oc.loc[idx, "occurrenceID"].map(m[c]).values
611
+ rep[f"{repo}_rows_aligned"] = int(idx.sum())
612
+ oc["associatedMedia"] = oc.associatedMedia.map(lambda p: rel_media(p) or p)
613
+ ev, oc = strip_cluster_paths(ev), strip_cluster_paths(oc)
614
+ res = {"events": len(ev), "occurrences": len(oc),
615
+ "absolute_media_paths": int(oc.associatedMedia.str.startswith("/").sum()),
616
+ "cells_with_cluster_paths": count_cluster_paths(ev) + count_cluster_paths(oc)}
617
+ res.update(rep)
618
+ res["pass"] = res["absolute_media_paths"] == 0 and res["cells_with_cluster_paths"] == 0
619
+ files = {
620
+ "data/events_all_modalities.csv": ev,
621
+ "data/occurrences_all_modalities.csv": oc,
622
+ "data/text_events.csv": SNAP / "text_data/darwin_core_events_text.csv",
623
+ "data/text_occurrences.csv": SNAP / "text_data/darwin_core_occurrences_text.csv",
624
+ "data/site_selection_rationale.csv": SNAP / "text_data/site_selection_rationale.csv",
625
+ "metadata/sensor_configurations.md": SENSOR_MD,
626
+ "SUPPLEMENTAL.md": CARDS / "SUPPLEMENTAL.md",
627
+ "metadata/DEFECT_INVENTORY.md": CARDS / "DEFECT_INVENTORY.md",
628
+ "metadata/defect_inventory.csv": CARDS / "defect_inventory.csv",
629
+ "scripts/refresh_camera_arrival_metadata.py": ROOT / "release/scripts/refresh_camera_arrival_metadata.py",
630
+ "scripts/generate_arrival_traces_v2.py": PUBLIC_SCRIPTS / "arrival_traces/generate_arrival_traces_v2.py",
631
+ }
632
+ # Non-camera arrival traces come from the integration pass; the camera
633
+ # streams are refreshed afterwards from the validated derivative. The two
634
+ # notes about the first-generation camera trace no longer apply.
635
+ atomic_write(out / REPOS["core"] / "metadata/provenance/DARWIN_CORE_AUDIT_20261010_FINAL.json",
636
+ lambda t: scrub_text_copy(SNAP / "DARWIN_CORE_AUDIT_20261010_FINAL.json", t))
637
+ skip = {"DEPRECATED_LEGACY_PRIMITIVES.md", "UNAVAILABLE_CAMERA_IMAGE_CAPTURE_ACQUISITION.md"}
638
+ drone_media = None
639
+ for p in sorted((SNAP / "analysis/arrival_traces_v2").iterdir()):
640
+ if p.name in skip or p.name.startswith("camera_"):
641
+ continue
642
+ if p.suffix == ".csv":
643
+ tr = read(p)
644
+ if tr.associatedMedia.str.startswith("/").any():
645
+ if drone_media is None:
646
+ drone_media = oc.drop_duplicates("occurrenceID").set_index("occurrenceID").associatedMedia
647
+ by_source = tr.sourceID.map(drone_media)
648
+ tr["associatedMedia"] = by_source.where(by_source.notna(), tr.associatedMedia.map(lambda x: rel_media(x) or x))
649
+ tr = strip_cluster_paths(tr)
650
+ if "sourceSnapshot" in tr.columns:
651
+ tr["sourceSnapshot"] = tr.sourceSnapshot.str.replace(SNAP.name, "integration_pass_20261022", regex=False)
652
+ res[f"arrival_trace_cluster_paths:{p.name}"] = count_cluster_paths(tr)
653
+ res["pass"] = res["pass"] and res[f"arrival_trace_cluster_paths:{p.name}"] == 0
654
+ files[f"analysis/arrival_traces_v2/{p.name}"] = tr
655
+ else:
656
+ files[f"analysis/arrival_traces_v2/{p.name}"] = p
657
+ return files, res
658
+
659
+
660
+ def main():
661
+ ap = argparse.ArgumentParser()
662
+ ap.add_argument("--out", default=str(RELEASE_DIR))
663
+ ap.add_argument("--only", nargs="*", choices=list(REPOS))
664
+ args = ap.parse_args()
665
+ out = Path(args.out)
666
+ out.mkdir(parents=True, exist_ok=True)
667
+ tables = parse_md_tables(SENSOR_MD)
668
+ audit["built_utc"] = datetime.now(timezone.utc).isoformat(timespec="seconds")
669
+ builders = {"camera_traps": build_camera, "bioacoustics": build_bioacoustics, "drones": build_drones,
670
+ "citizen_science": build_citizen_science, "core": build_core}
671
+ for key, fn in builders.items():
672
+ if args.only and key not in args.only:
673
+ continue
674
+ repo = REPOS[key]
675
+ print(f"[{repo}] building ...", flush=True)
676
+ for rel in STALE:
677
+ (out / repo / rel).unlink(missing_ok=True)
678
+ card = CARDS / f"{repo}.md"
679
+ if card.exists():
680
+ atomic_write(out / repo / "README.md", lambda t: shutil.copyfile(card, t))
681
+ imgs = CARDS / "images" / repo
682
+ if imgs.is_dir():
683
+ # Release-card images are static assets. Avoid rewriting existing
684
+ # owner-managed media assets during an in-place table rebuild.
685
+ target_images = out / repo / "images"
686
+ if not target_images.exists():
687
+ shutil.copytree(imgs, target_images)
688
+ try:
689
+ files, res = fn(out, tables)
690
+ except PermissionError as e:
691
+ audit["blocked"].append({"repo": repo, "reason": str(e)})
692
+ print(f"[{repo}] BLOCKED: {e}", flush=True)
693
+ continue
694
+ files[f"scripts/{Path(__file__).name}"] = Path(__file__)
695
+ d = write_repo(out, repo, files)
696
+ if key != "camera_traps":
697
+ write_dictionary(d, repo)
698
+ write_checksums(d)
699
+ audit["repos"][repo] = res
700
+ print(f"[{repo}] {json.dumps({k: v for k, v in res.items() if not isinstance(v, (list, dict))})}",
701
+ flush=True)
702
+ # The camera arrival streams in the study-level dataset come from the
703
+ # validated camera derivative; refresh them once both parts are staged.
704
+ requested = set(args.only or REPOS)
705
+ if {"camera_traps", "core"}.issubset(requested):
706
+ subprocess.run([sys.executable, str(ROOT / "release/scripts/refresh_camera_arrival_metadata.py"),
707
+ "--release", str(out), "--snapshot", str(SNAP), "--source", str(CAMERA_SOURCE)], check=True)
708
+ write_dictionary(out / REPOS["core"], REPOS["core"])
709
+ write_checksums(out / REPOS["core"])
710
+ (out / "build_hf_release.py").unlink(missing_ok=True) # stray copy from an earlier build
711
+ (out / "RELEASE_BUILD_AUDIT.json").write_text(json.dumps(audit, indent=2, default=str) + "\n")
712
+ return 0 if not audit["errors"] else 1
713
+
714
+
715
+ if __name__ == "__main__":
716
+ sys.exit(main())
smartwilds-drones/CHECKSUMS.sha256 ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 690d9c85b2c2ff71df456ef4d27edd0b741aa168fa9e5cdb74cfb2a31cf389dd analysis/bird_water_association_per_box.csv
2
+ f54c1f55c771dab92cb04eca38456c53263df4f88389a0cf1d141ed89a95bfdb data/detections.csv
3
+ b080e3fa5a46d150717a9e28a355eb8654c6878d5451c6f7b0f19fa15a574085 data/events.csv
4
+ 0ffefa18d45de1457f4c27ad6da6a21f483cbf8c3e64e59cda3d620e1571c6bb data/occurrences.csv
5
+ 08ef9e0b5c73f1ddeb1355b20405970f9d3e083063c6207b2adcdc0680e9ea3b media_manifest.csv
6
+ 2ed12997a39b04bfb5615cb4c5cc46a1256bd3f862e80d1807c97c45fbbf57f3 metadata/DATA_DICTIONARY.md
7
+ 700405c4097f216c8a92a9052d82a6f1eef4a77ad70f5cb32628eb8ab9804368 metadata/drone_projection_config.csv
8
+ 184070fe638c4f794529ec11be9f8480f1b5b0e667ee4f59d7f6c727407cf2ae metadata/flights.csv
9
+ db48200f39c4bb82d5f88449705e46086f3c8ef2034e43e1483a0912d1c32518 metadata/platforms.csv
10
+ 38900fec3c4963585e3fef855e2e22097594a3fd575815aa34fb9ee023fc962e metadata/provenance/drone_missing_media_repair_20261010.json
11
+ 28094bef545cef01ed1d281746a77ce7f3559527188931ac5788ad1cb50a6d4b metadata/provenance/drone_time_recovery_20250811.json
12
+ 12b3b4efecc1fdcffd2f6a077277fb5b534953298ea54bf7a0287a0f2c10ed0a metadata/provenance/excluded_drone_media_event_repair_20261008.json
13
+ 6d8eaa386f91ecbf45583e3985ba14c5c2eddf1132201bb72a2afeaf134b6124 metadata/provenance/invalid_drone_coordinate_repair_20261009.json
14
+ 1e2b46676692871b7c30cf3fca6607c823709f48964b60246a84fea12d796de0 metadata/provenance/invalid_drone_date_repair_20261008.json
15
+ f2efc6692a5d7add094933b71b4f64a15efa2fd1c2578bb66620ff161747934a scripts/build_hf_release.py
16
+ 6e90073a9d7bcaf1c6d37fbede20d7444d07792000888c8d729e5787986d9545 scripts/generate_darwin_core.py
17
+ 9f08e2e4d73c737357b5f3b513baa52be31cee49c394058cf05448b1401f6513 scripts/geolocate_drone_treeoflife_predictions.py
smartwilds-drones/README.md ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ language:
4
+ - en
5
+ pretty_name: SmartWilds Drones (The Wilds 2025)
6
+ task_categories:
7
+ - object-detection
8
+ - image-classification
9
+ tags:
10
+ - biology
11
+ - ecology
12
+ - biodiversity
13
+ - drone
14
+ - uav
15
+ - aerial-imagery
16
+ - darwin-core
17
+ - humboldt-eco
18
+ - fair2
19
+ - smartwilds
20
+ - the-wilds
21
+ - ohio
22
+ size_categories:
23
+ - 100K<n<1M
24
+ description: >-
25
+ 39 drone videos (95 GB) from 15 flight sessions on 6 dates at The Wilds
26
+ (Ohio, USA), July-September 2025, from three platforms (Parrot Anafi 4K, DJI,
27
+ DJI Air 2), with flight telemetry and 318,215 Darwin Core Occurrences
28
+ (frame-level SAM3 + BioCLIP Tree-of-Life detection crops with projected
29
+ ground positions).
30
+
31
+ fair2_compliance:
32
+ findable:
33
+ doi: "" # pending the raw data release
34
+ metadata_registry: ["DataCite", "GBIF"]
35
+ accessible:
36
+ open_access: true
37
+ authentication_required: false
38
+ interoperable:
39
+ standards: ["Darwin Core", "Humboldt Eco", "FAIR2"]
40
+ reusable:
41
+ license_clear: true
42
+ provenance_documented: true
43
+ ai_ready:
44
+ machine_readable: true
45
+ structured_annotations: true
46
+
47
+ darwin_core:
48
+ event_coverage:
49
+ start_date: "2025-07-01"
50
+ end_date: "2025-09-08"
51
+ decimal_latitude: 39.83
52
+ decimal_longitude: -81.74
53
+ coordinate_uncertainty_meters: 5000
54
+ locality: "The Wilds, Cumberland, Muskingum County, Ohio, USA"
55
+ occurrence_info:
56
+ basis_of_record: "MachineObservation"
57
+ sampling_protocol: "Manual drone video survey of pastures and lake margin; SAM3 detection on sampled frames, BioCLIP Tree-of-Life classification, ground projection from telemetry"
58
+
59
+ platform:
60
+ type: "UAV"
61
+ models: ["Parrot Anafi 4K", "DJI (airframe unrecorded)", "DJI Air 2"]
62
+ autonomy_mode: "manual"
63
+
64
+ sensors:
65
+ - type: "RGB"
66
+ platform: "Parrot Anafi 4K"
67
+ video: "4K MP4"
68
+ telemetry: "Parrot JSON / GUTMA DX"
69
+ - type: "RGB"
70
+ platform: "DJI (airframe unrecorded)"
71
+ video: "1080p MOV"
72
+ telemetry: "CSV, 10 Hz"
73
+ - type: "RGB"
74
+ platform: "DJI Air 2"
75
+ video: "4K MP4"
76
+ telemetry: "Airdata CSV"
77
+
78
+ mission:
79
+ telemetry_available: true
80
+
81
+ configs:
82
+ - config_name: occurrences
83
+ data_files: data/occurrences.csv
84
+ - config_name: events
85
+ data_files: data/events.csv
86
+ - config_name: flights
87
+ data_files: metadata/flights.csv
88
+ ---
89
+
90
+ # Dataset Card for SmartWilds Drones
91
+
92
+ ![Drone detections of three managed focal species](images/smartwilds-drones/preview.png)
93
+ *SAM3 detections on drone frames of Przewalski's horse, Sichuan takin, and Milu (Père David's) deer.*
94
+
95
+ **Every drone video flown at The Wilds in 2025, with each platform's raw
96
+ telemetry, and frame-level animal detections placed on the ground where the
97
+ telemetry allows it.**
98
+
99
+ This is the drone dataset of the **SmartWilds** collection. Each modality has
100
+ its own dataset and DOI. They share one Darwin Core Event hierarchy rooted at
101
+ `TheWilds_2025` and are joined by the
102
+ [SmartWilds collection](https://huggingface.co/collections/ABC-Center/smartwilds-6af3c0aac0a67864cbf6edb4).
103
+
104
+ ## Dataset Details
105
+
106
+ - **Curated by:** Jenna M. Kline, Anirudh Potlapally, Elizabeth G. Campolongo
107
+ - **Homepage:** <https://github.com/Imageomics/smartwilds> (documentation: <https://imageomics.github.io/smartwilds/>)
108
+ - **Paper:** SmartWilds: Integrating, Aligning, and Documenting Multi-Modal Field Sensing Data (under review)
109
+ - **Release build:** 2026-10-22
110
+
111
+ | Campaign | Dates | Sessions | Platform |
112
+ |---|---|---:|---|
113
+ | 1 | Jul 1, Jul 3 | 6 | Parrot Anafi 4K |
114
+ | 2 | Aug 11, 18, 25 | 4 + 1 | Parrot Anafi 4K; DJI (Aug 11) |
115
+ | 3 | Sep 8 | 4 | DJI Air 2 |
116
+
117
+ **Darwin Core tables.** The Event table has 55 rows: 1 `Project`, 15
118
+ `SensorDeployment` flight sessions, and 39 `MediaEvent` videos. There are
119
+ 318,215 Occurrences: 318,203 machine detection crops on sampled frames and
120
+ 12 human-added European starling boxes (`human-supported; limited-resolution`).
121
+ `metadata/flights.csv` summarizes each session with its platform, number of
122
+ videos, and number of Occurrences.
123
+
124
+ The 15 sessions are the 15 directories that contain video. Three more Aug 25
125
+ Parrot directories contain telemetry but no video. Their files are included in
126
+ `media/`, but they are not sampling Events.
127
+
128
+ ### Supported Tasks
129
+
130
+ - **Aerial detection and classification:** you can re-label the raw video and
131
+ compare against the released crops.
132
+ - **Telemetry-aware vision:** altitude, heading, and gimbal pitch are available
133
+ per frame where the platform logged them.
134
+ - **Workload studies:** detection arrivals are extremely bursty (B ≈ +0.99), so
135
+ they are a stress case for scheduling and offload.
136
+
137
+ ## Dataset Structure
138
+
139
+ ```
140
+ smartwilds-drones/
141
+ ├── data/
142
+ │ ├── events.csv # Project, 15 flight SensorDeployments, 39 MediaEvents
143
+ │ ├── occurrences.csv # 318,215 frame-level detection crops
144
+ │ └── detections.csv # per detection: video path, frame index, box (px)
145
+ ├── media/ # media/<campaign>/<flight>/... videos + telemetry
146
+ ├── media_manifest.csv
147
+ ├── metadata/
148
+ │ ├── flights.csv # per-session platform, video and occurrence counts
149
+ │ ├── platforms.csv # resolution, telemetry format per platform
150
+ │ ├── drone_projection_config.csv
151
+ │ └── provenance/ # date, coordinate, media and excluded-video audits
152
+ ├── analysis/bird_water_association_per_box.csv
153
+ └── scripts/
154
+ ```
155
+
156
+ ### Raw video, not frames
157
+
158
+ The release ships the **raw videos**. It does not ship extracted frames. Each
159
+ machine detection in `data/detections.csv` gives the video (`video_path`), the
160
+ native frame number (`frame_index`), and the box in pixels. SAM3 ran on every
161
+ 15th frame. Any frame can be regenerated:
162
+
163
+ ```python
164
+ import cv2, pandas as pd
165
+ det = pd.read_csv("data/detections.csv")
166
+ row = det.iloc[0]
167
+ cap = cv2.VideoCapture(row.video_path)
168
+ cap.set(cv2.CAP_PROP_POS_FRAMES, int(row.frame_index))
169
+ ok, frame = cap.read()
170
+ x, y, w, h = map(int, (row.bbox_x, row.bbox_y, row.bbox_w, row.bbox_h))
171
+ crop = frame[max(y, 0):y + h, max(x, 0):x + w]
172
+ ```
173
+
174
+ The 644 curated goose records come from a separate 20-frame review subset and
175
+ have no `frame_index`.
176
+
177
+ ### Annotation method
178
+
179
+ - **Method:** automated, with a human-validated subset.
180
+ - **Detection:** SAM3 on frames extracted from each video.
181
+ - **Classification:** top-1 label from BioCLIP Tree-of-Life, written to the
182
+ Darwin Core taxon fields. The rank, score, box, and altitude are in
183
+ `identificationRemarks`.
184
+ - **Ground projection:** the ray through the bottom-center of the box is
185
+ intersected with a flat ground plane, using drone GPS, AGL altitude,
186
+ heading, gimbal pitch (with a fallback), and approximate FOV.
187
+ `drone_georef_status` in `occurrenceRemarks` gives the result for each
188
+ detection:
189
+
190
+ | Status | Rows |
191
+ |---|---:|
192
+ | `ok` | 247,340 |
193
+ | `invalid_altitude` | 27,306 |
194
+ | `missing_drone_gps` | 24,467 |
195
+ | `horizon_ray` | 18,324 |
196
+ | `out_of_range` | 122 |
197
+
198
+ When the status is not `ok`, the coordinate is the drone's own position, a
199
+ validated static video-level location (500 m uncertainty), or blank.
200
+ `dataGeneralizations` says which on every row. The flights were flown for
201
+ population counts and behavior, not geolocation, so platform position
202
+ places an animal in the right pasture.
203
+ - **Verification:** 317,559 rows are `unverified`. 644 are `validated` Canada
204
+ goose records from a 20-frame review of `20250703_parrotanafi_5`.
205
+
206
+ ## Dataset Creation
207
+
208
+ ### Known defects and repairs
209
+
210
+ - **Aug 11 session had no time of day.** Its `eventDate` was exported as the
211
+ string `nan` (41,524 Occurrences); the date was restored from the flight
212
+ identifier. The times were recovered from the video container creation
213
+ times, with each aircraft's clock convention settled against reference
214
+ flights and the day's field log (`metadata/provenance/drone_time_recovery_20250811.json`).
215
+ The Parrot times are verified to the second; the DJI times rest on an
216
+ inferred local-time convention and should be read as minute-level.
217
+ - **Impossible coordinates on 7 Events** (`nan`, or longitude ≈ 500). These were
218
+ replaced with a validated static video location, or left blank.
219
+ - **Frame media lost from scratch storage.** Extracted frames were deleted when
220
+ the scratch workspace was purged. The affected Occurrences now point at the
221
+ original video and are tagged
222
+ `associated_media_source=original_video_fallback_missing_scratch_frame`.
223
+ The release build on 2026-10-22 applied the same fallback to the last
224
+ 10,943 rows (479 frames). As a result, every drone `associatedMedia` value
225
+ resolves to a released video.
226
+ - **One video was not processed.** `20250703_parrotanafi_4/VID_001` was reviewed
227
+ and found to have no usable content. It is a `MediaEvent` with zero
228
+ Occurrences.
229
+ - **Three telemetry schemas.** Field names, units (feet vs. meters), and gimbal
230
+ conventions differ by platform and were mapped per platform.
231
+
232
+ ### Personal and sensitive information
233
+
234
+ 3,114 Occurrences are labeled *Homo sapiens*: field staff and visitors seen
235
+ from altitude. Media in which a person can be individually identified are removed from the
236
+ release. People too small to identify (a person box under 80 px in the native
237
+ image, where the face is under about 10 px) are retained; every file with a
238
+ larger person detection was reviewed by a person before release.
239
+ For drone videos this means trimming launch and landing segments where the
240
+ operators are identifiable; the trims are lossless and recorded in the
241
+ media manifest.
242
+
243
+ ## Considerations for Using the Data
244
+
245
+ - **Detections count crops, not animals.** Adjacent frames repeat the same
246
+ animal, so the counts measure evidence volume, not abundance.
247
+ - **Species-rank labels need curation.** The class-rank accuracy reported for
248
+ the camera-trap subset (0.845) is the better guide to these labels.
249
+ <!-- TODO(confirm-stats): the camera-trap card no longer reports this BioCLIP class accuracy (its labels are now triage-based). Keep the figure here only if the BioCLIP evaluation is reported elsewhere, e.g. SUPPLEMENTAL.md. -->
250
+
251
+ - **The DJI airframe for Aug 11 was not recorded.**
252
+
253
+ ## Supplemental Material
254
+
255
+ Extended inventories, the timestamp-repair methods, the standards crosswalk,
256
+ validation checks, and the full defect inventory are in
257
+ [`SUPPLEMENTAL.md`](https://huggingface.co/datasets/ABC-Center/smartwilds_metadata/blob/main/SUPPLEMENTAL.md)
258
+ in the study-level SmartWilds dataset.
259
+
260
+ ## Licensing
261
+
262
+ Data: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). Scripts: MIT.
263
+
264
+ ## Citation
265
+
266
+ ```bibtex
267
+ @misc{smartwilds2025_drones,
268
+ author = {Kline, Jenna M. and Potlapally, Anirudh and Campolongo, Elizabeth G.},
269
+ title = {SmartWilds Drones (The Wilds 2025)},
270
+ year = {2026},
271
+ publisher = {Hugging Face},
272
+ note = {DOI pending the raw data release},
273
+ url = {https://huggingface.co/datasets/ABC-Center/smartwilds_metadata/tree/main/smartwilds-drones}
274
+ }
275
+ ```
276
+
277
+ Please also cite the paper:
278
+
279
+ ```bibtex
280
+ @article{kline2026smartwilds,
281
+ author = {Kline, Jenna M. and Potlapally, Anirudh and Campolongo, Elizabeth G.},
282
+ title = {SmartWilds: Integrating, Aligning, and Documenting Multi-Modal Field Sensing Data},
283
+ year = {2026},
284
+ note = {Under review}
285
+ }
286
+ ```
287
+
288
+ This dataset card follows the [FAIR² Drones Data Standard](https://imageomics.github.io/fair_drones/)
289
+ (Kline and Campolongo, 2026).
290
+
291
+ ## Acknowledgements
292
+
293
+ This project is supported by the [Imageomics Institute](https://imageomics.org), which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning), and by the [AI Institute for Intelligent Cyberinfrastructure with Computational Learning in the Environment (ICICLE)](https://icicle.osu.edu/), which is funded by the US National Science Foundation under [Award #2112606](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2112606).
294
+
295
+ This work is also supported by the AI and Biodiversity Change (ABC) Global Center. The ABC Global Center is funded by the US National Science Foundation under [Award No. 2330423](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2330423&HistoricalAwards=false) and the Natural Sciences and Engineering Research Council of Canada under [Award No. 585136](https://www.nserc-crsng.gc.ca/ase-oro/Details-Detailles_eng.asp?id=782440). This dataset draws on research supported by the Social Sciences and Humanities Research Council.
296
+
297
+ Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation, Natural Sciences and Engineering Research Council of Canada, or Social Sciences and Humanities Research Council.
298
+
299
+ Special thanks to Dan Beetem and [The Wilds](https://www.thewilds.org/) in Ohio for providing access to deployment sites and supporting this wildlife monitoring research. We thank the Columbus Zoo and Aquarium for their support in facilitating this project. All data collection, including drone flights, was conducted under the supervision of the Director of Animal Management, with permission from The Wilds Animal Care and Use Committee.
300
+
301
+ This work used the [Ohio Supercomputer Center](https://www.osc.edu/) (Ohio Supercomputer Center. 1987. Ohio Supercomputer Center. Columbus OH: Ohio Supercomputer Center. <https://ror.org/01apna436>).
302
+
303
+ ## Dataset Card Contact
304
+
305
+ Jenna M. Kline (kline.377@osu.edu)
smartwilds-drones/analysis/bird_water_association_per_box.csv ADDED
The diff for this file is too large to render. See raw diff
 
smartwilds-drones/data/events.csv ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ eventID,parentEventID,eventType,eventDate,samplingProtocol,sampleSizeValue,sampleSizeUnit,locality,locationID,decimalLatitude,decimalLongitude,coordinateUncertaintyInMeters,geodeticDatum,country,stateProvince,county,datasetID,datasetName,recordedBy,fieldNotes,eventTime
2
+ TheWilds_2025_drones,TheWilds_2025,Project,2025-07-01/2025-09-08,"Drone video surveys; detections by SAM3, Tree-of-Life classification by BioCLIP, and first-pass animal ground-position projection from drone telemetry.",39,raw drone videos (38 processed; 1 intentionally excluded),"The Wilds Conservation Center, Muskingum County, Ohio, USA",,39.83,-81.74,5000,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,38 videos regenerated from current Tree-of-Life outputs; VID_001 from 20250703_parrotanafi_4 is retained as an intentionally excluded raw-media Event.,
3
+ TheWilds_2025_drone_20250701_parrotanafi_1,TheWilds_2025_drones,SensorDeployment,2025-07-01,Drone flight/session 20250701_parrotanafi_1; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250701_parrotanafi_1,39.82887083333163,-81.74238066666636,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250701_parrotanafi_1,
4
+ TheWilds_2025_drone_20250703_parrotanafi_1,TheWilds_2025_drones,SensorDeployment,2025-07-03,Drone flight/session 20250703_parrotanafi_1; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250703_parrotanafi_1,39.83069739991588,-81.73770322014592,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_1,
5
+ TheWilds_2025_drone_20250703_parrotanafi_2,TheWilds_2025_drones,SensorDeployment,2025-07-03,Drone flight/session 20250703_parrotanafi_2; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250703_parrotanafi_2,39.83535716666588,-81.73001549999995,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_2,
6
+ TheWilds_2025_drone_20250703_parrotanafi_3,TheWilds_2025_drones,SensorDeployment,2025-07-03,Drone flight/session 20250703_parrotanafi_3; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250703_parrotanafi_3,39.83437116666848,-81.73930916666667,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_3,
7
+ TheWilds_2025_drone_20250703_parrotanafi_4,TheWilds_2025_drones,SensorDeployment,2025-07-03,Drone flight/session 20250703_parrotanafi_4; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250703_parrotanafi_4,39.830678500000175,-81.73834333333349,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_4,
8
+ TheWilds_2025_drone_20250703_parrotanafi_5,TheWilds_2025_drones,SensorDeployment,2025-07-03,Drone flight/session 20250703_parrotanafi_5; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250703_parrotanafi_5,,,,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_5; coordinate_source=unavailable_no_single_session_location,
9
+ TheWilds_2025_drone_20250811_DJI_01,TheWilds_2025_drones,SensorDeployment,2025-08-11,Drone flight/session 20250811_DJI_01; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250811_DJI_01,39.834171,-81.73782,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250811_DJI_01; eventDate derived from flight identifier 20250811; eventTime recovered from the video container creation time (release build 2026-11-10; metadata/provenance/drone_time_recovery_20250811.json),10:29:39/10:35:44
10
+ TheWilds_2025_drone_20250811_parrot_01,TheWilds_2025_drones,SensorDeployment,2025-08-11,Drone flight/session 20250811_parrot_01; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250811_parrot_01,,,,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250811_parrot_01; eventDate derived from flight identifier 20250811; eventTime recovered from the video container creation time (release build 2026-11-10; metadata/provenance/drone_time_recovery_20250811.json); coordinate_source=unavailable_no_single_session_location,09:12:43/09:23:43
11
+ TheWilds_2025_drone_20250818_parrot_01,TheWilds_2025_drones,SensorDeployment,2025-08-18,Drone flight/session 20250818_parrot_01; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250818_parrot_01,39.83062300000001,-81.7380009999996,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250818_parrot_01,
12
+ TheWilds_2025_drone_20250818_parrot_02,TheWilds_2025_drones,SensorDeployment,2025-08-18,Drone flight/session 20250818_parrot_02; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250818_parrot_02,39.83553983333299,-81.729999,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250818_parrot_02,
13
+ TheWilds_2025_drone_20250825_parrot_01,TheWilds_2025_drones,SensorDeployment,2025-08-25,Drone flight/session 20250825_parrot_01; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250825_parrot_01,39.8306344999969,-81.73801366666375,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250825_parrot_01,
14
+ TheWilds_2025_drone_20250908_djiair_1,TheWilds_2025_drones,SensorDeployment,2025-09-08,Drone flight/session 20250908_djiair_1; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250908_djiair_1,39.8306117686427,-81.7381286438897,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_1,
15
+ TheWilds_2025_drone_20250908_djiair_2,TheWilds_2025_drones,SensorDeployment,2025-09-08,Drone flight/session 20250908_djiair_2; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250908_djiair_2,39.8306056257256,-81.7381547387215,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_2,
16
+ TheWilds_2025_drone_20250908_djiair_3,TheWilds_2025_drones,SensorDeployment,2025-09-08,Drone flight/session 20250908_djiair_3; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250908_djiair_3,39.8341484494756,-81.7376652256038,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_3,
17
+ TheWilds_2025_drone_20250908_djiair_4,TheWilds_2025_drones,SensorDeployment,2025-09-08,Drone flight/session 20250908_djiair_4; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,,detections,The Wilds Conservation Center,20250908_djiair_4,39.834147453031,-81.7377155569067,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_4,
18
+ TheWilds_2025_drone_20250701_parrotanafi_1_VID_001,TheWilds_2025_drone_20250701_parrotanafi_1,MediaEvent,2025-07-01,Drone video VID_001; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,12,classified detection crops,The Wilds Conservation Center,20250701_parrotanafi_1,39.82887083333163,-81.74238066666636,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250701_parrotanafi_1; video: VID_001; detections: 12; source CSV: thewilds_20250630_20250703_20250701_parrotanafi_1_VID_001.drone_geolocated.csv,08:34:41/08:34:46
19
+ TheWilds_2025_drone_20250701_parrotanafi_1_VID_002,TheWilds_2025_drone_20250701_parrotanafi_1,MediaEvent,2025-07-01,Drone video VID_002; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,5664,classified detection crops,The Wilds Conservation Center,20250701_parrotanafi_1,39.82887183333197,-81.7423786666653,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250701_parrotanafi_1; video: VID_002; detections: 5664; source CSV: thewilds_20250630_20250703_20250701_parrotanafi_1_VID_002.drone_geolocated.csv,08:34:46/08:40:27
20
+ TheWilds_2025_drone_20250701_parrotanafi_1_VID_003,TheWilds_2025_drone_20250701_parrotanafi_1,MediaEvent,2025-07-01,Drone video VID_003; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,6923,classified detection crops,The Wilds Conservation Center,20250701_parrotanafi_1,39.8287242703832,-81.74119786203082,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250701_parrotanafi_1; video: VID_003; detections: 6923; source CSV: thewilds_20250630_20250703_20250701_parrotanafi_1_VID_003.drone_geolocated.csv,08:40:27/08:46:04
21
+ TheWilds_2025_drone_20250701_parrotanafi_1_VID_004,TheWilds_2025_drone_20250701_parrotanafi_1,MediaEvent,2025-07-01,Drone video VID_004; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,3929,classified detection crops,The Wilds Conservation Center,20250701_parrotanafi_1,39.828693882055184,-81.74121949089592,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250701_parrotanafi_1; video: VID_004; detections: 3929; source CSV: thewilds_20250630_20250703_20250701_parrotanafi_1_VID_004.drone_geolocated.csv,08:46:05/08:48:25
22
+ TheWilds_2025_drone_20250703_parrotanafi_1_VID_001,TheWilds_2025_drone_20250703_parrotanafi_1,MediaEvent,2025-07-03,Drone video VID_001; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,380,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_1,39.83069739991588,-81.73770322014592,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_1; video: VID_001; detections: 380; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_1_VID_001.drone_geolocated.csv,15:48:01/15:50:47
23
+ TheWilds_2025_drone_20250703_parrotanafi_1_VID_002,TheWilds_2025_drone_20250703_parrotanafi_1,MediaEvent,2025-07-03,Drone video VID_002; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,41130,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_1,39.83063966666832,-81.73807449999214,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_1; video: VID_002; detections: 41130; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_1_VID_002.drone_geolocated.csv,15:50:59/15:56:33
24
+ TheWilds_2025_drone_20250703_parrotanafi_1_VID_003,TheWilds_2025_drone_20250703_parrotanafi_1,MediaEvent,2025-07-03,Drone video VID_003; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,588,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_1,39.82954685533496,-81.7406838660845,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_1; video: VID_003; detections: 588; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_1_VID_003.drone_geolocated.csv,15:56:34/15:58:18
25
+ TheWilds_2025_drone_20250703_parrotanafi_2_VID_001,TheWilds_2025_drone_20250703_parrotanafi_2,MediaEvent,2025-07-03,Drone video VID_001; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,34,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_2,39.83535716666588,-81.73001549999995,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_2; video: VID_001; detections: 34; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_2_VID_001.drone_geolocated.csv,16:21:04/16:21:10
26
+ TheWilds_2025_drone_20250703_parrotanafi_2_VID_002,TheWilds_2025_drone_20250703_parrotanafi_2,MediaEvent,2025-07-03,Drone video VID_002; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,5933,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_2,39.83536710341573,-81.73004209188048,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_2; video: VID_002; detections: 5933; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_2_VID_002.drone_geolocated.csv,16:21:11/16:26:45
27
+ TheWilds_2025_drone_20250703_parrotanafi_2_VID_003,TheWilds_2025_drone_20250703_parrotanafi_2,MediaEvent,2025-07-03,Drone video VID_003; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,3843,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_2,39.83656393622655,-81.73010565554823,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_2; video: VID_003; detections: 3843; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_2_VID_003.drone_geolocated.csv,16:26:46/16:31:56
28
+ TheWilds_2025_drone_20250703_parrotanafi_3_VID_001,TheWilds_2025_drone_20250703_parrotanafi_3,MediaEvent,2025-07-03,Drone video VID_001; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,169,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_3,39.83437116666848,-81.73930916666667,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_3; video: VID_001; detections: 169; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_3_VID_001.drone_geolocated.csv,16:56:20/16:56:41
29
+ TheWilds_2025_drone_20250703_parrotanafi_3_VID_002,TheWilds_2025_drone_20250703_parrotanafi_3,MediaEvent,2025-07-03,Drone video VID_002; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,523,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_3,39.83434777806453,-81.73937466319438,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_3; video: VID_002; detections: 523; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_3_VID_002.drone_geolocated.csv,16:56:41/17:01:29
30
+ TheWilds_2025_drone_20250703_parrotanafi_4_VID_002,TheWilds_2025_drone_20250703_parrotanafi_4,MediaEvent,2025-07-03,Drone video VID_002; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,7368,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_4,39.830678500000175,-81.73834333333349,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_4; video: VID_002; detections: 7368; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_4_VID_002.drone_geolocated.csv,17:23:46/17:29:16
31
+ TheWilds_2025_drone_20250703_parrotanafi_4_VID_003,TheWilds_2025_drone_20250703_parrotanafi_4,MediaEvent,2025-07-03,Drone video VID_003; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,511,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_4,39.83081839120959,-81.7383211402393,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_4; video: VID_003; detections: 511; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_4_VID_003.drone_geolocated.csv,17:29:25/17:32:36
32
+ TheWilds_2025_drone_20250703_parrotanafi_5_VID_001,TheWilds_2025_drone_20250703_parrotanafi_5,MediaEvent,2025-07-03,Drone video VID_001; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,20,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_5,,,,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_5; video: VID_001; detections: 20; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_5_VID_001.drone_geolocated.csv; coordinate_source=unavailable_no_single_session_location,17:25:55/17:25:59
33
+ TheWilds_2025_drone_20250703_parrotanafi_5_VID_002,TheWilds_2025_drone_20250703_parrotanafi_5,MediaEvent,2025-07-03,Drone video VID_002; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,8383,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_5,39.83024333,-81.73892500,500,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_5; video: VID_002; detections: 8383; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_5_VID_002.drone_geolocated.csv; coordinate_source=original_video_quicktime_location_static; not per-frame telemetry,17:25:59/17:31:34
34
+ TheWilds_2025_drone_20250703_parrotanafi_5_VID_003,TheWilds_2025_drone_20250703_parrotanafi_5,MediaEvent,2025-07-03,Drone video VID_003; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,21437,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_5,39.82953921836771,-81.74022920437498,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_5; video: VID_003; detections: 21437; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_5_VID_003.drone_geolocated.csv,17:31:34/17:35:07
35
+ TheWilds_2025_drone_20250703_parrotanafi_5_VID_004,TheWilds_2025_drone_20250703_parrotanafi_5,MediaEvent,2025-07-03,Drone video VID_004; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,33677,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_5,39.82928278702048,-81.74047635534833,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_5; video: VID_004; detections: 33033; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_5_VID_004.drone_geolocated.csv Includes 644 curated bird occurrence records.,17:35:07/17:40:42
36
+ TheWilds_2025_drone_20250703_parrotanafi_5_VID_005,TheWilds_2025_drone_20250703_parrotanafi_5,MediaEvent,2025-07-03,Drone video VID_005; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,201,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_5,39.82885447083709,-81.74156150249854,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_5; video: VID_005; detections: 201; source CSV: thewilds_20250630_20250703_20250703_parrotanafi_5_VID_005.drone_geolocated.csv,17:40:43/17:42:43
37
+ TheWilds_2025_drone_20250811_DJI_01_DJI_0001,TheWilds_2025_drone_20250811_DJI_01,MediaEvent,2025-08-11,Drone video DJI_0001; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,4535,classified detection crops,The Wilds Conservation Center,20250811_DJI_01,39.834171,-81.73782,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250811_DJI_01; video: DJI_0001; detections: 4535; source CSV: thewilds_20250804_20250828_20250811_DJI_01_DJI_0001.drone_geolocated.csv; eventDate derived from flight identifier 20250811; eventTime recovered from the video container creation time (release build 2026-11-10; metadata/provenance/drone_time_recovery_20250811.json),10:29:39/10:31:17
38
+ TheWilds_2025_drone_20250811_DJI_01_DJI_0002,TheWilds_2025_drone_20250811_DJI_01,MediaEvent,2025-08-11,Drone video DJI_0002; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,12522,classified detection crops,The Wilds Conservation Center,20250811_DJI_01,39.834231,-81.736127,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250811_DJI_01; video: DJI_0002; detections: 12522; source CSV: thewilds_20250804_20250828_20250811_DJI_01_DJI_0002.drone_geolocated.csv; eventDate derived from flight identifier 20250811; eventTime recovered from the video container creation time (release build 2026-11-10; metadata/provenance/drone_time_recovery_20250811.json),10:31:32/10:35:44
39
+ TheWilds_2025_drone_20250811_parrot_01_P5180524,TheWilds_2025_drone_20250811_parrot_01,MediaEvent,2025-08-11,Drone video P5180524; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,41,classified detection crops,The Wilds Conservation Center,20250811_parrot_01,39.83068541,-81.73774815,500,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250811_parrot_01; video: P5180524; detections: 41; source CSV: thewilds_20250804_20250828_20250811_parrot_01_P5180524.drone_geolocated.csv; eventDate derived from flight identifier 20250811; eventTime recovered from the video container creation time (release build 2026-11-10; metadata/provenance/drone_time_recovery_20250811.json); coordinate_source=original_video_quicktime_location_static; not per-frame telemetry,09:12:43/09:14:14
40
+ TheWilds_2025_drone_20250811_parrot_01_P5190525,TheWilds_2025_drone_20250811_parrot_01,MediaEvent,2025-08-11,Drone video P5190525; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,12430,classified detection crops,The Wilds Conservation Center,20250811_parrot_01,39.83034692,-81.73837571,500,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250811_parrot_01; video: P5190525; detections: 12430; source CSV: thewilds_20250804_20250828_20250811_parrot_01_P5190525.drone_geolocated.csv; eventDate derived from flight identifier 20250811; eventTime recovered from the video container creation time (release build 2026-11-10; metadata/provenance/drone_time_recovery_20250811.json); coordinate_source=original_video_quicktime_location_static; not per-frame telemetry,09:14:19/09:19:54
41
+ TheWilds_2025_drone_20250811_parrot_01_P5190526,TheWilds_2025_drone_20250811_parrot_01,MediaEvent,2025-08-11,Drone video P5190526; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,11996,classified detection crops,The Wilds Conservation Center,20250811_parrot_01,39.82935200,-81.74035901,500,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250811_parrot_01; video: P5190526; detections: 11996; source CSV: thewilds_20250804_20250828_20250811_parrot_01_P5190526.drone_geolocated.csv; eventDate derived from flight identifier 20250811; eventTime recovered from the video container creation time (release build 2026-11-10; metadata/provenance/drone_time_recovery_20250811.json); coordinate_source=original_video_quicktime_location_static; not per-frame telemetry,09:19:55/09:23:43
42
+ TheWilds_2025_drone_20250818_parrot_01_P5760583,TheWilds_2025_drone_20250818_parrot_01,MediaEvent,2025-08-18,Drone video P5760583; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,9832,classified detection crops,The Wilds Conservation Center,20250818_parrot_01,39.83062300000001,-81.7380009999996,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250818_parrot_01; video: P5760583; detections: 9832; source CSV: thewilds_20250804_20250828_20250818_parrot_01_P5760583.drone_geolocated.csv,09:14:06/09:19:53
43
+ TheWilds_2025_drone_20250818_parrot_01_P5760584,TheWilds_2025_drone_20250818_parrot_01,MediaEvent,2025-08-18,Drone video P5760584; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,14302,classified detection crops,The Wilds Conservation Center,20250818_parrot_01,39.829163298809085,-81.74072732544536,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250818_parrot_01; video: P5760584; detections: 14302; source CSV: thewilds_20250804_20250828_20250818_parrot_01_P5760584.drone_geolocated.csv,09:19:54/09:25:32
44
+ TheWilds_2025_drone_20250818_parrot_01_P5760585,TheWilds_2025_drone_20250818_parrot_01,MediaEvent,2025-08-18,Drone video P5760585; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,864,classified detection crops,The Wilds Conservation Center,20250818_parrot_01,39.82978903081466,-81.73963306787806,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250818_parrot_01; video: P5760585; detections: 864; source CSV: thewilds_20250804_20250828_20250818_parrot_01_P5760585.drone_geolocated.csv,09:25:32/09:26:47
45
+ TheWilds_2025_drone_20250818_parrot_02_P5770586,TheWilds_2025_drone_20250818_parrot_02,MediaEvent,2025-08-18,Drone video P5770586; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,7569,classified detection crops,The Wilds Conservation Center,20250818_parrot_02,39.83553983333299,-81.729999,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250818_parrot_02; video: P5770586; detections: 7569; source CSV: thewilds_20250804_20250828_20250818_parrot_02_P5770586.drone_geolocated.csv,09:43:25/09:48:59
46
+ TheWilds_2025_drone_20250818_parrot_02_P5770587,TheWilds_2025_drone_20250818_parrot_02,MediaEvent,2025-08-18,Drone video P5770587; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,6426,classified detection crops,The Wilds Conservation Center,20250818_parrot_02,39.83540453324248,-81.73063304563993,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250818_parrot_02; video: P5770587; detections: 6426; source CSV: thewilds_20250804_20250828_20250818_parrot_02_P5770587.drone_geolocated.csv,09:49:00/09:54:35
47
+ TheWilds_2025_drone_20250818_parrot_02_P5770588,TheWilds_2025_drone_20250818_parrot_02,MediaEvent,2025-08-18,Drone video P5770588; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,2050,classified detection crops,The Wilds Conservation Center,20250818_parrot_02,39.83514552833084,-81.73167434590653,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250818_parrot_02; video: P5770588; detections: 2050; source CSV: thewilds_20250804_20250828_20250818_parrot_02_P5770588.drone_geolocated.csv,09:54:35/09:56:02
48
+ TheWilds_2025_drone_20250825_parrot_01_P6140626,TheWilds_2025_drone_20250825_parrot_01,MediaEvent,2025-08-25,Drone video P6140626; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,9185,classified detection crops,The Wilds Conservation Center,20250825_parrot_01,39.8306344999969,-81.73801366666375,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250825_parrot_01; video: P6140626; detections: 9185; source CSV: thewilds_20250804_20250828_20250825_parrot_01_P6140626.drone_geolocated.csv,09:13:47/09:19:21
49
+ TheWilds_2025_drone_20250825_parrot_01_P6140627,TheWilds_2025_drone_20250825_parrot_01,MediaEvent,2025-08-25,Drone video P6140627; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,3010,classified detection crops,The Wilds Conservation Center,20250825_parrot_01,39.829053662919705,-81.74227662655365,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250804_20250828; flight/session: 20250825_parrot_01; video: P6140627; detections: 3010; source CSV: thewilds_20250804_20250828_20250825_parrot_01_P6140627.drone_geolocated.csv,09:19:22/09:20:56
50
+ TheWilds_2025_drone_20250908_djiair_1_DJI_0070,TheWilds_2025_drone_20250908_djiair_1,MediaEvent,2025-09-08,Drone video DJI_0070; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,14940,classified detection crops,The Wilds Conservation Center,20250908_djiair_1,39.8306117686427,-81.7381286438897,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_1; video: DJI_0070; detections: 14940; source CSV: thewilds_20250908_20250908_20250908_djiair_1_DJI_0070.drone_geolocated.csv,09:16:51/09:23:25
51
+ TheWilds_2025_drone_20250908_djiair_1_DJI_0071,TheWilds_2025_drone_20250908_djiair_1,MediaEvent,2025-09-08,Drone video DJI_0071; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,5266,classified detection crops,The Wilds Conservation Center,20250908_djiair_1,39.8289907319909,-81.7419589340118,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_1; video: DJI_0071; detections: 5266; source CSV: thewilds_20250908_20250908_20250908_djiair_1_DJI_0071.drone_geolocated.csv,09:23:51/09:27:29
52
+ TheWilds_2025_drone_20250908_djiair_2_DJI_0072,TheWilds_2025_drone_20250908_djiair_2,MediaEvent,2025-09-08,Drone video DJI_0072; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,5327,classified detection crops,The Wilds Conservation Center,20250908_djiair_2,39.8306056257256,-81.7381547387215,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_2; video: DJI_0072; detections: 5327; source CSV: thewilds_20250908_20250908_20250908_djiair_2_DJI_0072.drone_geolocated.csv,09:29:14/09:42:03
53
+ TheWilds_2025_drone_20250908_djiair_3_DJI_0074,TheWilds_2025_drone_20250908_djiair_3,MediaEvent,2025-09-08,Drone video DJI_0074; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,567,classified detection crops,The Wilds Conservation Center,20250908_djiair_3,39.8341484494756,-81.7376652256038,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_3; video: DJI_0074; detections: 567; source CSV: thewilds_20250908_20250908_20250908_djiair_3_DJI_0074.drone_geolocated.csv,10:25:29/10:29:28
54
+ TheWilds_2025_drone_20250908_djiair_4_DJI_0075,TheWilds_2025_drone_20250908_djiair_4,MediaEvent,2025-09-08,Drone video DJI_0075; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,53476,classified detection crops,The Wilds Conservation Center,20250908_djiair_4,39.834147453031,-81.7377155569067,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_4; video: DJI_0075; detections: 53476; source CSV: thewilds_20250908_20250908_20250908_djiair_4_DJI_0075.drone_geolocated.csv,10:30:05/10:43:44
55
+ TheWilds_2025_drone_20250908_djiair_4_DJI_0076,TheWilds_2025_drone_20250908_djiair_4,MediaEvent,2025-09-08,Drone video DJI_0076; SAM3 detections with BioCLIP Tree-of-Life labels and projected animal positions where available,3140,classified detection crops,The Wilds Conservation Center,20250908_djiair_4,39.8329696799844,-81.734909052093,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_4; video: DJI_0076; detections: 3140; source CSV: thewilds_20250908_20250908_20250908_djiair_4_DJI_0076.drone_geolocated.csv,10:43:44/10:44:59
56
+ TheWilds_2025_drone_20250703_parrotanafi_4_VID_001,TheWilds_2025_drone_20250703_parrotanafi_4,MediaEvent,2025-07-03,Drone video VID_001; intentionally excluded from SAM3 and Tree-of-Life processing after review found no significant content.,0,classified detection crops,The Wilds Conservation Center,20250703_parrotanafi_4,39.830678500000175,-81.73834333333349,100,WGS84,United States,Ohio,Muskingum,TheWilds_2025_drones,The Wilds 2025 Multi-Modal Survey - Drone Imagery,Drone field team,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_4; video: VID_001; processingStatus: intentionally_excluded; reason: tiny video reviewed with no significant content; raw media: thewilds_20250630_20250703/drones/20250703_parrotanafi_4/video_files/VID_001.MP4,
smartwilds-drones/media_manifest.csv ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ release_path,source_path,bytes,include,exclusion_reason
2
+ media/thewilds_20250630_20250703/20250701_parrotanafi_1/metadata/0914_2025-07-01T083438-0400_10D6BC_0018.json,thewilds_20250630_20250703/drones/20250701_parrotanafi_1/metadata/0914_2025-07-01T083438-0400_10D6BC_0018.json,1824672,true,
3
+ media/thewilds_20250630_20250703/20250701_parrotanafi_1/metadata/File.jpg,thewilds_20250630_20250703/drones/20250701_parrotanafi_1/metadata/File.jpg,473161,true,
4
+ media/thewilds_20250630_20250703/20250701_parrotanafi_1/metadata/mission_notes.txt,thewilds_20250630_20250703/drones/20250701_parrotanafi_1/metadata/mission_notes.txt,255,true,
5
+ media/thewilds_20250630_20250703/20250701_parrotanafi_1/video_files/VID_001.MP4,thewilds_20250630_20250703/drones/20250701_parrotanafi_1/video_files/VID_001.MP4,109558823,true,
6
+ media/thewilds_20250630_20250703/20250701_parrotanafi_1/video_files/VID_002.MP4,thewilds_20250630_20250703/drones/20250701_parrotanafi_1/video_files/VID_002.MP4,4205523945,true,
7
+ media/thewilds_20250630_20250703/20250701_parrotanafi_1/video_files/VID_003.MP4,thewilds_20250630_20250703/drones/20250701_parrotanafi_1/video_files/VID_003.MP4,4210137951,true,
8
+ media/thewilds_20250630_20250703/20250701_parrotanafi_1/video_files/VID_004.MP4,thewilds_20250630_20250703/drones/20250701_parrotanafi_1/video_files/VID_004.MP4,1432755297,true,
9
+ media/thewilds_20250630_20250703/20250703_parrotanafi_1/metadata/0914_2025-07-03T154754-0400_16A458_0019.json,thewilds_20250630_20250703/drones/20250703_parrotanafi_1/metadata/0914_2025-07-03T154754-0400_16A458_0019.json,397407,true,
10
+ media/thewilds_20250630_20250703/20250703_parrotanafi_1/metadata/0914_2025-07-03T155059-0400_54039C_001A.json,thewilds_20250630_20250703/drones/20250703_parrotanafi_1/metadata/0914_2025-07-03T155059-0400_54039C_001A.json,4135502,true,
11
+ media/thewilds_20250630_20250703/20250703_parrotanafi_1/metadata/mission_notes_1.txt,thewilds_20250630_20250703/drones/20250703_parrotanafi_1/metadata/mission_notes_1.txt,115,true,
12
+ media/thewilds_20250630_20250703/20250703_parrotanafi_1/video_files/VID_001.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_1/video_files/VID_001.MP4,2218716678,true,
13
+ media/thewilds_20250630_20250703/20250703_parrotanafi_1/video_files/VID_002.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_1/video_files/VID_002.MP4,4206460839,true,
14
+ media/thewilds_20250630_20250703/20250703_parrotanafi_1/video_files/VID_003.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_1/video_files/VID_003.MP4,1269341411,true,
15
+ media/thewilds_20250630_20250703/20250703_parrotanafi_2/metadata/0914_2025-07-03T162104-0400_BF7B18_001D.json,thewilds_20250630_20250703/drones/20250703_parrotanafi_2/metadata/0914_2025-07-03T162104-0400_BF7B18_001D.json,3100196,true,
16
+ media/thewilds_20250630_20250703/20250703_parrotanafi_2/metadata/mission_notes_2.txt,thewilds_20250630_20250703/drones/20250703_parrotanafi_2/metadata/mission_notes_2.txt,115,true,
17
+ media/thewilds_20250630_20250703/20250703_parrotanafi_2/video_files/VID_001.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_2/video_files/VID_001.MP4,93444816,true,
18
+ media/thewilds_20250630_20250703/20250703_parrotanafi_2/video_files/VID_002.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_2/video_files/VID_002.MP4,4208100144,true,
19
+ media/thewilds_20250630_20250703/20250703_parrotanafi_2/video_files/VID_003.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_2/video_files/VID_003.MP4,3957176852,true,
20
+ media/thewilds_20250630_20250703/20250703_parrotanafi_3/metadata/0914_2025-07-03T165620-0400_D602EB_001F.json,thewilds_20250630_20250703/drones/20250703_parrotanafi_3/metadata/0914_2025-07-03T165620-0400_D602EB_001F.json,1673349,true,
21
+ media/thewilds_20250630_20250703/20250703_parrotanafi_3/metadata/mission_notes_3.txt,thewilds_20250630_20250703/drones/20250703_parrotanafi_3/metadata/mission_notes_3.txt,115,true,
22
+ media/thewilds_20250630_20250703/20250703_parrotanafi_3/video_files/VID_001.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_3/video_files/VID_001.MP4,270997992,true,
23
+ media/thewilds_20250630_20250703/20250703_parrotanafi_3/video_files/VID_002.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_3/video_files/VID_002.MP4,3802449394,true,
24
+ media/thewilds_20250630_20250703/20250703_parrotanafi_4/metadata/0914_2025-07-03T172345-0400_75DB7A_0021.json,thewilds_20250630_20250703/drones/20250703_parrotanafi_4/metadata/0914_2025-07-03T172345-0400_75DB7A_0021.json,1195608,true,
25
+ media/thewilds_20250630_20250703/20250703_parrotanafi_4/metadata/mission_notes_4.txt,thewilds_20250630_20250703/drones/20250703_parrotanafi_4/metadata/mission_notes_4.txt,101,true,
26
+ media/thewilds_20250630_20250703/20250703_parrotanafi_4/video_files/VID_001.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_4/video_files/VID_001.MP4,13888970,true,
27
+ media/thewilds_20250630_20250703/20250703_parrotanafi_4/video_files/VID_002.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_4/video_files/VID_002.MP4,4201193970,true,
28
+ media/thewilds_20250630_20250703/20250703_parrotanafi_4/video_files/VID_003.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_4/video_files/VID_003.MP4,2441912991,true,
29
+ media/thewilds_20250630_20250703/20250703_parrotanafi_5/metadata/0914_2025-07-03T172555-0400_0F0BAD_0008.json,thewilds_20250630_20250703/drones/20250703_parrotanafi_5/metadata/0914_2025-07-03T172555-0400_0F0BAD_0008.json,2670278,true,
30
+ media/thewilds_20250630_20250703/20250703_parrotanafi_5/metadata/PNG image.png,thewilds_20250630_20250703/drones/20250703_parrotanafi_5/metadata/PNG image.png,8327847,true,
31
+ media/thewilds_20250630_20250703/20250703_parrotanafi_5/metadata/mission_notes_5.txt,thewilds_20250630_20250703/drones/20250703_parrotanafi_5/metadata/mission_notes_5.txt,100,true,
32
+ media/thewilds_20250630_20250703/20250703_parrotanafi_5/videos/VID_001.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_5/videos/VID_001.MP4,59665488,true,
33
+ media/thewilds_20250630_20250703/20250703_parrotanafi_5/videos/VID_002.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_5/videos/VID_002.MP4,4207387557,true,
34
+ media/thewilds_20250630_20250703/20250703_parrotanafi_5/videos/VID_003.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_5/videos/VID_003.MP4,2675309996,true,
35
+ media/thewilds_20250630_20250703/20250703_parrotanafi_5/videos/VID_004.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_5/videos/VID_004.MP4,4208574991,true,
36
+ media/thewilds_20250630_20250703/20250703_parrotanafi_5/videos/VID_005.MP4,thewilds_20250630_20250703/drones/20250703_parrotanafi_5/videos/VID_005.MP4,1495358825,true,
37
+ media/thewilds_20250804_20250828/20250811_DJI_01/metadata/ExportCSV_2025-08-11_[10-29-13].csv,thewilds_20250804_20250828/drones/20250811_DJI_01/metadata/ExportCSV_2025-08-11_[10-29-13].csv,207909,true,
38
+ media/thewilds_20250804_20250828/20250811_DJI_01/videos/DJI_0001.MOV,thewilds_20250804_20250828/drones/20250811_DJI_01/videos/DJI_0001.MOV,735322563,true,
39
+ media/thewilds_20250804_20250828/20250811_DJI_01/videos/DJI_0002.MOV,thewilds_20250804_20250828/drones/20250811_DJI_01/videos/DJI_0002.MOV,1895502839,true,
40
+ media/thewilds_20250804_20250828/20250811_parrot_01/videos/P5180524.MP4,thewilds_20250804_20250828/drones/20250811_parrot_01/videos/P5180524.MP4,1148007773,true,
41
+ media/thewilds_20250804_20250828/20250811_parrot_01/videos/P5190525.MP4,thewilds_20250804_20250828/drones/20250811_parrot_01/videos/P5190525.MP4,4209204818,true,
42
+ media/thewilds_20250804_20250828/20250811_parrot_01/videos/P5190526.MP4,thewilds_20250804_20250828/drones/20250811_parrot_01/videos/P5190526.MP4,2848054800,true,
43
+ media/thewilds_20250804_20250828/20250818_parrot_01/metadata/0914_2025-08-18T091406-0400_3B8915_008A.json,thewilds_20250804_20250828/drones/20250818_parrot_01/metadata/0914_2025-08-18T091406-0400_3B8915_008A.json,1791153,true,
44
+ media/thewilds_20250804_20250828/20250818_parrot_01/videos/P5760583.MP4,thewilds_20250804_20250828/drones/20250818_parrot_01/videos/P5760583.MP4,4208941916,true,
45
+ media/thewilds_20250804_20250828/20250818_parrot_01/videos/P5760584.MP4,thewilds_20250804_20250828/drones/20250818_parrot_01/videos/P5760584.MP4,4212081400,true,
46
+ media/thewilds_20250804_20250828/20250818_parrot_01/videos/P5760585.MP4,thewilds_20250804_20250828/drones/20250818_parrot_01/videos/P5760585.MP4,939266807,true,
47
+ media/thewilds_20250804_20250828/20250818_parrot_02/metadata/0914_2025-08-18T094325-0400_43D0DB_008B.json,thewilds_20250804_20250828/drones/20250818_parrot_02/metadata/0914_2025-08-18T094325-0400_43D0DB_008B.json,1828935,true,
48
+ media/thewilds_20250804_20250828/20250818_parrot_02/videos/P5770586.MP4,thewilds_20250804_20250828/drones/20250818_parrot_02/videos/P5770586.MP4,4207032621,true,
49
+ media/thewilds_20250804_20250828/20250818_parrot_02/videos/P5770587.MP4,thewilds_20250804_20250828/drones/20250818_parrot_02/videos/P5770587.MP4,4207690420,true,
50
+ media/thewilds_20250804_20250828/20250818_parrot_02/videos/P5770588.MP4,thewilds_20250804_20250828/drones/20250818_parrot_02/videos/P5770588.MP4,1093737528,true,
51
+ media/thewilds_20250804_20250828/20250825_parrot_01/metadata/2025-08-25 09-13-47.json,thewilds_20250804_20250828/drones/20250825_parrot_01/metadata/2025-08-25 09-13-47.json,603534,true,
52
+ media/thewilds_20250804_20250828/20250825_parrot_01/videos/P6140626.MP4,thewilds_20250804_20250828/drones/20250825_parrot_01/videos/P6140626.MP4,4208317405,true,
53
+ media/thewilds_20250804_20250828/20250825_parrot_01/videos/P6140627.MP4,thewilds_20250804_20250828/drones/20250825_parrot_01/videos/P6140627.MP4,1182758133,true,
54
+ media/thewilds_20250804_20250828/20250825_parrot_02/metadata/2025-08-25 09-43-01.json,thewilds_20250804_20250828/drones/20250825_parrot_02/metadata/2025-08-25 09-43-01.json,1289427,true,
55
+ media/thewilds_20250804_20250828/20250825_parrot_03/metadata/2025-08-25 10-15-53.json,thewilds_20250804_20250828/drones/20250825_parrot_03/metadata/2025-08-25 10-15-53.json,1285174,true,
56
+ media/thewilds_20250804_20250828/20250825_parrot_04/metadata/2025-08-25 10-50-31.json,thewilds_20250804_20250828/drones/20250825_parrot_04/metadata/2025-08-25 10-50-31.json,741319,true,
57
+ media/thewilds_20250908_20250908/20250908_djiair_1/metadata/Sep-8th-2025-09-16AM-Flight-Airdata.csv,thewilds_20250908_20250908/drones/20250908_djiair_1/metadata/Sep-8th-2025-09-16AM-Flight-Airdata.csv,1724364,true,
58
+ media/thewilds_20250908_20250908/20250908_djiair_1/metadata/Sep-8th-2025-09-16AM-Flight-Airdata.kml,thewilds_20250908_20250908/drones/20250908_djiair_1/metadata/Sep-8th-2025-09-16AM-Flight-Airdata.kml,46693,true,
59
+ media/thewilds_20250908_20250908/20250908_djiair_1/metadata/airdata.png,thewilds_20250908_20250908/drones/20250908_djiair_1/metadata/airdata.png,1064278,true,
60
+ media/thewilds_20250908_20250908/20250908_djiair_1/metadata/mission_notes.txt,thewilds_20250908_20250908/drones/20250908_djiair_1/metadata/mission_notes.txt,429,true,
61
+ media/thewilds_20250908_20250908/20250908_djiair_1/video_files/DJI_0070.MP4,thewilds_20250908_20250908/drones/20250908_djiair_1/video_files/DJI_0070.MP4,1985030787,true,
62
+ media/thewilds_20250908_20250908/20250908_djiair_1/video_files/DJI_0071.MP4,thewilds_20250908_20250908/drones/20250908_djiair_1/video_files/DJI_0071.MP4,1109454083,true,
63
+ media/thewilds_20250908_20250908/20250908_djiair_2/metadata/Sep-8th-2025-09-29AM-Flight-Airdata.csv,thewilds_20250908_20250908/drones/20250908_djiair_2/metadata/Sep-8th-2025-09-29AM-Flight-Airdata.csv,1022440,true,
64
+ media/thewilds_20250908_20250908/20250908_djiair_2/metadata/Sep-8th-2025-09-29AM-Flight-Airdata.kml,thewilds_20250908_20250908/drones/20250908_djiair_2/metadata/Sep-8th-2025-09-29AM-Flight-Airdata.kml,27987,true,
65
+ media/thewilds_20250908_20250908/20250908_djiair_2/metadata/airdata2.png,thewilds_20250908_20250908/drones/20250908_djiair_2/metadata/airdata2.png,1058708,true,
66
+ media/thewilds_20250908_20250908/20250908_djiair_2/metadata/mission_notes.txt,thewilds_20250908_20250908/drones/20250908_djiair_2/metadata/mission_notes.txt,417,true,
67
+ media/thewilds_20250908_20250908/20250908_djiair_2/videos/DJI_0072.MP4,thewilds_20250908_20250908/drones/20250908_djiair_2/videos/DJI_0072.MP4,2279725035,true,
68
+ media/thewilds_20250908_20250908/20250908_djiair_3/metadata/Sep-8th-2025-10-25AM-Flight-Airdata.csv,thewilds_20250908_20250908/drones/20250908_djiair_3/metadata/Sep-8th-2025-10-25AM-Flight-Airdata.csv,247412,true,
69
+ media/thewilds_20250908_20250908/20250908_djiair_3/metadata/Sep-8th-2025-10-25AM-Flight-Airdata.kml,thewilds_20250908_20250908/drones/20250908_djiair_3/metadata/Sep-8th-2025-10-25AM-Flight-Airdata.kml,7964,true,
70
+ media/thewilds_20250908_20250908/20250908_djiair_3/metadata/airdata3.png,thewilds_20250908_20250908/drones/20250908_djiair_3/metadata/airdata3.png,713462,true,
71
+ media/thewilds_20250908_20250908/20250908_djiair_3/metadata/mission_notes.txt,thewilds_20250908_20250908/drones/20250908_djiair_3/metadata/mission_notes.txt,406,true,
72
+ media/thewilds_20250908_20250908/20250908_djiair_3/videos/DJI_0074.MP4,thewilds_20250908_20250908/drones/20250908_djiair_3/videos/DJI_0074.MP4,1080092443,true,
73
+ media/thewilds_20250908_20250908/20250908_djiair_4/metadata/Sep-8th-2025-10-30AM-Flight-Airdata.csv,thewilds_20250908_20250908/drones/20250908_djiair_4/metadata/Sep-8th-2025-10-30AM-Flight-Airdata.csv,3591271,true,
74
+ media/thewilds_20250908_20250908/20250908_djiair_4/metadata/Sep-8th-2025-10-30AM-Flight-Airdata.kml,thewilds_20250908_20250908/drones/20250908_djiair_4/metadata/Sep-8th-2025-10-30AM-Flight-Airdata.kml,95748,true,
75
+ media/thewilds_20250908_20250908/20250908_djiair_4/metadata/airdata4.png,thewilds_20250908_20250908/drones/20250908_djiair_4/metadata/airdata4.png,968634,true,
76
+ media/thewilds_20250908_20250908/20250908_djiair_4/metadata/mission_notes.txt,thewilds_20250908_20250908/drones/20250908_djiair_4/metadata/mission_notes.txt,276,true,
77
+ media/thewilds_20250908_20250908/20250908_djiair_4/videos/DJI_0075.MP4,thewilds_20250908_20250908/drones/20250908_djiair_4/videos/DJI_0075.MP4,4090477321,true,
78
+ media/thewilds_20250908_20250908/20250908_djiair_4/videos/DJI_0076.MP4,thewilds_20250908_20250908/drones/20250908_djiair_4/videos/DJI_0076.MP4,386409656,true,
smartwilds-drones/metadata/DATA_DICTIONARY.md ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # smartwilds-drones data dictionary
2
+
3
+ Generated by `scripts/build_hf_release.py`. Darwin Core term definitions: <https://dwc.tdwg.org/terms/>. Columns not listed in a Darwin Core namespace are SmartWilds-specific.
4
+
5
+ ## `analysis/bird_water_association_per_box.csv`
6
+
7
+ 1,590 rows.
8
+
9
+ | Column | Description | Example |
10
+ |---|---|---|
11
+ | `modality` | | camera_trap |
12
+ | `session` | | camera_trap_curated_birds |
13
+ | `image_id` | | 1 |
14
+ | `annotation_id` | | 1 |
15
+ | `species_label` | | canada_goose |
16
+ | `file_name` | | images/canada_goose/001_canada_goose_TW09_CT02_001_camera_tr… |
17
+ | `bbox` | | [2120.788818359375, 1105.6610107421875, 123.6484375, 58.1750… |
18
+ | `box_area_pixels` | | 7193.253889083862 |
19
+ | `water_pixels_in_box` | | 149 |
20
+ | `water_overlap_fraction` | | 1.0 |
21
+ | `has_any_water_overlap` | | True |
22
+ | `water_rule` | | camera provenance: any of ['TW09'] in file_name => water; ot… |
23
+ | `lake_json` | | TheWilds2025/processing_output/detections/drones/drone_every… |
24
+ | `n_lake_detections` | | 1 |
25
+ | `max_lake_score` | | 0.9739968180656433 |
26
+ | `water_overlap_ge_0.01` | | True |
27
+ | `water_overlap_ge_0.05` | | True |
28
+ | `water_overlap_ge_0.1` | | True |
29
+ | `water_overlap_ge_0.25` | | True |
30
+ | `water_overlap_ge_0.5` | | True |
31
+
32
+ ## `data/detections.csv`
33
+
34
+ 317,559 rows.
35
+
36
+ | Column | Description | Example |
37
+ |---|---|---|
38
+ | `occurrenceID` | Darwin Core: unique Occurrence identifier | TheWilds_2025_drone_000001 |
39
+ | `eventID` | Darwin Core: unique Event identifier | TheWilds_2025_drone_20250701_parrotanafi_1_VID_001 |
40
+ | `video_path` | Release-relative path of the raw video | media/thewilds_20250630_20250703/20250701_parrotanafi_1/vide… |
41
+ | `detection_id` | <video>_<frame>_<k> from the SAM3 run | VID_001_000105_001 |
42
+ | `frame_index` | 0-based native frame index in the video (SAM3 sampled every 15th frame) | 105 |
43
+ | `bbox_x` | Box left, pixels, in the native frame | 8.42 |
44
+ | `bbox_y` | Box top, pixels | -8.39 |
45
+ | `bbox_w` | Box width, pixels | 74.68 |
46
+ | `bbox_h` | Box height, pixels | 68.38 |
47
+ | `scientificName` | Darwin Core: top-1 model or annotator taxon | Kryptopterus vitreolus |
48
+ | `vernacularName` | Darwin Core: common name | Common Starling |
49
+ | `top1_score` | BioCLIP Tree-of-Life top-1 score | 0.0019780425354838 |
50
+ | `georef_status` | Ground-projection status (ok | invalid_altitude | missing_drone_gps | horizon_ray | out_of_range) | invalid_altitude |
51
+
52
+ ## `data/events.csv`
53
+
54
+ 55 rows.
55
+
56
+ | Column | Description | Example |
57
+ |---|---|---|
58
+ | `eventID` | Darwin Core: unique Event identifier | TheWilds_2025_drones |
59
+ | `parentEventID` | Darwin Core: eventID of the parent Event | TheWilds_2025 |
60
+ | `eventType` | Darwin Core: Project, SensorDeployment, AudioRecording, MediaEvent, or ObservationSession | Project |
61
+ | `eventDate` | Darwin Core: ISO 8601 date or date interval (start/end) | 2025-07-01/2025-09-08 |
62
+ | `samplingProtocol` | Darwin Core: sensor, schedule, and processing chain | Drone video surveys; detections by SAM3, Tree-of-Life classi… |
63
+ | `sampleSizeValue` | Darwin Core: sample size | 39 |
64
+ | `sampleSizeUnit` | Darwin Core: unit of sampleSizeValue | raw drone videos (38 processed; 1 intentionally excluded) |
65
+ | `locality` | Darwin Core: named place | The Wilds Conservation Center, Muskingum County, Ohio, USA |
66
+ | `locationID` | Darwin Core: site (TWxx) for fixed sensors; flight ID for drones | 20250701_parrotanafi_1 |
67
+ | `decimalLatitude` | Darwin Core: WGS84; see dataGeneralizations for what the point represents | 39.83 |
68
+ | `decimalLongitude` | Darwin Core: WGS84 | -81.74 |
69
+ | `coordinateUncertaintyInMeters` | Darwin Core: meters | 5000 |
70
+ | `geodeticDatum` | Darwin Core: WGS84 | WGS84 |
71
+ | `country` | | United States |
72
+ | `stateProvince` | | Ohio |
73
+ | `county` | | Muskingum |
74
+ | `datasetID` | Darwin Core: modality dataset identifier | TheWilds_2025_drones |
75
+ | `datasetName` | Darwin Core | The Wilds 2025 Multi-Modal Survey - Drone Imagery |
76
+ | `recordedBy` | Darwin Core: device or team | Drone field team |
77
+ | `fieldNotes` | Darwin Core: provenance and field notes | 38 videos regenerated from current Tree-of-Life outputs; VID… |
78
+ | `eventTime` | Darwin Core: local time (or interval); blank when not recoverable | 10:29:39/10:35:44 |
79
+
80
+ ## `data/occurrences.csv`
81
+
82
+ 318,215 rows.
83
+
84
+ | Column | Description | Example |
85
+ |---|---|---|
86
+ | `occurrenceID` | Darwin Core: unique Occurrence identifier | TheWilds_2025_drone_000001 |
87
+ | `eventID` | Darwin Core: unique Event identifier | TheWilds_2025_drone_20250701_parrotanafi_1_VID_001 |
88
+ | `catalogNumber` | Darwin Core: source record identifier | drone_20250701_parrotanafi_1_VID_001_image1_ann1 |
89
+ | `scientificName` | Darwin Core: top-1 model or annotator taxon | Kryptopterus vitreolus |
90
+ | `kingdom` | Darwin Core: rank | Animalia |
91
+ | `phylum` | Darwin Core: rank | Chordata |
92
+ | `class` | Darwin Core: rank | Aves |
93
+ | `order` | Darwin Core: rank | Siluriformes |
94
+ | `family` | Darwin Core: rank | Siluridae |
95
+ | `genus` | Darwin Core: rank | Kryptopterus |
96
+ | `specificEpithet` | Darwin Core: rank | vitreolus |
97
+ | `taxonRank` | Darwin Core: rank of scientificName | species |
98
+ | `vernacularName` | Darwin Core: common name | Common Starling |
99
+ | `occurrenceStatus` | Darwin Core: present | present |
100
+ | `individualCount` | Darwin Core: 1 per visual crop; number of BirdNET detections for acoustic rows | 1 |
101
+ | `lifeStage` | | |
102
+ | `sex` | | |
103
+ | `behavior` | | |
104
+ | `basisOfRecord` | Darwin Core: MachineObservation or HumanObservation | MachineObservation |
105
+ | `recordedBy` | Darwin Core: device or team | Drone imagery |
106
+ | `identifiedBy` | Darwin Core: model (and version) or annotator | SAM3 + BioCLIP Tree of Life |
107
+ | `identificationVerificationStatus` | Darwin Core: verification status; the vocabulary differs by table (SUPPLEMENTAL.md S9.3) | unverified |
108
+ | `identificationRemarks` | Darwin Core: rank, top-1 score, bbox xywh (px), detector label | Tree-of-Life rank: species; top1 score: 0.001978042535483837… |
109
+ | `eventDate` | Darwin Core: ISO 8601 date or date interval (start/end) | 2025-07-01 |
110
+ | `eventTime` | Darwin Core: local time (or interval); blank when not recoverable | 08:34:41 |
111
+ | `decimalLatitude` | Darwin Core: WGS84; see dataGeneralizations for what the point represents | 39.82887083333163 |
112
+ | `decimalLongitude` | Darwin Core: WGS84 | -81.74238066666636 |
113
+ | `coordinateUncertaintyInMeters` | Darwin Core: meters | 100 |
114
+ | `geodeticDatum` | Darwin Core: WGS84 | WGS84 |
115
+ | `locality` | Darwin Core: named place | The Wilds Conservation Center |
116
+ | `locationID` | Darwin Core: site (TWxx) for fixed sensors; flight ID for drones | 20250701_parrotanafi_1 |
117
+ | `country` | | United States |
118
+ | `stateProvince` | | Ohio |
119
+ | `county` | | Muskingum |
120
+ | `establishmentMeans` | | managed |
121
+ | `degreeOfEstablishment` | | captive |
122
+ | `occurrenceRemarks` | Darwin Core: projection status, timestamp method, repair notes (key=value; ...) | Frame-level drone detection crop; source=deep learning (sam3… |
123
+ | `associatedMedia` | Darwin Core: release-relative path to the source media file | media/thewilds_20250630_20250703/20250701_parrotanafi_1/vide… |
124
+ | `associatedReferences` | Darwin Core: release-relative supporting analysis file | |
125
+ | `datasetID` | Darwin Core: modality dataset identifier | TheWilds_2025_drones |
126
+ | `datasetName` | Darwin Core | The Wilds 2025 Multi-Modal Survey - Drone Imagery |
127
+ | `informationWithheld` | Darwin Core | |
128
+ | `dataGeneralizations` | Darwin Core: what the coordinate represents | When drone_georef_status=ok, decimalLatitude/decimalLongitud… |
129
+
130
+ ## `media_manifest.csv`
131
+
132
+ 77 rows.
133
+
134
+ | Column | Description | Example |
135
+ |---|---|---|
136
+ | `release_path` | Path of the file inside this dataset | media/thewilds_20250630_20250703/20250701_parrotanafi_1/meta… |
137
+ | `source_path` | Path in the project archive | thewilds_20250630_20250703/drones/20250701_parrotanafi_1/met… |
138
+ | `bytes` | File size | 1824672 |
139
+ | `include` | true if the file is distributed in media/ | true |
140
+ | `exclusion_reason` | Why a file is not distributed | |
141
+
142
+ ## `metadata/drone_projection_config.csv`
143
+
144
+ 4 rows.
145
+
146
+ | Column | Description | Example |
147
+ |---|---|---|
148
+ | `enabled` | | 1 |
149
+ | `pattern` | | parrotanafi |
150
+ | `hfov_deg` | | 69.0 |
151
+ | `vfov_deg` | | 42.5 |
152
+ | `fallback_pitch_deg` | | -45.0 |
153
+ | `use_fallback_when_pitch_abs_lt` | | 35.0 |
154
+ | `notes` | | Parrot Anafi approximate 4K FOV; processed gimbal_pitch ofte… |
155
+
156
+ ## `metadata/flights.csv`
157
+
158
+ 15 rows.
159
+
160
+ | Column | Description | Example |
161
+ |---|---|---|
162
+ | `eventID` | Darwin Core: unique Event identifier | TheWilds_2025_drone_20250701_parrotanafi_1 |
163
+ | `eventDate` | Darwin Core: ISO 8601 date or date interval (start/end) | 2025-07-01 |
164
+ | `locationID` | Darwin Core: site (TWxx) for fixed sensors; flight ID for drones | 20250701_parrotanafi_1 |
165
+ | `fieldNotes` | Darwin Core: provenance and field notes | Collection: thewilds_20250630_20250703; flight/session: 2025… |
166
+ | `platform` | | Parrot Anafi 4K |
167
+ | `videos` | | 4 |
168
+ | `occurrences` | | 16528 |
169
+
170
+ ## `metadata/platforms.csv`
171
+
172
+ 3 rows.
173
+
174
+ | Column | Description | Example |
175
+ |---|---|---|
176
+ | `Platform` | | Parrot Anafi 4K |
177
+ | `Campaigns` | | C1 (Jul 1, 3), C2 (Aug 11, 18, 25) |
178
+ | `Video Resolution` | | 4K MP4 |
179
+ | `Telemetry Format` | | Parrot JSON / GUTMA DX |
180
+ | `Flights` | | 10 video-bearing sessions |
181
+
smartwilds-drones/metadata/drone_projection_config.csv ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ enabled,pattern,hfov_deg,vfov_deg,fallback_pitch_deg,use_fallback_when_pitch_abs_lt,notes
2
+ 1,parrotanafi,69.0,42.5,-45.0,35.0,"Parrot Anafi approximate 4K FOV; processed gimbal_pitch often resembles body pitch, so near-level values use -45 deg fallback."
3
+ 1,parrot,69.0,42.5,-45.0,35.0,"Parrot Anafi approximate 4K FOV; processed gimbal_pitch often resembles body pitch, so near-level values use -45 deg fallback."
4
+ 1,djiair,84.0,53.1,-45.0,2.0,"DJI Air approximate wide video FOV; use gimbal_pitch unless effectively zero."
5
+ 1,DJI_01,84.0,53.1,-45.0,2.0,"DJI August flight approximate video FOV; projection will fail if pose metadata is absent."
smartwilds-drones/metadata/flights.csv ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ eventID,eventDate,locationID,fieldNotes,platform,videos,occurrences
2
+ TheWilds_2025_drone_20250701_parrotanafi_1,2025-07-01,20250701_parrotanafi_1,Collection: thewilds_20250630_20250703; flight/session: 20250701_parrotanafi_1,Parrot Anafi 4K,4,16528
3
+ TheWilds_2025_drone_20250703_parrotanafi_1,2025-07-03,20250703_parrotanafi_1,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_1,Parrot Anafi 4K,3,42098
4
+ TheWilds_2025_drone_20250703_parrotanafi_2,2025-07-03,20250703_parrotanafi_2,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_2,Parrot Anafi 4K,3,9822
5
+ TheWilds_2025_drone_20250703_parrotanafi_3,2025-07-03,20250703_parrotanafi_3,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_3,Parrot Anafi 4K,2,692
6
+ TheWilds_2025_drone_20250703_parrotanafi_4,2025-07-03,20250703_parrotanafi_4,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_4,Parrot Anafi 4K,3,7879
7
+ TheWilds_2025_drone_20250703_parrotanafi_5,2025-07-03,20250703_parrotanafi_5,Collection: thewilds_20250630_20250703; flight/session: 20250703_parrotanafi_5; coordinate_source=unavailable_no_single_session_location,Parrot Anafi 4K,5,63718
8
+ TheWilds_2025_drone_20250811_DJI_01,2025-08-11,20250811_DJI_01,Collection: thewilds_20250804_20250828; flight/session: 20250811_DJI_01; eventDate derived from flight identifier 20250811; eventTime recovered from the video container creation time (release build 2026-11-10; metadata/provenance/drone_time_recovery_20250811.json),DJI (unspecified airframe),2,17057
9
+ TheWilds_2025_drone_20250811_parrot_01,2025-08-11,20250811_parrot_01,Collection: thewilds_20250804_20250828; flight/session: 20250811_parrot_01; eventDate derived from flight identifier 20250811; eventTime recovered from the video container creation time (release build 2026-11-10; metadata/provenance/drone_time_recovery_20250811.json); coordinate_source=unavailable_no_single_session_location,Parrot Anafi 4K,3,24467
10
+ TheWilds_2025_drone_20250818_parrot_01,2025-08-18,20250818_parrot_01,Collection: thewilds_20250804_20250828; flight/session: 20250818_parrot_01,Parrot Anafi 4K,3,24998
11
+ TheWilds_2025_drone_20250818_parrot_02,2025-08-18,20250818_parrot_02,Collection: thewilds_20250804_20250828; flight/session: 20250818_parrot_02,Parrot Anafi 4K,3,16045
12
+ TheWilds_2025_drone_20250825_parrot_01,2025-08-25,20250825_parrot_01,Collection: thewilds_20250804_20250828; flight/session: 20250825_parrot_01,Parrot Anafi 4K,2,12195
13
+ TheWilds_2025_drone_20250908_djiair_1,2025-09-08,20250908_djiair_1,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_1,DJI Air 2,2,20206
14
+ TheWilds_2025_drone_20250908_djiair_2,2025-09-08,20250908_djiair_2,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_2,DJI Air 2,1,5327
15
+ TheWilds_2025_drone_20250908_djiair_3,2025-09-08,20250908_djiair_3,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_3,DJI Air 2,1,567
16
+ TheWilds_2025_drone_20250908_djiair_4,2025-09-08,20250908_djiair_4,Collection: thewilds_20250908_20250908; flight/session: 20250908_djiair_4,DJI Air 2,2,56616
smartwilds-drones/metadata/platforms.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Platform,Campaigns,Video Resolution,Telemetry Format,Flights
2
+ Parrot Anafi 4K,"C1 (Jul 1, 3), C2 (Aug 11, 18, 25)",4K MP4,Parrot JSON / GUTMA DX,10 video-bearing sessions
3
+ DJI (unspecified),C2 (Aug 11),1080p MOV,"CSV (GPS + battery, 10Hz)",1 session
4
+ DJI Air 2,C3 (Sep 8),4K MP4,Airdata CSV,4 flights
smartwilds-drones/metadata/provenance/drone_missing_media_repair_20261010.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "policy": "Occurrences retain an extracted frame when available; unavailable scratch frames are represented by their unique retained original video and explicitly marked as a video-level media fallback.",
3
+ "previous_audit": {
4
+ "unique_missing_scratch_frame_paths": 16069
5
+ },
6
+ "repair": "missing drone scratch-frame media references",
7
+ "tables": {
8
+ "drones/darwin_core_occurrences_drones.csv": {
9
+ "distinct_original_videos": 38,
10
+ "nonexistent_media_after_repair": 0,
11
+ "rows_relinked_to_original_video": 307260,
12
+ "rows_retaining_existing_scratch_frame": 10943
13
+ },
14
+ "occurrences_all_modalities.csv": {
15
+ "distinct_original_videos": 38,
16
+ "nonexistent_media_after_repair": 0,
17
+ "rows_relinked_to_original_video": 307260,
18
+ "rows_retaining_existing_scratch_frame": 10943
19
+ }
20
+ }
21
+ }
smartwilds-drones/metadata/provenance/drone_time_recovery_20250811.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "defect": 15,
3
+ "title": "Time of day of the 2025-08-11 drone flights recovered from video container creation times, with the clock convention resolved against reference flights and the field log",
4
+ "generated": "2026-11-10T20:20:49+00:00",
5
+ "generated_by": "release/scripts/recover_drone_times.py",
6
+ "timezone": "America/New_York (EDT, UTC-4) on 2025-08-11",
7
+ "method": "eventTime of each MediaEvent = container creation time (converted per airframe convention) to creation time + duration; eventTime of each Occurrence = video start + frame_index / fps; flight Events span their videos.",
8
+ "reference_flights": [
9
+ {
10
+ "airframe": "Parrot Anafi 4K",
11
+ "video": "P5760583.MP4",
12
+ "container_creation_time": "2025-08-18T13:14:08.000000Z",
13
+ "known_local_start": "2025-08-18T09:14:06-04:00",
14
+ "known_from": "metadata JSON 0914_2025-08-18T091406-0400_3B8915_008A.json",
15
+ "offset_if_container_is_utc_s": 2.0,
16
+ "offset_if_container_is_local_s": 14402.0,
17
+ "convention": "UTC"
18
+ },
19
+ {
20
+ "airframe": "DJI Air 2",
21
+ "video": "DJI_0070.MP4",
22
+ "container_creation_time": "2025-09-08T13:16:47.000000Z",
23
+ "known_local_start": "2025-09-08T09:16:25-04:00",
24
+ "known_from": "telemetry datetime(utc) 2025-09-08 13:16:25 (first row)",
25
+ "offset_if_container_is_utc_s": 22.0,
26
+ "offset_if_container_is_local_s": 14422.0,
27
+ "convention": "UTC"
28
+ }
29
+ ],
30
+ "field_evidence": {
31
+ "field_log": "2025-08-11: 'flew 2 drones: parrot anafi near nomad shelter and zipline tower, DJI Mavic 3 at dock area'; Stop 1 (Nomad Ridge, TW01/TW02): 'Flew Parrot drone to survey lake area, captured images of Pdeer in lake'; the dock (TW09) was Stop 5.",
32
+ "jotform_checkins_local": [
33
+ "09:32 TW07 dropoff",
34
+ "09:32 TW01 pickup",
35
+ "09:40 TW07",
36
+ "09:41 TW06",
37
+ "09:44 TW07",
38
+ "09:53 TW07",
39
+ "09:55 TW06",
40
+ "10:48 TW05"
41
+ ],
42
+ "inference": "The team was on site from about 09:30. A Parrot start of 13:12 UTC is 09:12 local, consistent with flying at Stop 1 before servicing the TW01 camera at 09:32. A DJI start of 10:29 cannot be UTC (06:29 local, before anyone was on site), so the Mavic 3 wrote local time; 10:29 to 10:36 local fits the dock stop in the second half of the morning."
43
+ },
44
+ "videos": [
45
+ {
46
+ "eventID": "TheWilds_2025_drone_20250811_DJI_01_DJI_0001",
47
+ "flight_eventID": "TheWilds_2025_drone_20250811_DJI_01",
48
+ "video": "DJI_0001.MOV",
49
+ "airframe": "DJI Mavic 3",
50
+ "container_creation_time": "2025-08-11T10:29:39.000000Z",
51
+ "clock_convention": "local",
52
+ "local_start": "10:29:39",
53
+ "local_end": "10:31:17",
54
+ "duration_s": 98.098,
55
+ "fps": 29.97002997002997,
56
+ "frames": 2940,
57
+ "confidence": "medium: local-time convention inferred from the field schedule and the telemetry export file name; the Air 2 flown on 2025-09-08 wrote UTC, so the convention is airframe-specific"
58
+ },
59
+ {
60
+ "eventID": "TheWilds_2025_drone_20250811_DJI_01_DJI_0002",
61
+ "flight_eventID": "TheWilds_2025_drone_20250811_DJI_01",
62
+ "video": "DJI_0002.MOV",
63
+ "airframe": "DJI Mavic 3",
64
+ "container_creation_time": "2025-08-11T10:31:32.000000Z",
65
+ "clock_convention": "local",
66
+ "local_start": "10:31:32",
67
+ "local_end": "10:35:44",
68
+ "duration_s": 252.886,
69
+ "fps": 29.97002997002997,
70
+ "frames": 7579,
71
+ "confidence": "medium: local-time convention inferred from the field schedule and the telemetry export file name; the Air 2 flown on 2025-09-08 wrote UTC, so the convention is airframe-specific"
72
+ },
73
+ {
74
+ "eventID": "TheWilds_2025_drone_20250811_parrot_01_P5180524",
75
+ "flight_eventID": "TheWilds_2025_drone_20250811_parrot_01",
76
+ "video": "P5180524.MP4",
77
+ "airframe": "Parrot Anafi 4K",
78
+ "container_creation_time": "2025-08-11T13:12:43.000000Z",
79
+ "clock_convention": "UTC",
80
+ "local_start": "09:12:43",
81
+ "local_end": "09:14:14",
82
+ "duration_s": 91.264,
83
+ "fps": 29.980991941489382,
84
+ "frames": 2735,
85
+ "confidence": "high: UTC convention verified on the 2025-08-18 flight to within 2 s"
86
+ },
87
+ {
88
+ "eventID": "TheWilds_2025_drone_20250811_parrot_01_P5190525",
89
+ "flight_eventID": "TheWilds_2025_drone_20250811_parrot_01",
90
+ "video": "P5190525.MP4",
91
+ "airframe": "Parrot Anafi 4K",
92
+ "container_creation_time": "2025-08-11T13:14:19.000000Z",
93
+ "clock_convention": "UTC",
94
+ "local_start": "09:14:19",
95
+ "local_end": "09:19:54",
96
+ "duration_s": 335.339,
97
+ "fps": 29.973012359319455,
98
+ "frames": 10050,
99
+ "confidence": "high: UTC convention verified on the 2025-08-18 flight to within 2 s"
100
+ },
101
+ {
102
+ "eventID": "TheWilds_2025_drone_20250811_parrot_01_P5190526",
103
+ "flight_eventID": "TheWilds_2025_drone_20250811_parrot_01",
104
+ "video": "P5190526.MP4",
105
+ "airframe": "Parrot Anafi 4K",
106
+ "container_creation_time": "2025-08-11T13:19:55.000000Z",
107
+ "clock_convention": "UTC",
108
+ "local_start": "09:19:55",
109
+ "local_end": "09:23:43",
110
+ "duration_s": 228.27,
111
+ "fps": 29.974407175513495,
112
+ "frames": 6841,
113
+ "confidence": "high: UTC convention verified on the 2025-08-18 flight to within 2 s"
114
+ }
115
+ ]
116
+ }
smartwilds-drones/metadata/provenance/excluded_drone_media_event_repair_20261008.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repair": "explicit excluded raw drone MediaEvent",
3
+ "eventID": "TheWilds_2025_drone_20250703_parrotanafi_4_VID_001",
4
+ "raw_media": "thewilds_20250630_20250703/drones/20250703_parrotanafi_4/video_files/VID_001.MP4",
5
+ "processing_status": "intentionally_excluded",
6
+ "reason": "Tiny video reviewed with no significant content.",
7
+ "occurrences_added": 0,
8
+ "merged_event_count_after_repair": 2470
9
+ }