Revision 4786
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/Madidi/Plot/VegBIEN.csv | ||
---|---|---|
22 | 22 |
Locality description,/location/locationevent/commclass/commdetermination/*_id/commconcept/commdescription,Often begins with the text in Vegetation type |
23 | 23 |
First evaluation,/location/locationevent/obsenddate/_*/date/_alt/2/_dateRangeEnd/value, |
24 | 24 |
First evaluation,/location/locationevent/obsstartdate/_*/date/_alt/2/_dateRangeStart/value, |
25 |
Acidez intercambiable (ISRIC 11–cmolc/Kg–0.05),/location/locationevent/soilobs/acidity_frac, |
|
26 |
"Calcio intercambiable (WSP S-5,10–cmolc/Kg–0.016)",/location/locationevent/soilobs/calcium_frac, |
|
27 |
"Carbón Orgánico (WSP S-9,10–%–0.06)",/location/locationevent/soilobs/carbon_frac, |
|
25 |
Acidez intercambiable (ISRIC 11–cmolc/Kg–0.05),/location/locationevent/soilobs/acidity_fraction,
|
|
26 |
"Calcio intercambiable (WSP S-5,10–cmolc/Kg–0.016)",/location/locationevent/soilobs/calcium_fraction,
|
|
27 |
"Carbón Orgánico (WSP S-9,10–%–0.06)",/location/locationevent/soilobs/carbon_fraction,
|
|
28 | 28 |
CIC (ISRIC 11–cmolc/Kg–0.05),/location/locationevent/soilobs/cationexchangecapacity_cmol_kg, |
29 |
Arcilla (DIN 18 123–%–1),/location/locationevent/soilobs/clay_frac, |
|
29 |
Arcilla (DIN 18 123–%–1),/location/locationevent/soilobs/clay_fraction,
|
|
30 | 30 |
Conductividad electrica (ASPT 6–µS/cm– 1 - 10000),/location/locationevent/soilobs/conductivity, |
31 |
"Magnesio intercambiable (WSP S-5,10–cmolc/Kg–0.00083)",/location/locationevent/soilobs/magnesium_frac, |
|
32 |
Nitrógeno total (ISRIC 6–%–0.0014),/location/locationevent/soilobs/nitrogen_frac, |
|
33 |
"Materia Orgánica (WSP S-9,10–%–0.1)",/location/locationevent/soilobs/organic_frac, |
|
31 |
"Magnesio intercambiable (WSP S-5,10–cmolc/Kg–0.00083)",/location/locationevent/soilobs/magnesium_fraction,
|
|
32 |
Nitrógeno total (ISRIC 6–%–0.0014),/location/locationevent/soilobs/nitrogen_fraction,
|
|
33 |
"Materia Orgánica (WSP S-9,10–%–0.1)",/location/locationevent/soilobs/organic_fraction,
|
|
34 | 34 |
pH acuoso (ISRIC 4–– 1 - 14),/location/locationevent/soilobs/ph, |
35 |
Fósforo disponible (ISRIC 14-2–mg/Kg–1.5),/location/locationevent/soilobs/phosphorus_frac, |
|
36 |
"Potasio intercambiable (WSP S-5,10–cmolc/Kg–0.0053)",/location/locationevent/soilobs/potassium_frac, |
|
37 |
Arena (DIN 18 123–%–2.5),/location/locationevent/soilobs/sand_frac, |
|
38 |
Limo (DIN 18 123–%–1),/location/locationevent/soilobs/silt_frac, |
|
39 |
"Sodio intercambiable (WSP S-5,10–cmolc/Kg–0.00083)",/location/locationevent/soilobs/sodium_frac, |
|
35 |
Fósforo disponible (ISRIC 14-2–mg/Kg–1.5),/location/locationevent/soilobs/phosphorus_fraction,
|
|
36 |
"Potasio intercambiable (WSP S-5,10–cmolc/Kg–0.0053)",/location/locationevent/soilobs/potassium_fraction,
|
|
37 |
Arena (DIN 18 123–%–2.5),/location/locationevent/soilobs/sand_fraction,
|
|
38 |
Limo (DIN 18 123–%–1),/location/locationevent/soilobs/silt_fraction,
|
|
39 |
"Sodio intercambiable (WSP S-5,10–cmolc/Kg–0.00083)",/location/locationevent/soilobs/sodium_fraction,
|
|
40 | 40 |
Textural class,/location/locationevent/soilobs/texture, |
41 | 41 |
Locality,/location/locationnarrative/_merge/1, |
42 | 42 |
Observaciones,/location/notespublic, |
43 | 43 |
Direction,/location/slopeaspect_deg/_alt/1/_compass/value/_alt/1,Part files provide either this field or Direction |
44 | 44 |
Orientación/exposicion,/location/slopeaspect_deg/_alt/1/_compass/value/_alt/2,Part files provide either this field or Orientación |
45 |
Slope,/location/slopegradient_frac/_alt/1, |
|
45 |
Slope,/location/slopegradient_fraction/_alt/1,
|
|
46 | 46 |
Collaborators,,"** No join mapping for Collaborators ** Need a way to store a verbatim list of people, or a function to parse it and insert it iteratively into party" |
47 | 47 |
Coordinates,,** No join mapping for Coordinates ** Concatenation of Latitude (DMS) and Longitude (DMS) |
48 | 48 |
Installed and evaluated by,,"** No join mapping for Installed and evaluated by ** Need a way to store a verbatim list of people, or a function to parse it and insert it iteratively into party" |
inputs/Madidi/Plot/test.xml.ref | ||
---|---|---|
135 | 135 |
<obsenddate><_date><date><_dateRangeEnd><value>$First evaluation</value></_dateRangeEnd></date></_date></obsenddate> |
136 | 136 |
<obsstartdate><_date><date><_dateRangeStart><value>$First evaluation</value></_dateRangeStart></date></_date></obsstartdate> |
137 | 137 |
<soilobs> |
138 |
<acidity_frac>$Acidez intercambiable (ISRIC 11–cmolc/Kg–0.05)</acidity_frac>
|
|
139 |
<calcium_frac>$Calcio intercambiable (WSP S-5,10–cmolc/Kg–0.016)</calcium_frac>
|
|
140 |
<carbon_frac>$Carbón Orgánico (WSP S-9,10–%–0.06)</carbon_frac>
|
|
138 |
<acidity_fraction>$Acidez intercambiable (ISRIC 11–cmolc/Kg–0.05)</acidity_fraction>
|
|
139 |
<calcium_fraction>$Calcio intercambiable (WSP S-5,10–cmolc/Kg–0.016)</calcium_fraction>
|
|
140 |
<carbon_fraction>$Carbón Orgánico (WSP S-9,10–%–0.06)</carbon_fraction>
|
|
141 | 141 |
<cationexchangecapacity_cmol_kg>$CIC (ISRIC 11–cmolc/Kg–0.05)</cationexchangecapacity_cmol_kg> |
142 |
<clay_frac>$Arcilla (DIN 18 123–%–1)</clay_frac>
|
|
142 |
<clay_fraction>$Arcilla (DIN 18 123–%–1)</clay_fraction>
|
|
143 | 143 |
<conductivity>$Conductividad electrica (ASPT 6–µS/cm– 1 - 10000)</conductivity> |
144 |
<magnesium_frac>$Magnesio intercambiable (WSP S-5,10–cmolc/Kg–0.00083)</magnesium_frac>
|
|
145 |
<nitrogen_frac>$Nitrógeno total (ISRIC 6–%–0.0014)</nitrogen_frac>
|
|
146 |
<organic_frac>$Materia Orgánica (WSP S-9,10–%–0.1)</organic_frac>
|
|
144 |
<magnesium_fraction>$Magnesio intercambiable (WSP S-5,10–cmolc/Kg–0.00083)</magnesium_fraction>
|
|
145 |
<nitrogen_fraction>$Nitrógeno total (ISRIC 6–%–0.0014)</nitrogen_fraction>
|
|
146 |
<organic_fraction>$Materia Orgánica (WSP S-9,10–%–0.1)</organic_fraction>
|
|
147 | 147 |
<ph>$pH acuoso (ISRIC 4–– 1 - 14)</ph> |
148 |
<phosphorus_frac>$Fósforo disponible (ISRIC 14-2–mg/Kg–1.5)</phosphorus_frac>
|
|
149 |
<potassium_frac>$Potasio intercambiable (WSP S-5,10–cmolc/Kg–0.0053)</potassium_frac>
|
|
150 |
<sand_frac>$Arena (DIN 18 123–%–2.5)</sand_frac>
|
|
151 |
<silt_frac>$Limo (DIN 18 123–%–1)</silt_frac>
|
|
152 |
<sodium_frac>$Sodio intercambiable (WSP S-5,10–cmolc/Kg–0.00083)</sodium_frac>
|
|
148 |
<phosphorus_fraction>$Fósforo disponible (ISRIC 14-2–mg/Kg–1.5)</phosphorus_fraction>
|
|
149 |
<potassium_fraction>$Potasio intercambiable (WSP S-5,10–cmolc/Kg–0.0053)</potassium_fraction>
|
|
150 |
<sand_fraction>$Arena (DIN 18 123–%–2.5)</sand_fraction>
|
|
151 |
<silt_fraction>$Limo (DIN 18 123–%–1)</silt_fraction>
|
|
152 |
<sodium_fraction>$Sodio intercambiable (WSP S-5,10–cmolc/Kg–0.00083)</sodium_fraction>
|
|
153 | 153 |
<texture>$Textural class</texture> |
154 | 154 |
</soilobs> |
155 | 155 |
</locationevent> |
... | ... | |
165 | 165 |
</value> |
166 | 166 |
</_compass> |
167 | 167 |
</slopeaspect_deg> |
168 |
<slopegradient_frac>$Slope</slopegradient_frac>
|
|
168 |
<slopegradient_fraction>$Slope</slopegradient_fraction>
|
|
169 | 169 |
</location> |
170 | 170 |
</path> |
171 | 171 |
</_simplifyPath> |
inputs/SALVIAS-CSV/Organism/VegBIEN.csv | ||
---|---|---|
29 | 29 |
HAVING count(DISTINCT census_date) > 1 |
30 | 30 |
-----" |
31 | 31 |
no_of_individuals,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,"Brad: This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this." |
32 |
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac/_pct_to_frac/value, |
|
32 |
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_fraction/_pct_to_frac/value,
|
|
33 | 33 |
census_no,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not." |
34 | 34 |
intercept_cm,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover_m/_cm_to_m/value,"Brad: This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance." |
35 | 35 |
individual_code,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot." |
inputs/SALVIAS-CSV/Organism/test.xml.ref | ||
---|---|---|
17 | 17 |
<taxonoccurrence> |
18 | 18 |
<aggregateoccurrence> |
19 | 19 |
<count>$no_of_individuals</count> |
20 |
<cover_frac><_pct_to_frac><value>$cover_percent</value></_pct_to_frac></cover_frac>
|
|
20 |
<cover_fraction><_pct_to_frac><value>$cover_percent</value></_pct_to_frac></cover_fraction>
|
|
21 | 21 |
<definedvalue fkey="tablerecord_id"> |
22 | 22 |
<userdefined_id> |
23 | 23 |
<userdefined> |
inputs/SALVIAS-CSV/Plot/VegBIEN.csv | ||
---|---|---|
22 | 22 |
date_finish,/location/locationevent/obsenddate/_*/date/_alt/1, |
23 | 23 |
date_start,/location/locationevent/obsstartdate/_*/date/_alt/1, |
24 | 24 |
precip_mm,/location/locationevent/precipitation_m, |
25 |
soil_acidity,"/location/locationevent/soilobs/acidity_frac/_units:[default=""%"",to=]/value/_map:[""<0.05""=0,*=*]/value", |
|
26 |
soil_base,"/location/locationevent/soilobs/basesaturation_frac/_units:[default=""%"",to=]/value", |
|
27 |
soil_Ca,"/location/locationevent/soilobs/calcium_frac/_units:[default=""%"",to=]/value", |
|
28 |
soil_C,"/location/locationevent/soilobs/carbon_frac/_units:[default=""%"",to=]/value", |
|
25 |
soil_acidity,"/location/locationevent/soilobs/acidity_fraction/_units:[default=""%"",to=]/value/_map:[""<0.05""=0,*=*]/value",
|
|
26 |
soil_base,"/location/locationevent/soilobs/basesaturation_fraction/_units:[default=""%"",to=]/value",
|
|
27 |
soil_Ca,"/location/locationevent/soilobs/calcium_fraction/_units:[default=""%"",to=]/value",
|
|
28 |
soil_C,"/location/locationevent/soilobs/carbon_fraction/_units:[default=""%"",to=]/value",
|
|
29 | 29 |
soil_cation_cap,/location/locationevent/soilobs/cationexchangecapacity_cmol_kg, |
30 |
clay_percent,"/location/locationevent/soilobs/clay_frac/_units:[default=""%"",to=]/value", |
|
30 |
clay_percent,"/location/locationevent/soilobs/clay_fraction/_units:[default=""%"",to=]/value",
|
|
31 | 31 |
soil_conductivity,/location/locationevent/soilobs/conductivity, |
32 |
soil_Mg,"/location/locationevent/soilobs/magnesium_frac/_units:[default=""%"",to=]/value", |
|
33 |
soil_N,"/location/locationevent/soilobs/nitrogen_frac/_units:[default=""%"",to=]/value", |
|
34 |
organic_percent,"/location/locationevent/soilobs/organic_frac/_units:[default=""%"",to=]/value", |
|
32 |
soil_Mg,"/location/locationevent/soilobs/magnesium_fraction/_units:[default=""%"",to=]/value",
|
|
33 |
soil_N,"/location/locationevent/soilobs/nitrogen_fraction/_units:[default=""%"",to=]/value",
|
|
34 |
organic_percent,"/location/locationevent/soilobs/organic_fraction/_units:[default=""%"",to=]/value",
|
|
35 | 35 |
pH,/location/locationevent/soilobs/ph,"Brad: For all these soil variables, how do we store information on method, units. Seems like an ontological structure would be more appropriate (measurementName, measurementValue, measurementUnits, measurementMethod). Same as BIEN traits table. Something to discuss." |
36 |
soil_P,"/location/locationevent/soilobs/phosphorus_frac/_units:[default=""%"",to=]/value/_map:[""<1,5""=0,*=*]/value", |
|
37 |
soil_K,"/location/locationevent/soilobs/potassium_frac/_units:[default=""%"",to=]/value", |
|
38 |
sand_percent,"/location/locationevent/soilobs/sand_frac/_units:[default=""%"",to=]/value", |
|
39 |
silt_percent,"/location/locationevent/soilobs/silt_frac/_units:[default=""%"",to=]/value", |
|
40 |
soil_Na,"/location/locationevent/soilobs/sodium_frac/_units:[default=""%"",to=]/value", |
|
36 |
soil_P,"/location/locationevent/soilobs/phosphorus_fraction/_units:[default=""%"",to=]/value/_map:[""<1,5""=0,*=*]/value",
|
|
37 |
soil_K,"/location/locationevent/soilobs/potassium_fraction/_units:[default=""%"",to=]/value",
|
|
38 |
sand_percent,"/location/locationevent/soilobs/sand_fraction/_units:[default=""%"",to=]/value",
|
|
39 |
silt_percent,"/location/locationevent/soilobs/silt_fraction/_units:[default=""%"",to=]/value",
|
|
40 |
soil_Na,"/location/locationevent/soilobs/sodium_fraction/_units:[default=""%"",to=]/value",
|
|
41 | 41 |
soil_texture,/location/locationevent/soilobs/texture, |
42 | 42 |
temp_c,/location/locationevent/temperature_c, |
43 | 43 |
locality_description,/location/locationnarrative/_merge/1,"Brad: No; this is free text description of locality where plot was situated, same as for DwC. Not a description of vegetation. Most likely='namedPlace.placeDescription' in VB; not sure about VX, again need to ask Nick where locality descriptions live in VX" |
... | ... | |
46 | 46 |
pol2,/location/locationplace/*_id/placepath/county,Brad: No pol2=countyParish |
47 | 47 |
pol1,/location/locationplace/*_id/placepath/stateprovince,Brad: No; pol1=stateProvince |
48 | 48 |
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value, |
49 |
slope_gradient,/location/slopegradient_frac/_alt/1, |
|
49 |
slope_gradient,/location/slopegradient_fraction/_alt/1,
|
|
50 | 50 |
observation_type,,"** No join mapping for observation_type ** Brad: SALVIAS internal metadata indicating whether the record represents an individual or aggregate observation. Rather than storing, use to decide where to store in VegX.; Aaron: VegX aggregateOrganismObservation table is missing many fields available in individualOrganismObservation, so we're mapping to individualOrganismObservation regardless of observation type" |
51 | 51 |
recensused,,"** No join mapping for recensused ** Brad: This is a 0/1 value, internal to SALVIAS. 1 indicates that a plot has >1 set of values, from different census events.; Aaron: Different censuses are distinguished in organisms data by different census_no values" |
inputs/SALVIAS-CSV/Plot/test.xml.ref | ||
---|---|---|
132 | 132 |
<obsstartdate><_date><date>$date_start</date></_date></obsstartdate> |
133 | 133 |
<precipitation_m>$precip_mm</precipitation_m> |
134 | 134 |
<soilobs> |
135 |
<acidity_frac> |
|
135 |
<acidity_fraction>
|
|
136 | 136 |
<_units> |
137 | 137 |
<default>%</default> |
138 | 138 |
<to></to> |
... | ... | |
144 | 144 |
</_map> |
145 | 145 |
</value> |
146 | 146 |
</_units> |
147 |
</acidity_frac> |
|
148 |
<basesaturation_frac> |
|
147 |
</acidity_fraction>
|
|
148 |
<basesaturation_fraction>
|
|
149 | 149 |
<_units> |
150 | 150 |
<default>%</default> |
151 | 151 |
<to></to> |
152 | 152 |
<value>$soil_base</value> |
153 | 153 |
</_units> |
154 |
</basesaturation_frac> |
|
155 |
<calcium_frac> |
|
154 |
</basesaturation_fraction>
|
|
155 |
<calcium_fraction>
|
|
156 | 156 |
<_units> |
157 | 157 |
<default>%</default> |
158 | 158 |
<to></to> |
159 | 159 |
<value>$soil_Ca</value> |
160 | 160 |
</_units> |
161 |
</calcium_frac> |
|
162 |
<carbon_frac> |
|
161 |
</calcium_fraction>
|
|
162 |
<carbon_fraction>
|
|
163 | 163 |
<_units> |
164 | 164 |
<default>%</default> |
165 | 165 |
<to></to> |
166 | 166 |
<value>$soil_C</value> |
167 | 167 |
</_units> |
168 |
</carbon_frac> |
|
168 |
</carbon_fraction>
|
|
169 | 169 |
<cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg> |
170 |
<clay_frac> |
|
170 |
<clay_fraction>
|
|
171 | 171 |
<_units> |
172 | 172 |
<default>%</default> |
173 | 173 |
<to></to> |
174 | 174 |
<value>$clay_percent</value> |
175 | 175 |
</_units> |
176 |
</clay_frac> |
|
176 |
</clay_fraction>
|
|
177 | 177 |
<conductivity>$soil_conductivity</conductivity> |
178 |
<magnesium_frac> |
|
178 |
<magnesium_fraction>
|
|
179 | 179 |
<_units> |
180 | 180 |
<default>%</default> |
181 | 181 |
<to></to> |
182 | 182 |
<value>$soil_Mg</value> |
183 | 183 |
</_units> |
184 |
</magnesium_frac> |
|
185 |
<nitrogen_frac> |
|
184 |
</magnesium_fraction>
|
|
185 |
<nitrogen_fraction>
|
|
186 | 186 |
<_units> |
187 | 187 |
<default>%</default> |
188 | 188 |
<to></to> |
189 | 189 |
<value>$soil_N</value> |
190 | 190 |
</_units> |
191 |
</nitrogen_frac> |
|
192 |
<organic_frac> |
|
191 |
</nitrogen_fraction>
|
|
192 |
<organic_fraction>
|
|
193 | 193 |
<_units> |
194 | 194 |
<default>%</default> |
195 | 195 |
<to></to> |
196 | 196 |
<value>$organic_percent</value> |
197 | 197 |
</_units> |
198 |
</organic_frac> |
|
198 |
</organic_fraction>
|
|
199 | 199 |
<ph>$pH</ph> |
200 |
<phosphorus_frac> |
|
200 |
<phosphorus_fraction>
|
|
201 | 201 |
<_units> |
202 | 202 |
<default>%</default> |
203 | 203 |
<to></to> |
... | ... | |
209 | 209 |
</_map> |
210 | 210 |
</value> |
211 | 211 |
</_units> |
212 |
</phosphorus_frac> |
|
213 |
<potassium_frac> |
|
212 |
</phosphorus_fraction>
|
|
213 |
<potassium_fraction>
|
|
214 | 214 |
<_units> |
215 | 215 |
<default>%</default> |
216 | 216 |
<to></to> |
217 | 217 |
<value>$soil_K</value> |
218 | 218 |
</_units> |
219 |
</potassium_frac> |
|
220 |
<sand_frac> |
|
219 |
</potassium_fraction>
|
|
220 |
<sand_fraction>
|
|
221 | 221 |
<_units> |
222 | 222 |
<default>%</default> |
223 | 223 |
<to></to> |
224 | 224 |
<value>$sand_percent</value> |
225 | 225 |
</_units> |
226 |
</sand_frac> |
|
227 |
<silt_frac> |
|
226 |
</sand_fraction>
|
|
227 |
<silt_fraction>
|
|
228 | 228 |
<_units> |
229 | 229 |
<default>%</default> |
230 | 230 |
<to></to> |
231 | 231 |
<value>$silt_percent</value> |
232 | 232 |
</_units> |
233 |
</silt_frac> |
|
234 |
<sodium_frac> |
|
233 |
</silt_fraction>
|
|
234 |
<sodium_fraction>
|
|
235 | 235 |
<_units> |
236 | 236 |
<default>%</default> |
237 | 237 |
<to></to> |
238 | 238 |
<value>$soil_Na</value> |
239 | 239 |
</_units> |
240 |
</sodium_frac> |
|
240 |
</sodium_fraction>
|
|
241 | 241 |
<texture>$soil_texture</texture> |
242 | 242 |
</soilobs> |
243 | 243 |
<temperature_c>$temp_c</temperature_c> |
... | ... | |
254 | 254 |
</placepath_id> |
255 | 255 |
</locationplace> |
256 | 256 |
<slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg> |
257 |
<slopegradient_frac>$slope_gradient</slopegradient_frac>
|
|
257 |
<slopegradient_fraction>$slope_gradient</slopegradient_fraction>
|
|
258 | 258 |
</location> |
259 | 259 |
</path> |
260 | 260 |
</_simplifyPath> |
inputs/CVS/Organism/VegBIEN.csv | ||
---|---|---|
7 | 7 |
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists/_first/2", |
8 | 8 |
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/authorlocationcode", |
9 | 9 |
obsStartDate,/location/locationevent/obsstartdate/_*/date/_alt/1, |
10 |
%cover,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac/_pct_to_frac/value, |
|
10 |
%cover,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_fraction/_pct_to_frac/value,
|
|
11 | 11 |
currentTaxonName sec Weakley 2006,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/3, |
12 | 12 |
currentTaxonName sec Weakley 2006,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/scientificname, |
13 | 13 |
county,/location/locationplace/*_id/placepath/county, |
inputs/CVS/Organism/test.xml.ref | ||
---|---|---|
26 | 26 |
<authoreventcode>$authorObsCode</authoreventcode> |
27 | 27 |
<obsstartdate><_date><date>$obsStartDate</date></_date></obsstartdate> |
28 | 28 |
<taxonoccurrence> |
29 |
<aggregateoccurrence><cover_frac><_pct_to_frac><value>$%cover</value></_pct_to_frac></cover_frac></aggregateoccurrence>
|
|
29 |
<aggregateoccurrence><cover_fraction><_pct_to_frac><value>$%cover</value></_pct_to_frac></cover_fraction></aggregateoccurrence>
|
|
30 | 30 |
<authortaxoncode>$currentTaxonName sec Weakley 2006</authortaxoncode> |
31 | 31 |
<taxondetermination><taxonpath_id><taxonpath><scientificname>$currentTaxonName sec Weakley 2006</scientificname></taxonpath></taxonpath_id></taxondetermination> |
32 | 32 |
</taxonoccurrence> |
inputs/SALVIAS/plotMetadata/VegBIEN.csv | ||
---|---|---|
22 | 22 |
date_finish,/location/locationevent/obsenddate/_*/date/_alt/1, |
23 | 23 |
date_start,/location/locationevent/obsstartdate/_*/date/_alt/1, |
24 | 24 |
Precip,/location/locationevent/precipitation_m, |
25 |
soil_acidity,"/location/locationevent/soilobs/acidity_frac/_units:[default=""%"",to=]/value/_map:[""<0.05""=0,*=*]/value", |
|
26 |
soil_base,"/location/locationevent/soilobs/basesaturation_frac/_units:[default=""%"",to=]/value", |
|
27 |
soil_Ca,"/location/locationevent/soilobs/calcium_frac/_units:[default=""%"",to=]/value", |
|
28 |
soil_C,"/location/locationevent/soilobs/carbon_frac/_units:[default=""%"",to=]/value", |
|
25 |
soil_acidity,"/location/locationevent/soilobs/acidity_fraction/_units:[default=""%"",to=]/value/_map:[""<0.05""=0,*=*]/value",
|
|
26 |
soil_base,"/location/locationevent/soilobs/basesaturation_fraction/_units:[default=""%"",to=]/value",
|
|
27 |
soil_Ca,"/location/locationevent/soilobs/calcium_fraction/_units:[default=""%"",to=]/value",
|
|
28 |
soil_C,"/location/locationevent/soilobs/carbon_fraction/_units:[default=""%"",to=]/value",
|
|
29 | 29 |
soil_cation_cap,/location/locationevent/soilobs/cationexchangecapacity_cmol_kg, |
30 |
clay_percent,"/location/locationevent/soilobs/clay_frac/_units:[default=""%"",to=]/value", |
|
30 |
clay_percent,"/location/locationevent/soilobs/clay_fraction/_units:[default=""%"",to=]/value",
|
|
31 | 31 |
soil_conductivity,/location/locationevent/soilobs/conductivity, |
32 |
soil_Mg,"/location/locationevent/soilobs/magnesium_frac/_units:[default=""%"",to=]/value", |
|
33 |
soil_N,"/location/locationevent/soilobs/nitrogen_frac/_units:[default=""%"",to=]/value", |
|
34 |
organic_percent,"/location/locationevent/soilobs/organic_frac/_units:[default=""%"",to=]/value", |
|
32 |
soil_Mg,"/location/locationevent/soilobs/magnesium_fraction/_units:[default=""%"",to=]/value",
|
|
33 |
soil_N,"/location/locationevent/soilobs/nitrogen_fraction/_units:[default=""%"",to=]/value",
|
|
34 |
organic_percent,"/location/locationevent/soilobs/organic_fraction/_units:[default=""%"",to=]/value",
|
|
35 | 35 |
pH,/location/locationevent/soilobs/ph,"Brad: For all these soil variables, how do we store information on method, units. Seems like an ontological structure would be more appropriate (measurementName, measurementValue, measurementUnits, measurementMethod). Same as BIEN traits table. Something to discuss." |
36 |
soil_P,"/location/locationevent/soilobs/phosphorus_frac/_units:[default=""%"",to=]/value/_map:[""<1,5""=0,*=*]/value", |
|
37 |
soil_K,"/location/locationevent/soilobs/potassium_frac/_units:[default=""%"",to=]/value", |
|
38 |
sand_percent,"/location/locationevent/soilobs/sand_frac/_units:[default=""%"",to=]/value", |
|
39 |
silt_percent,"/location/locationevent/soilobs/silt_frac/_units:[default=""%"",to=]/value", |
|
40 |
soil_Na,"/location/locationevent/soilobs/sodium_frac/_units:[default=""%"",to=]/value", |
|
36 |
soil_P,"/location/locationevent/soilobs/phosphorus_fraction/_units:[default=""%"",to=]/value/_map:[""<1,5""=0,*=*]/value",
|
|
37 |
soil_K,"/location/locationevent/soilobs/potassium_fraction/_units:[default=""%"",to=]/value",
|
|
38 |
sand_percent,"/location/locationevent/soilobs/sand_fraction/_units:[default=""%"",to=]/value",
|
|
39 |
silt_percent,"/location/locationevent/soilobs/silt_fraction/_units:[default=""%"",to=]/value",
|
|
40 |
soil_Na,"/location/locationevent/soilobs/sodium_fraction/_units:[default=""%"",to=]/value",
|
|
41 | 41 |
soil_texture,"/location/locationevent/soilobs/texture/_units:[default=""%"",to=]/value", |
42 | 42 |
Temp,/location/locationevent/temperature_c, |
43 | 43 |
Locality_Description,/location/locationnarrative/_merge/1,"Brad: No; this is free text description of locality where plot was situated, same as for DwC. Not a description of vegetation. Most likely='namedPlace.placeDescription' in VB; not sure about VX, again need to ask Nick where locality descriptions live in VX" |
... | ... | |
48 | 48 |
PolDiv1,/location/locationplace/*_id/placepath/stateprovince,Brad: No; pol1=stateProvince |
49 | 49 |
plot_notes,/location/notespublic, |
50 | 50 |
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value, |
51 |
slope_gradient,/location/slopegradient_frac/_alt/1, |
|
51 |
slope_gradient,/location/slopegradient_fraction/_alt/1,
|
|
52 | 52 |
AccessCode,,** No join mapping for AccessCode ** |
53 | 53 |
Country_index,,** No join mapping for Country_index ** |
54 | 54 |
ElevSource,,** No join mapping for ElevSource ** |
inputs/SALVIAS/plotMetadata/test.xml.ref | ||
---|---|---|
132 | 132 |
<obsstartdate><_date><date>$date_start</date></_date></obsstartdate> |
133 | 133 |
<precipitation_m>$Precip</precipitation_m> |
134 | 134 |
<soilobs> |
135 |
<acidity_frac> |
|
135 |
<acidity_fraction>
|
|
136 | 136 |
<_units> |
137 | 137 |
<default>%</default> |
138 | 138 |
<to></to> |
... | ... | |
144 | 144 |
</_map> |
145 | 145 |
</value> |
146 | 146 |
</_units> |
147 |
</acidity_frac> |
|
148 |
<basesaturation_frac> |
|
147 |
</acidity_fraction>
|
|
148 |
<basesaturation_fraction>
|
|
149 | 149 |
<_units> |
150 | 150 |
<default>%</default> |
151 | 151 |
<to></to> |
152 | 152 |
<value>$soil_base</value> |
153 | 153 |
</_units> |
154 |
</basesaturation_frac> |
|
155 |
<calcium_frac> |
|
154 |
</basesaturation_fraction>
|
|
155 |
<calcium_fraction>
|
|
156 | 156 |
<_units> |
157 | 157 |
<default>%</default> |
158 | 158 |
<to></to> |
159 | 159 |
<value>$soil_Ca</value> |
160 | 160 |
</_units> |
161 |
</calcium_frac> |
|
162 |
<carbon_frac> |
|
161 |
</calcium_fraction>
|
|
162 |
<carbon_fraction>
|
|
163 | 163 |
<_units> |
164 | 164 |
<default>%</default> |
165 | 165 |
<to></to> |
166 | 166 |
<value>$soil_C</value> |
167 | 167 |
</_units> |
168 |
</carbon_frac> |
|
168 |
</carbon_fraction>
|
|
169 | 169 |
<cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg> |
170 |
<clay_frac> |
|
170 |
<clay_fraction>
|
|
171 | 171 |
<_units> |
172 | 172 |
<default>%</default> |
173 | 173 |
<to></to> |
174 | 174 |
<value>$clay_percent</value> |
175 | 175 |
</_units> |
176 |
</clay_frac> |
|
176 |
</clay_fraction>
|
|
177 | 177 |
<conductivity>$soil_conductivity</conductivity> |
178 |
<magnesium_frac> |
|
178 |
<magnesium_fraction>
|
|
179 | 179 |
<_units> |
180 | 180 |
<default>%</default> |
181 | 181 |
<to></to> |
182 | 182 |
<value>$soil_Mg</value> |
183 | 183 |
</_units> |
184 |
</magnesium_frac> |
|
185 |
<nitrogen_frac> |
|
184 |
</magnesium_fraction>
|
|
185 |
<nitrogen_fraction>
|
|
186 | 186 |
<_units> |
187 | 187 |
<default>%</default> |
188 | 188 |
<to></to> |
189 | 189 |
<value>$soil_N</value> |
190 | 190 |
</_units> |
191 |
</nitrogen_frac> |
|
192 |
<organic_frac> |
|
191 |
</nitrogen_fraction>
|
|
192 |
<organic_fraction>
|
|
193 | 193 |
<_units> |
194 | 194 |
<default>%</default> |
195 | 195 |
<to></to> |
196 | 196 |
<value>$organic_percent</value> |
197 | 197 |
</_units> |
198 |
</organic_frac> |
|
198 |
</organic_fraction>
|
|
199 | 199 |
<ph>$pH</ph> |
200 |
<phosphorus_frac> |
|
200 |
<phosphorus_fraction>
|
|
201 | 201 |
<_units> |
202 | 202 |
<default>%</default> |
203 | 203 |
<to></to> |
... | ... | |
209 | 209 |
</_map> |
210 | 210 |
</value> |
211 | 211 |
</_units> |
212 |
</phosphorus_frac> |
|
213 |
<potassium_frac> |
|
212 |
</phosphorus_fraction>
|
|
213 |
<potassium_fraction>
|
|
214 | 214 |
<_units> |
215 | 215 |
<default>%</default> |
216 | 216 |
<to></to> |
217 | 217 |
<value>$soil_K</value> |
218 | 218 |
</_units> |
219 |
</potassium_frac> |
|
220 |
<sand_frac> |
|
219 |
</potassium_fraction>
|
|
220 |
<sand_fraction>
|
|
221 | 221 |
<_units> |
222 | 222 |
<default>%</default> |
223 | 223 |
<to></to> |
224 | 224 |
<value>$sand_percent</value> |
225 | 225 |
</_units> |
226 |
</sand_frac> |
|
227 |
<silt_frac> |
|
226 |
</sand_fraction>
|
|
227 |
<silt_fraction>
|
|
228 | 228 |
<_units> |
229 | 229 |
<default>%</default> |
230 | 230 |
<to></to> |
231 | 231 |
<value>$silt_percent</value> |
232 | 232 |
</_units> |
233 |
</silt_frac> |
|
234 |
<sodium_frac> |
|
233 |
</silt_fraction>
|
|
234 |
<sodium_fraction>
|
|
235 | 235 |
<_units> |
236 | 236 |
<default>%</default> |
237 | 237 |
<to></to> |
238 | 238 |
<value>$soil_Na</value> |
239 | 239 |
</_units> |
240 |
</sodium_frac> |
|
240 |
</sodium_fraction>
|
|
241 | 241 |
<texture> |
242 | 242 |
<_units> |
243 | 243 |
<default>%</default> |
... | ... | |
271 | 271 |
</locationplace> |
272 | 272 |
<notespublic>$plot_notes</notespublic> |
273 | 273 |
<slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg> |
274 |
<slopegradient_frac>$slope_gradient</slopegradient_frac>
|
|
274 |
<slopegradient_fraction>$slope_gradient</slopegradient_fraction>
|
|
275 | 275 |
</location> |
276 | 276 |
</path> |
277 | 277 |
</_simplifyPath> |
inputs/SALVIAS/plotObservations/VegBIEN.csv | ||
---|---|---|
29 | 29 |
HAVING count(DISTINCT census_date) > 1 |
30 | 30 |
-----" |
31 | 31 |
NoInd,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,"Brad: This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this." |
32 |
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac/_pct_to_frac/value, |
|
32 |
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_fraction/_pct_to_frac/value,
|
|
33 | 33 |
census_no,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not." |
34 | 34 |
intercept_cm,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover_m/_cm_to_m/value,"Brad: This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance." |
35 | 35 |
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes, |
inputs/SALVIAS/plotObservations/test.xml.ref | ||
---|---|---|
17 | 17 |
<taxonoccurrence> |
18 | 18 |
<aggregateoccurrence> |
19 | 19 |
<count>$NoInd</count> |
20 |
<cover_frac><_pct_to_frac><value>$cover_percent</value></_pct_to_frac></cover_frac>
|
|
20 |
<cover_fraction><_pct_to_frac><value>$cover_percent</value></_pct_to_frac></cover_fraction>
|
|
21 | 21 |
<definedvalue fkey="tablerecord_id"> |
22 | 22 |
<userdefined_id> |
23 | 23 |
<userdefined> |
inputs/VegBank/observation_/VegBIEN.csv | ||
---|---|---|
14 | 14 |
observation_id,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/sourceaccessioncode", |
15 | 15 |
obsenddate,/location/locationevent/obsenddate/_*/date/_alt/1, |
16 | 16 |
obsstartdate,/location/locationevent/obsstartdate/_*/date/_alt/1, |
17 |
basesaturation,/location/locationevent/soilobs/basesaturation_frac, |
|
17 |
basesaturation,/location/locationevent/soilobs/basesaturation_fraction,
|
|
18 | 18 |
exchangecapacity,/location/locationevent/soilobs/cationexchangecapacity_cmol_kg, |
19 |
soilclay,/location/locationevent/soilobs/clay_frac, |
|
20 |
soilorganic,/location/locationevent/soilobs/organic_frac, |
|
19 |
soilclay,/location/locationevent/soilobs/clay_fraction,
|
|
20 |
soilorganic,/location/locationevent/soilobs/organic_fraction,
|
|
21 | 21 |
soilph,/location/locationevent/soilobs/ph, |
22 |
soilsand,/location/locationevent/soilobs/sand_frac, |
|
23 |
soilsilt,/location/locationevent/soilobs/silt_frac, |
|
22 |
soilsand,/location/locationevent/soilobs/sand_fraction,
|
|
23 |
soilsilt,/location/locationevent/soilobs/silt_fraction,
|
|
24 | 24 |
soiltexture,/location/locationevent/soilobs/texture, |
25 | 25 |
accessioncode,,** No join mapping for accessioncode ** |
26 | 26 |
autotaxoncover,,** No join mapping for autotaxoncover ** |
inputs/VegBank/observation_/test.xml.ref | ||
---|---|---|
13 | 13 |
<obsenddate><_date><date>$obsenddate</date></_date></obsenddate> |
14 | 14 |
<obsstartdate><_date><date>$obsstartdate</date></_date></obsstartdate> |
15 | 15 |
<soilobs> |
16 |
<basesaturation_frac>$basesaturation</basesaturation_frac>
|
|
16 |
<basesaturation_fraction>$basesaturation</basesaturation_fraction>
|
|
17 | 17 |
<cationexchangecapacity_cmol_kg>$exchangecapacity</cationexchangecapacity_cmol_kg> |
18 |
<clay_frac>$soilclay</clay_frac>
|
|
19 |
<organic_frac>$soilorganic</organic_frac>
|
|
18 |
<clay_fraction>$soilclay</clay_fraction>
|
|
19 |
<organic_fraction>$soilorganic</organic_fraction>
|
|
20 | 20 |
<ph>$soilph</ph> |
21 |
<sand_frac>$soilsand</sand_frac>
|
|
22 |
<silt_frac>$soilsilt</silt_frac>
|
|
21 |
<sand_fraction>$soilsand</sand_fraction>
|
|
22 |
<silt_fraction>$soilsilt</silt_fraction>
|
|
23 | 23 |
<texture>$soiltexture</texture> |
24 | 24 |
</soilobs> |
25 | 25 |
</locationevent> |
inputs/VegBank/plot_/VegBIEN.csv | ||
---|---|---|
23 | 23 |
slopeaspect,/location/slopeaspect_deg/_alt/1/_compass/value, |
24 | 24 |
maxslopeaspect,/location/slopeaspect_deg/_alt/2/_avg/max, |
25 | 25 |
minslopeaspect,/location/slopeaspect_deg/_alt/2/_avg/min, |
26 |
slopegradient,/location/slopegradient_frac/_alt/1, |
|
27 |
maxslopegradient,/location/slopegradient_frac/_alt/2/_avg/max, |
|
28 |
minslopegradient,/location/slopegradient_frac/_alt/2/_avg/min, |
|
26 |
slopegradient,/location/slopegradient_fraction/_alt/1,
|
|
27 |
maxslopegradient,/location/slopegradient_fraction/_alt/2/_avg/max,
|
|
28 |
minslopegradient,/location/slopegradient_fraction/_alt/2/_avg/min,
|
|
29 | 29 |
Geographic Name,,** No join mapping for Geographic Name ** |
30 | 30 |
accessioncode,,** No join mapping for accessioncode ** |
31 | 31 |
authordatum,,** No join mapping for authordatum ** |
inputs/VegBank/plot_/test.xml.ref | ||
---|---|---|
64 | 64 |
</2> |
65 | 65 |
</_alt> |
66 | 66 |
</slopeaspect_deg> |
67 |
<slopegradient_frac> |
|
67 |
<slopegradient_fraction>
|
|
68 | 68 |
<_alt> |
69 | 69 |
<1>$slopegradient</1> |
70 | 70 |
<2> |
... | ... | |
74 | 74 |
</_avg> |
75 | 75 |
</2> |
76 | 76 |
</_alt> |
77 |
</slopegradient_frac> |
|
77 |
</slopegradient_fraction>
|
|
78 | 78 |
</location> |
79 | 79 |
</path> |
80 | 80 |
</_simplifyPath> |
schemas/vegbien.sql | ||
---|---|---|
418 | 418 |
sourceaccessioncode text, |
419 | 419 |
taxonoccurrence_id integer NOT NULL, |
420 | 420 |
collectiondate timestamp with time zone, |
421 |
cover_frac double precision, |
|
421 |
cover_fraction double precision,
|
|
422 | 422 |
linecover_m double precision, |
423 | 423 |
basalarea_m2 double precision, |
424 | 424 |
biomass_kg_m2 double precision, |
... | ... | |
504 | 504 |
slopeaspect_deg double precision, |
505 | 505 |
minslopeaspect_deg double precision, |
506 | 506 |
maxslopeaspect_deg double precision, |
507 |
slopegradient_frac double precision, |
|
508 |
minslopegradient_frac double precision, |
|
509 |
maxslopegradient_frac double precision, |
|
507 |
slopegradient_fraction double precision,
|
|
508 |
minslopegradient_fraction double precision,
|
|
509 |
maxslopegradient_fraction double precision,
|
|
510 | 510 |
topoposition text, |
511 | 511 |
landform text, |
512 | 512 |
surficialdeposits text, |
... | ... | |
1142 | 1142 |
-- |
1143 | 1143 |
|
1144 | 1144 |
CREATE VIEW analytical_db_view AS |
1145 |
SELECT datasource.organizationname AS "dataSourceName", taxonpath.family, taxonpath.genus, taxonpath.species, COALESCE(taxonpath.scientificnamewithauthor, taxonpath.scientificname) AS taxon, taxonpath.scientificnameauthor AS "taxonAuthor", taxonpath.variety AS "taxonMorphospecies", placepath.country, placepath.stateprovince AS "stateProvince", placepath.county AS "countyParish", taxonoccurrence.verbatimcollectorname AS collector, plantobservation.collectionnumber AS "collectionNumber", array_to_string(ARRAY[identifiedby.givenname, identifiedby.middlename, identifiedby.surname], ' '::text) AS "identifiedBy", aggregateoccurrence.collectiondate AS "observationDate", location.authorlocationcode AS "plotCode", functions._m2_to_ha(location.area_m2) AS "plotAreaHa", method.name AS "plotMethod", locationcoords.latitude_deg AS latitude, locationcoords.longitude_deg AS longitude, location.elevation_m, taxonoccurrence.iscultivated AS "isCultivated", taxonoccurrence.cultivatedbasis AS "isCultivatedReason", functions._frac_to_pct(aggregateoccurrence.cover_frac) AS "pctCover" FROM (((((((((((((location JOIN party datasource ON (((datasource.party_id = location.datasource_id) AND (datasource.organizationname IS NOT NULL)))) LEFT JOIN locationcoords USING (location_id)) LEFT JOIN locationplace USING (location_id)) LEFT JOIN placepath USING (placepath_id)) JOIN locationevent USING (location_id)) LEFT JOIN method USING (method_id)) JOIN taxonoccurrence USING (locationevent_id)) JOIN taxondetermination USING (taxonoccurrence_id)) LEFT JOIN party identifiedby ON ((identifiedby.party_id = taxondetermination.party_id))) JOIN taxonpath USING (taxonpath_id)) LEFT JOIN aggregateoccurrence USING (taxonoccurrence_id)) LEFT JOIN plantobservation USING (aggregateoccurrence_id)) LEFT JOIN specimenreplicate USING (plantobservation_id)); |
|
1145 |
SELECT datasource.organizationname AS "dataSourceName", taxonpath.family, taxonpath.genus, taxonpath.species, COALESCE(taxonpath.scientificnamewithauthor, taxonpath.scientificname) AS taxon, taxonpath.scientificnameauthor AS "taxonAuthor", taxonpath.variety AS "taxonMorphospecies", placepath.country, placepath.stateprovince AS "stateProvince", placepath.county AS "countyParish", taxonoccurrence.verbatimcollectorname AS collector, plantobservation.collectionnumber AS "collectionNumber", array_to_string(ARRAY[identifiedby.givenname, identifiedby.middlename, identifiedby.surname], ' '::text) AS "identifiedBy", aggregateoccurrence.collectiondate AS "observationDate", location.authorlocationcode AS "plotCode", functions._m2_to_ha(location.area_m2) AS "plotAreaHa", method.name AS "plotMethod", locationcoords.latitude_deg AS latitude, locationcoords.longitude_deg AS longitude, location.elevation_m, taxonoccurrence.iscultivated AS "isCultivated", taxonoccurrence.cultivatedbasis AS "isCultivatedReason", functions._frac_to_pct(aggregateoccurrence.cover_fraction) AS "pctCover" FROM (((((((((((((location JOIN party datasource ON (((datasource.party_id = location.datasource_id) AND (datasource.organizationname IS NOT NULL)))) LEFT JOIN locationcoords USING (location_id)) LEFT JOIN locationplace USING (location_id)) LEFT JOIN placepath USING (placepath_id)) JOIN locationevent USING (location_id)) LEFT JOIN method USING (method_id)) JOIN taxonoccurrence USING (locationevent_id)) JOIN taxondetermination USING (taxonoccurrence_id)) LEFT JOIN party identifiedby ON ((identifiedby.party_id = taxondetermination.party_id))) JOIN taxonpath USING (taxonpath_id)) LEFT JOIN aggregateoccurrence USING (taxonoccurrence_id)) LEFT JOIN plantobservation USING (aggregateoccurrence_id)) LEFT JOIN specimenreplicate USING (plantobservation_id));
|
|
1146 | 1146 |
|
1147 | 1147 |
|
1148 | 1148 |
-- |
... | ... | |
2565 | 2565 |
depthbottom_m double precision, |
2566 | 2566 |
color text, |
2567 | 2567 |
texture text, |
2568 |
organic_frac double precision, |
|
2569 |
sand_frac double precision, |
|
2570 |
silt_frac double precision, |
|
2571 |
clay_frac double precision, |
|
2572 |
coarse_frac double precision, |
|
2568 |
organic_fraction double precision,
|
|
2569 |
sand_fraction double precision,
|
|
2570 |
silt_fraction double precision,
|
|
2571 |
clay_fraction double precision,
|
|
2572 |
coarse_fraction double precision,
|
|
2573 | 2573 |
ph double precision, |
2574 |
acidity_frac double precision, |
|
2575 |
basesaturation_frac double precision, |
|
2574 |
acidity_fraction double precision,
|
|
2575 |
basesaturation_fraction double precision,
|
|
2576 | 2576 |
cationexchangecapacity_cmol_kg double precision, |
2577 | 2577 |
conductivity double precision, |
2578 |
carbon_frac double precision, |
|
2579 |
phosphorus_frac double precision, |
|
2580 |
potassium_frac double precision, |
|
2581 |
magnesium_frac double precision, |
|
2582 |
nitrogen_frac double precision, |
|
2583 |
calcium_frac double precision, |
|
2584 |
sodium_frac double precision |
|
2578 |
carbon_fraction double precision,
|
|
2579 |
phosphorus_fraction double precision,
|
|
2580 |
potassium_fraction double precision,
|
|
2581 |
magnesium_fraction double precision,
|
|
2582 |
nitrogen_fraction double precision,
|
|
2583 |
calcium_fraction double precision,
|
|
2584 |
sodium_fraction double precision
|
|
2585 | 2585 |
); |
2586 | 2586 |
|
2587 | 2587 |
|
2588 | 2588 |
-- |
2589 |
-- Name: COLUMN soilobs.organic_frac; Type: COMMENT; Schema: public; Owner: - |
|
2589 |
-- Name: COLUMN soilobs.organic_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2590 | 2590 |
-- |
2591 | 2591 |
|
2592 |
COMMENT ON COLUMN soilobs.organic_frac IS 'fraction'; |
|
2592 |
COMMENT ON COLUMN soilobs.organic_fraction IS 'fraction';
|
|
2593 | 2593 |
|
2594 | 2594 |
|
2595 | 2595 |
-- |
2596 |
-- Name: COLUMN soilobs.sand_frac; Type: COMMENT; Schema: public; Owner: - |
|
2596 |
-- Name: COLUMN soilobs.sand_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2597 | 2597 |
-- |
2598 | 2598 |
|
2599 |
COMMENT ON COLUMN soilobs.sand_frac IS 'fraction'; |
|
2599 |
COMMENT ON COLUMN soilobs.sand_fraction IS 'fraction';
|
|
2600 | 2600 |
|
2601 | 2601 |
|
2602 | 2602 |
-- |
2603 |
-- Name: COLUMN soilobs.silt_frac; Type: COMMENT; Schema: public; Owner: - |
|
2603 |
-- Name: COLUMN soilobs.silt_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2604 | 2604 |
-- |
2605 | 2605 |
|
2606 |
COMMENT ON COLUMN soilobs.silt_frac IS 'fraction'; |
|
2606 |
COMMENT ON COLUMN soilobs.silt_fraction IS 'fraction';
|
|
2607 | 2607 |
|
2608 | 2608 |
|
2609 | 2609 |
-- |
2610 |
-- Name: COLUMN soilobs.clay_frac; Type: COMMENT; Schema: public; Owner: - |
|
2610 |
-- Name: COLUMN soilobs.clay_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2611 | 2611 |
-- |
2612 | 2612 |
|
2613 |
COMMENT ON COLUMN soilobs.clay_frac IS 'fraction'; |
|
2613 |
COMMENT ON COLUMN soilobs.clay_fraction IS 'fraction';
|
|
2614 | 2614 |
|
2615 | 2615 |
|
2616 | 2616 |
-- |
2617 |
-- Name: COLUMN soilobs.coarse_frac; Type: COMMENT; Schema: public; Owner: - |
|
2617 |
-- Name: COLUMN soilobs.coarse_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2618 | 2618 |
-- |
2619 | 2619 |
|
2620 |
COMMENT ON COLUMN soilobs.coarse_frac IS 'fraction'; |
|
2620 |
COMMENT ON COLUMN soilobs.coarse_fraction IS 'fraction';
|
|
2621 | 2621 |
|
2622 | 2622 |
|
2623 | 2623 |
-- |
2624 |
-- Name: COLUMN soilobs.acidity_frac; Type: COMMENT; Schema: public; Owner: - |
|
2624 |
-- Name: COLUMN soilobs.acidity_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2625 | 2625 |
-- |
2626 | 2626 |
|
2627 |
COMMENT ON COLUMN soilobs.acidity_frac IS 'fraction'; |
|
2627 |
COMMENT ON COLUMN soilobs.acidity_fraction IS 'fraction';
|
|
2628 | 2628 |
|
2629 | 2629 |
|
2630 | 2630 |
-- |
2631 |
-- Name: COLUMN soilobs.basesaturation_frac; Type: COMMENT; Schema: public; Owner: - |
|
2631 |
-- Name: COLUMN soilobs.basesaturation_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2632 | 2632 |
-- |
2633 | 2633 |
|
2634 |
COMMENT ON COLUMN soilobs.basesaturation_frac IS 'fraction'; |
|
2634 |
COMMENT ON COLUMN soilobs.basesaturation_fraction IS 'fraction';
|
|
2635 | 2635 |
|
2636 | 2636 |
|
2637 | 2637 |
-- |
2638 |
-- Name: COLUMN soilobs.carbon_frac; Type: COMMENT; Schema: public; Owner: - |
|
2638 |
-- Name: COLUMN soilobs.carbon_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2639 | 2639 |
-- |
2640 | 2640 |
|
2641 |
COMMENT ON COLUMN soilobs.carbon_frac IS 'fraction'; |
|
2641 |
COMMENT ON COLUMN soilobs.carbon_fraction IS 'fraction';
|
|
2642 | 2642 |
|
2643 | 2643 |
|
2644 | 2644 |
-- |
2645 |
-- Name: COLUMN soilobs.phosphorus_frac; Type: COMMENT; Schema: public; Owner: - |
|
2645 |
-- Name: COLUMN soilobs.phosphorus_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2646 | 2646 |
-- |
2647 | 2647 |
|
2648 |
COMMENT ON COLUMN soilobs.phosphorus_frac IS 'fraction'; |
|
2648 |
COMMENT ON COLUMN soilobs.phosphorus_fraction IS 'fraction';
|
|
2649 | 2649 |
|
2650 | 2650 |
|
2651 | 2651 |
-- |
2652 |
-- Name: COLUMN soilobs.potassium_frac; Type: COMMENT; Schema: public; Owner: - |
|
2652 |
-- Name: COLUMN soilobs.potassium_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2653 | 2653 |
-- |
2654 | 2654 |
|
2655 |
COMMENT ON COLUMN soilobs.potassium_frac IS 'fraction'; |
|
2655 |
COMMENT ON COLUMN soilobs.potassium_fraction IS 'fraction';
|
|
2656 | 2656 |
|
2657 | 2657 |
|
2658 | 2658 |
-- |
2659 |
-- Name: COLUMN soilobs.magnesium_frac; Type: COMMENT; Schema: public; Owner: - |
|
2659 |
-- Name: COLUMN soilobs.magnesium_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2660 | 2660 |
-- |
2661 | 2661 |
|
2662 |
COMMENT ON COLUMN soilobs.magnesium_frac IS 'fraction'; |
|
2662 |
COMMENT ON COLUMN soilobs.magnesium_fraction IS 'fraction';
|
|
2663 | 2663 |
|
2664 | 2664 |
|
2665 | 2665 |
-- |
2666 |
-- Name: COLUMN soilobs.nitrogen_frac; Type: COMMENT; Schema: public; Owner: - |
|
2666 |
-- Name: COLUMN soilobs.nitrogen_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2667 | 2667 |
-- |
2668 | 2668 |
|
2669 |
COMMENT ON COLUMN soilobs.nitrogen_frac IS 'fraction'; |
|
2669 |
COMMENT ON COLUMN soilobs.nitrogen_fraction IS 'fraction';
|
|
2670 | 2670 |
|
2671 | 2671 |
|
2672 | 2672 |
-- |
2673 |
-- Name: COLUMN soilobs.calcium_frac; Type: COMMENT; Schema: public; Owner: - |
|
2673 |
-- Name: COLUMN soilobs.calcium_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2674 | 2674 |
-- |
2675 | 2675 |
|
2676 |
COMMENT ON COLUMN soilobs.calcium_frac IS 'fraction'; |
|
2676 |
COMMENT ON COLUMN soilobs.calcium_fraction IS 'fraction';
|
|
2677 | 2677 |
|
2678 | 2678 |
|
2679 | 2679 |
-- |
2680 |
-- Name: COLUMN soilobs.sodium_frac; Type: COMMENT; Schema: public; Owner: - |
|
2680 |
-- Name: COLUMN soilobs.sodium_fraction; Type: COMMENT; Schema: public; Owner: -
|
|
2681 | 2681 |
-- |
2682 | 2682 |
|
2683 |
COMMENT ON COLUMN soilobs.sodium_frac IS 'fraction'; |
|
2683 |
COMMENT ON COLUMN soilobs.sodium_fraction IS 'fraction';
|
|
2684 | 2684 |
|
2685 | 2685 |
|
2686 | 2686 |
-- |
mappings/VegCore-VegBIEN.csv | ||
---|---|---|
50 | 50 |
startDate,/location/locationevent/obsstartdate/_*/date/_alt/1, |
51 | 51 |
eventDate,/location/locationevent/obsstartdate/_*/date/_alt/2/_dateRangeStart/value, |
52 | 52 |
precipitation,/location/locationevent/precipitation_m, |
53 |
acidity,/location/locationevent/soilobs/acidity_frac, |
|
54 |
baseSaturation,/location/locationevent/soilobs/basesaturation_frac, |
|
55 |
calcium,/location/locationevent/soilobs/calcium_frac, |
|
56 |
carbon,/location/locationevent/soilobs/carbon_frac, |
|
53 |
acidity,/location/locationevent/soilobs/acidity_fraction,
|
|
54 |
baseSaturation,/location/locationevent/soilobs/basesaturation_fraction,
|
|
55 |
calcium,/location/locationevent/soilobs/calcium_fraction,
|
|
56 |
carbon,/location/locationevent/soilobs/carbon_fraction,
|
|
57 | 57 |
cationExchangeCapacity,/location/locationevent/soilobs/cationexchangecapacity_cmol_kg, |
58 |
clay,/location/locationevent/soilobs/clay_frac, |
|
58 |
clay,/location/locationevent/soilobs/clay_fraction,
|
|
59 | 59 |
conductivity,/location/locationevent/soilobs/conductivity, |
60 |
magnesium,/location/locationevent/soilobs/magnesium_frac, |
|
61 |
nitrogen,/location/locationevent/soilobs/nitrogen_frac, |
|
62 |
organic,/location/locationevent/soilobs/organic_frac, |
|
60 |
magnesium,/location/locationevent/soilobs/magnesium_fraction,
|
|
61 |
nitrogen,/location/locationevent/soilobs/nitrogen_fraction,
|
|
62 |
organic,/location/locationevent/soilobs/organic_fraction,
|
|
63 | 63 |
ph,/location/locationevent/soilobs/ph, |
64 |
phosphorus,/location/locationevent/soilobs/phosphorus_frac, |
|
65 |
potassium,/location/locationevent/soilobs/potassium_frac, |
|
66 |
sand,/location/locationevent/soilobs/sand_frac, |
|
67 |
silt,/location/locationevent/soilobs/silt_frac, |
|
68 |
sodium,/location/locationevent/soilobs/sodium_frac, |
|
64 |
phosphorus,/location/locationevent/soilobs/phosphorus_fraction,
|
|
65 |
potassium,/location/locationevent/soilobs/potassium_fraction,
|
|
66 |
sand,/location/locationevent/soilobs/sand_fraction,
|
|
67 |
silt,/location/locationevent/soilobs/silt_fraction,
|
|
68 |
sodium,/location/locationevent/soilobs/sodium_fraction,
|
|
69 | 69 |
texture,/location/locationevent/soilobs/texture, |
70 | 70 |
dateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_*/date, |
71 | 71 |
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value", |
72 | 72 |
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value", |
73 | 73 |
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value", |
74 | 74 |
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count, |
75 |
coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac/_pct_to_frac/value, |
|
75 |
coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_fraction/_pct_to_frac/value,
|
|
76 | 76 |
censusNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue", |
77 | 77 |
intercept_m,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover_m, |
78 | 78 |
intercept_cm,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover_m/_cm_to_m/value, |
... | ... | |
168 | 168 |
slopeAspect,/location/slopeaspect_deg/_alt/1/_compass/value, |
169 | 169 |
maxSlopeAspect,/location/slopeaspect_deg/_alt/2/_avg/max, |
170 | 170 |
minSlopeAspect,/location/slopeaspect_deg/_alt/2/_avg/min, |
171 |
slopeGradient,/location/slopegradient_frac/_alt/1, |
|
172 |
maxSlopeGradient,/location/slopegradient_frac/_alt/2/_avg/max, |
|
173 |
minSlopeGradient,/location/slopegradient_frac/_alt/2/_avg/min, |
|
171 |
slopeGradient,/location/slopegradient_fraction/_alt/1,
|
|
172 |
maxSlopeGradient,/location/slopegradient_fraction/_alt/2/_avg/max,
|
|
173 |
minSlopeGradient,/location/slopegradient_fraction/_alt/2/_avg/min,
|
|
174 | 174 |
subplotID,/location/sourceaccessioncode, |
175 | 175 |
subplotX,/location/sublocationxposition_m, |
176 | 176 |
subplotY,/location/sublocationyposition_m, |
mappings/for_review/VegCore-VegBIEN.csv | ||
---|---|---|
50 | 50 |
startDate,//locationevent/obsstartdate/_*/date, |
51 | 51 |
eventDate,//locationevent/obsstartdate/_*/date, |
52 | 52 |
precipitation,//locationevent/precipitation_m, |
53 |
acidity,//soilobs/acidity_frac, |
|
54 |
baseSaturation,//soilobs/basesaturation_frac, |
|
55 |
calcium,//soilobs/calcium_frac, |
|
56 |
carbon,//soilobs/carbon_frac, |
|
53 |
acidity,//soilobs/acidity_fraction,
|
|
54 |
baseSaturation,//soilobs/basesaturation_fraction,
|
|
55 |
calcium,//soilobs/calcium_fraction,
|
|
56 |
carbon,//soilobs/carbon_fraction,
|
|
57 | 57 |
cationExchangeCapacity,//soilobs/cationexchangecapacity_cmol_kg, |
58 |
clay,//soilobs/clay_frac, |
|
58 |
clay,//soilobs/clay_fraction,
|
|
59 | 59 |
conductivity,//soilobs/conductivity, |
60 |
magnesium,//soilobs/magnesium_frac, |
|
61 |
nitrogen,//soilobs/nitrogen_frac, |
|
62 |
organic,//soilobs/organic_frac, |
|
60 |
magnesium,//soilobs/magnesium_fraction,
|
|
61 |
nitrogen,//soilobs/nitrogen_fraction,
|
|
62 |
organic,//soilobs/organic_fraction,
|
|
63 | 63 |
ph,//soilobs/ph, |
64 |
phosphorus,//soilobs/phosphorus_frac, |
|
65 |
potassium,//soilobs/potassium_frac, |
|
66 |
sand,//soilobs/sand_frac, |
|
67 |
silt,//soilobs/silt_frac, |
|
68 |
sodium,//soilobs/sodium_frac, |
|
64 |
phosphorus,//soilobs/phosphorus_fraction,
|
|
65 |
potassium,//soilobs/potassium_fraction,
|
|
66 |
sand,//soilobs/sand_fraction,
|
|
67 |
silt,//soilobs/silt_fraction,
|
|
68 |
sodium,//soilobs/sodium_fraction,
|
|
69 | 69 |
texture,//soilobs/texture, |
70 | 70 |
dateCollected,//aggregateoccurrence/collectiondate/_*/date, |
71 | 71 |
dayCollected,//aggregateoccurrence/collectiondate, |
72 | 72 |
monthCollected,//aggregateoccurrence/collectiondate, |
73 | 73 |
yearCollected,//aggregateoccurrence/collectiondate, |
74 | 74 |
individualCount,//aggregateoccurrence/count, |
75 |
coverPercent,//aggregateoccurrence/cover_frac, |
|
75 |
coverPercent,//aggregateoccurrence/cover_fraction,
|
|
76 | 76 |
censusNumber,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]/definedvalue", |
77 | 77 |
intercept_m,//aggregateoccurrence/linecover_m, |
78 | 78 |
intercept_cm,//aggregateoccurrence/linecover_m, |
... | ... | |
168 | 168 |
slopeAspect,//location/slopeaspect_deg, |
169 | 169 |
maxSlopeAspect,//location/slopeaspect_deg, |
170 | 170 |
minSlopeAspect,//location/slopeaspect_deg, |
171 |
slopeGradient,//location/slopegradient_frac, |
|
172 |
maxSlopeGradient,//location/slopegradient_frac, |
|
173 |
minSlopeGradient,//location/slopegradient_frac, |
|
171 |
slopeGradient,//location/slopegradient_fraction,
|
|
172 |
maxSlopeGradient,//location/slopegradient_fraction,
|
|
173 |
minSlopeGradient,//location/slopegradient_fraction,
|
|
174 | 174 |
subplotID,//location/sourceaccessioncode, |
175 | 175 |
subplotX,//location/sublocationxposition_m, |
176 | 176 |
subplotY,//location/sublocationyposition_m, |
Also available in: Unified diff
schemas/vegbien.sql: Changed _frac units suffix to _fraction for clarity and for consistency with _percent (which is spelled out), as used by SALVIAS (http://salvias.net/Documents/salvias_data_dictionary.html) and elsewhere