1 |
8291
|
aaronmk
|
#!/bin/bash -e
|
2 |
8287
|
aaronmk
|
. "$(dirname "${BASH_SOURCE[0]}")"/../table.run
|
3 |
8303
|
aaronmk
|
|
4 |
8705
|
aaronmk
|
if self_not_included; then
|
5 |
|
|
|
6 |
9155
|
aaronmk
|
func_override table.tsv/make__src_table_run
|
7 |
|
|
table.tsv/make()
|
8 |
8303
|
aaronmk
|
{
|
9 |
8881
|
aaronmk
|
echo_func
|
10 |
9336
|
aaronmk
|
cols='
|
11 |
9338
|
aaronmk
|
id, institution_code, collection_code, catalogue_number,
|
12 |
9336
|
aaronmk
|
family, genus, species, subspecies/*helps TNRS to resolve species*/,
|
13 |
|
|
latitude, longitude, country, state_province, county, locality' \
|
14 |
9337
|
aaronmk
|
filter="
|
15 |
|
|
institution_code IN ($(cat "$top_dir"/herbaria.sql))"
|
16 |
9336
|
aaronmk
|
table.tsv/make__src_table_run
|
17 |
8303
|
aaronmk
|
}
|
18 |
8705
|
aaronmk
|
|
19 |
|
|
fi
|