Project

General

Profile

« Previous | Next » 

Revision 73

map: Fixed bugs to enable mapping straight from CSV to a database. Still need a way to set plot.authorPlotCode for specimens data.

View differences:

test_map
8 8
test -n "$n" || n=2
9 9
let n++
10 10

  
11
head -$n NYSpecimenDataAmericas.csv|../map \
12
../../mappings/NYBG-VegX.organisms.csv >NYSpecimenDataAmericas.test.xml
13
diff NYSpecimenDataAmericas.xml NYSpecimenDataAmericas.test.xml
11
head -"$n" NYSpecimenDataAmericas.csv|../map \
12
../../mappings/NYBG-VegX.organisms.csv >NYSpecimenDataAmericas.test.xml \
13
&& diff NYSpecimenDataAmericas.xml NYSpecimenDataAmericas.test.xml
14 14

  
15
../map2vegbank <vb_plot_observation.xml
15
head -"$n" NYSpecimenDataAmericas.csv|../map2vegbank \
16
../../mappings/joins/NYBG-VegBank.organisms.csv

Also available in: Unified diff