Fish location data based on PIT
Data files
Sep 04, 2025 version files 22.96 KB
-
experiment1.csv
5.80 KB
-
experiment2.csv
4.54 KB
-
experiment3.csv
4.01 KB
-
Fish_habitat_time_statistics.txt
3.65 KB
-
README.md
4.97 KB
Abstract
The establishment of hydropower projects have affected the flow regime and structure of fish habitats. Various habitat restoration measures based on natural river morphology have been carried out, but the effects of habitat restoration and the hydrodynamic mechanisms of fish preferred topography remain unclear. Based on a large ecological test site, we created a variety of near-natural microtopographic habitats and achieved real-time monitoring of behavioral characteristics of the test fish habitats by deploying a Radio Frequency Identification (RFID) system incorporating Passive Integrated Transponder (PIT) tags. The experimental results indicate that microtopographies with different structures have a certain attraction to fish behavior. Among the four selected hydrodynamic indicators, flow velocity and vorticity have a greater effect on Onychostoma sima (O. sima). The optimal vorticity for fish habitats ranges between 1.75 and 10.85 s⁻¹, with suitable flow velocities exceeding 0.545 m/s. The hydrodynamic mechanism of habitat selection for the test fish is presented according to the Habitat Suitability Index (HSI) and Regression Tree (CART) methodology. The results have verified by the Receiver Operating Characteristic (ROC) method showed that the habitat selection model based on hydrodynamic indicators has a good prediction effect on the determination of suitable habitat for most test fish. In this study, we explored the relationship between fish activities and hydrodynamic indicators in complex terrain, and obtained the utilisation patterns of fish for different habitats under changing terrain and flow conditions. It provides theoretical support for flow scheduling and habitat terrain management under the influence of hydropower projects.
1. General Information
- Title of dataset: Fish location data based on PIT
- Corresponding author: Han Liu (Email: l34175299@163.com)
- Date of data collection: [August 7, 2022, to September 15, 2022.]
- Geographic location of data collection: [Angu Hydropower Station, Leshan City, Sichuan Province, China]
2. Data & File Overview
This dataset contains PIT tag signal records and calculated habitat residence times of experimental fish under multiple channel topographies.
Files included:
- Fish_habitat_time_statistics.txt
- Python script used to calculate fish residence times from PIT tag signal sequences.
- experiment1.csv
- PIT tag dataset showing fish habitat residence times under 7 channel topographies.
- Includes 1 straight channel, 2 meandering channels, 2 pool–riffle channels, and 2 bar channels.
- experiment2.csv
- PIT tag dataset showing fish residence times in different areas of pool–riffle channels.
- experiment3.csv
- PIT tag dataset showing fish residence times in different areas of bar channels.
Measurement units:
All habitat time variables (e.g., straight, bend1, pool1, riffle1, bar1, inlet1, outlet1, braided_channel1, etc.) are expressed in seconds (s) as the cumulative residence time of fish within the specified channel region.
File format:
.csvfiles (UTF-8, comma-delimited, plain text, no formatting)..txtfile (Python script, UTF-8).
3. Methodological Information
- Data collection: Fish were tagged with PIT tags and released into experimental channels constructed under controlled hydraulic conditions. PIT antenna arrays recorded fish positions over time.
- Experimental conditions:
- Experiment 1: Seven different channel topographies (straight, meandering, pool–riffle, bar).
- Experiment 2: Fish residence times in specific regions of pool–riffle channels.
- Experiment 3: Fish residence times in specific regions of bar channels.
- Data processing: PIT signal points were converted into quantifiable residence times using the provided Python script.
4. Variable List & Definitions
Each .csv file contains tabular data. The following variables are included (example, adjust as needed):
- number: Unique identifier of the tagged fish.
- Flow rate: Discharge in experimental channel (m³/s).
- straight: Habitat time of fish in the Straight channel.
- bend1, bend2: Habitat time of fish in two different meandering channels.
- pool-riffle1, pool-riffle2: Habitat time of fish in two pool–riffle channels.
- bar1, bar2: Habitat time of fish in two sandbar channels.
- Channel1, Channel2, Channel3, Channel4, Channel5: Habitat time of fish in different test channels (general classification, corresponding to experimental setup).
- pool1, pool2: Habitat time of fish in two pool zones within two pool–riffle channels.
- riffle1, riffle2: Habitat time of fish in two riffle zones within two pool–riffle channels.
- inlet1, inlet2: Habitat time of fish in two inlet zones within two sandbar channels.
- outlet1, outlet2: Habitat time of fish in two outlet zones within two sandbar channels.
- Braided channel1, Braided channel2, Braided channel3, Braided channel4: Habitat time of fish in four braided channel sections.
5. Code Information
This script addresses the problem of converting PIT-tag point detection data into cumulative residence time information.
The three .csv datasets included in this submission were derived by processing PIT-tag point datasets with this script, resulting in quantifiable fish habitat residence times across different channel regions.
- File name:
Fish_habitat_time_statistics.txt - Programming language: Python (tested with Python 3.8)
- Purpose:
This script is designed to calculate fish habitat residence times in different channel regions/zones based on raw PIT-tag detection signals recorded in Excel files. - Input:
- An Excel file (
.xlsformat) containing PIT-tag detection records. - Columns used in the script:
- Column 2: Coil Number (detector ID, representing channel region/zone)
- Column 3: PIT Number (fish ID)
- Column 4: Time (detection timestamp, numerical format)
- An Excel file (
- Processing logic:
- The script loops through PIT detection records (
a[i],a[j]) and computes residence time by comparing consecutive time stamps. - It classifies habitat use into zones including:
- region1–region5 (general river sections)
- riffle1, riffle2 (riffle zones)
- pool1, pool2 (pool zones)
- Residence time is accumulated for each zone based on PIT detections.
- The script loops through PIT detection records (
- Output:
- Printed results to the console:
- Fish PIT number (ID)
- Residence time in each zone (region1–region5, riffle1–riffle2, pool1–pool2)
- Printed results to the console:
We adopt the passive integrated transponder (PIT) radio frequency identification system to monitor the habitat behavior of fish in the self-constructed area modelled after the natural river in the ecological test site.
