|
1 | | -# Data files |
| 1 | +# Data and fix tables |
2 | 2 |
|
3 | | -User editable data inputs - mostly fix tables. |
| 3 | +User editable data inputs and fixes - mostly fix tables. |
| 4 | + |
| 5 | +To make a fix to bcfishpass inputs via these tables: |
| 6 | + |
| 7 | +- clone the repository |
| 8 | +- edit the file of interest, making the required fix/addition |
| 9 | +- create a pull request |
4 | 10 |
|
5 | 11 | ## cabd_additions |
6 | 12 |
|
| 13 | +Insert falls or dams required for bcfishpass but not present in CABD. Includes placeholders for dams outside of BC |
| 14 | + |
| 15 | +| Column | Type | Description | |
| 16 | +|--------|------|-------------| |
| 17 | +| `feature_type` | `text` | Feature type, either waterfalls or dams | |
| 18 | +| `name` | `text` | Name of waterfalls or dam | |
| 19 | +| `height` | `numeric` | Height (m) of waterfalls or dam | |
| 20 | +| `barrier_ind` | `boolean` | Barrier status of waterfalls or dam (true/false) | |
| 21 | +| `blue_line_key` | `integer` | FWA blue_line_key (flow line) on which the feature lies | |
| 22 | +| `downstream_route_measure` | `integer` | The distance, in meters, along the blue_line_key from the mouth of the stream/blue_line_key to the feature. | |
| 23 | +| `reviewer_name` | `text` | Initials of user submitting the review, eg SN | |
| 24 | +| `review_date` | `date` | Date of review, in form YYYY-MM-DD eg 2025-01-07 | |
| 25 | +| `source` | `text` | Description or link to the source(s) documenting the feature | |
| 26 | +| `notes` | `text` | Reviewer notes on rationale for addition of the feature and/or how the source were interpreted | |
| 27 | + |
7 | 28 | ## cabd_blkey_xref |
8 | 29 |
|
| 30 | +Cross reference CABD features to FWA flow lines (blue_line_key), used when CABD feature location is closest to an inapproprate flow line |
| 31 | + |
| 32 | +| Column | Type | Description | |
| 33 | +|--------|------|-------------| |
| 34 | +| `cabd_id` | `text` | CABD unique identifier | |
| 35 | +| `blue_line_key` | `integer` | FWA blue_line_key (flow line) to which the CABD feature should be linked | |
| 36 | +| `reviewer_name` | `text` | Initials of user submitting the review, eg SN | |
| 37 | +| `review_date` | `date` | Date of review, in form YYYY-MM-DD eg 2025-01-07 | |
| 38 | +| `notes` | `text` | Reviewer notes on rationale for fix and/or how the source(s) were interpreted | |
| 39 | + |
9 | 40 | ## cabd_exclusions |
10 | 41 |
|
| 42 | +Exclude CABD records (waterfalls and dams) from bcfishpass usage |
| 43 | + |
| 44 | +| Column | Type | Description | |
| 45 | +|--------|------|-------------| |
| 46 | +| `cabd_id` | `text` | CABD unique identifier | |
| 47 | +| `feature_type` | `text` | Feature type, either waterfalls or dams | |
| 48 | +| `reviewer_name` | `text` | Initials of user submitting the review, eg SN | |
| 49 | +| `review_date` | `date` | Date of review, in form YYYY-MM-DD eg 2025-01-07 | |
| 50 | +| `source` | `text` | Description or link to the source(s) indicating why the feature should be excluded | |
| 51 | +| `notes` | `text` | Reviewer notes on rationale for exclusion and/or how the source were interpreted | |
| 52 | + |
11 | 53 | ## cabd_passability_status_updates |
12 | 54 |
|
| 55 | +Update the passability_status_code (within bcfishpass) of existing CABD features (dams or waterfalls) |
| 56 | + |
| 57 | +| Column | Type | Description | |
| 58 | +|--------|------|-------------| |
| 59 | +| `cabd_id` | `text` | CABD unique identifier | |
| 60 | +| `passability_status_code` | `integer` | Code referencing the degree to which the feature acts as a barrier to fish in the upstream direction. (1=Barrier, 2=Partial barrier, 3=Passable, 4=Unknown, 5=NA-No Structure, 6=NA-Decommissioned/Removed) | |
| 61 | +| `reviewer_name` | `text` | Initials of user submitting the review, eg SN | |
| 62 | +| `review_date` | `date` | Date of review, in form YYYY-MM-DD eg 2025-01-07 | |
| 63 | +| `source` | `text` | Description or link to the source(s) documenting the passability status of the feature | |
| 64 | +| `notes` | `text` | Reviewer notes on rationale for fix and/or how the source(s) were interpreted | |
| 65 | + |
| 66 | + |
13 | 67 | ## dfo_known_sockeye_lakes.csv |
14 | 68 |
|
15 | 69 | `waterbody_poly_id` of FWA lakes known to potentially support Sockeye |
|
0 commit comments