Revision 4753
Added by Aaron Marcuse-Kubitza about 12 years ago
VegBIEN.csv | ||
---|---|---|
4 | 4 |
PLOT_ID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
5 | 5 |
plot_code,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
6 | 6 |
PLOT_ID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
7 |
plot_area_ha,/location/area,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed" |
|
8 |
elev_m,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick. |
|
9 |
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
|
10 |
elev_min_m,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
|
11 |
elev_min_m,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
|
12 |
elev_max_m,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1/_replace:[""\bca\.?""=]/value", |
|
13 |
elev_min_m,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace:[""\bca\.?""=]/value", |
|
14 |
lat_decimal,"/location/locationcoords/latitude/_alt/1/_nullIf:[null=0,type=float]/value", |
|
15 |
long_decimal,"/location/locationcoords/longitude/_alt/1/_nullIf:[null=0,type=float]/value", |
|
7 |
plot_area_ha,/location/area_m2,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed"
|
|
8 |
elev_m,"/location/elevation_m/_alt/1/_replace:[""\bca\.?""=]/value",Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick.
|
|
9 |
elev_max_m,"/location/elevation_m/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value",
|
|
10 |
elev_min_m,"/location/elevation_m/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
|
|
11 |
elev_min_m,"/location/elevationrange_m/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
|
|
12 |
elev_max_m,"/location/elevationrange_m/_range/to/_units:[default=m,to=m,to=]/value/_alt/1/_replace:[""\bca\.?""=]/value",
|
|
13 |
elev_min_m,"/location/elevationrange_m/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
|
|
14 |
lat_decimal,"/location/locationcoords/latitude_deg/_alt/1/_nullIf:[null=0,type=float]/value",
|
|
15 |
long_decimal,"/location/locationcoords/longitude_deg/_alt/1/_nullIf:[null=0,type=float]/value",
|
|
16 | 16 |
plot_methodology,/location/locationevent/*_id/method/name, |
17 | 17 |
project,/location/locationevent/*_id/project/projectname, |
18 | 18 |
plot_code,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/authorlocationcode",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
... | ... | |
21 | 21 |
life_zone_code,/location/locationevent/commclass/commdetermination/*_id/commconcept/commdescription, |
22 | 22 |
date_finish,/location/locationevent/obsenddate/_*/date/_alt/1, |
23 | 23 |
date_start,/location/locationevent/obsstartdate/_*/date/_alt/1, |
24 |
precip_mm,/location/locationevent/precipitation, |
|
24 |
precip_mm,/location/locationevent/precipitation_m,
|
|
25 | 25 |
soil_acidity,"/location/locationevent/soilobs/acidity/_units:[default=""%"",to=]/value/_map:[""<0.05""=0,*=*]/value", |
26 | 26 |
soil_base,"/location/locationevent/soilobs/basesaturation/_units:[default=""%"",to=]/value", |
27 | 27 |
soil_Ca,"/location/locationevent/soilobs/calcium/_units:[default=""%"",to=]/value", |
... | ... | |
39 | 39 |
silt_percent,"/location/locationevent/soilobs/silt/_units:[default=""%"",to=]/value", |
40 | 40 |
soil_Na,"/location/locationevent/soilobs/sodium/_units:[default=""%"",to=]/value", |
41 | 41 |
soil_texture,/location/locationevent/soilobs/texture, |
42 |
temp_c,/location/locationevent/temperature, |
|
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" |
44 | 44 |
major_geo,/location/locationplace/*_id/placepath/continent, |
45 | 45 |
country,/location/locationplace/*_id/placepath/country, |
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 |
slope_aspect,/location/slopeaspect/_alt/1/_compass/value, |
|
49 |
slope_gradient,/location/slopegradient/_alt/1, |
|
48 |
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value,
|
|
49 |
slope_gradient,/location/slopegradient_frac/_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" |
Also available in: Unified diff
schemas/vegbien.sql: Added units suffix to all core VegBIEN fields that have units. It is the responsibility of the mappings to ensure that all units are properly translated.