root/scripts/util/test_map @ 67
1 |
#!/bin/bash
|
---|---|
2 |
# Tests map
|
3 |
# Usage: [env n=<num-rows>] self
|
4 |
|
5 |
selfDir="$(dirname -- "$0")" |
6 |
cd "$selfDir" |
7 |
|
8 |
test -n "$n" || n=2 |
9 |
let n++
|
10 |
|
11 |
head -$n NYSpecimenDataAmericas.csv|../map NYBG-VegX.csv \ |
12 |
>NYSpecimenDataAmericas.test.xml
|
13 |
diff NYSpecimenDataAmericas.xml NYSpecimenDataAmericas.test.xml |
14 |
|
15 |
../map2vegbank <vb_plot_observation.xml |