Project

General

Profile

« Previous | Next » 

Revision 1537

xml_func.py: _map: Instead of _closed special entry, make all maps closed by default and open them if special entry "*=*" is present. Support using a _map to filter values by interpreting special entry "*=" as removing all values not explicitly specified, and by interpreting special value "*" as keeping input value the same.

View differences:

VegX.plots.full.csv
34 34
"sand_percent","->/*s/abioticObservation[*ID]/simpleUserdefined[name=sandPercent]/value/_units:[units=""%""]/value",
35 35
"pH","->/*s/abioticObservation[*ID]/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 36
"soil_N","->/*s/abioticObservation[*ID]/nitrogen/_units:[units=""%""]/value",
37
"soil_P","->/*s/abioticObservation[*ID]/phosphorus/_map:[""<1,5""=0]/value/_units:[units=""%""]/value",
37
"soil_P","->/*s/abioticObservation[*ID]/phosphorus/_map:[""<1,5""=0,*=*]/value/_units:[units=""%""]/value",
38 38
"soil_C","->/*s/abioticObservation[*ID]/simpleUserdefined[name=carbon]/value/_units:[units=""%""]/value",
39 39
"soil_K","->/*s/abioticObservation[*ID]/pottasium/_units:[units=""%""]/value",
40 40
"soil_Mg","->/*s/abioticObservation[*ID]/magnesium/_units:[units=""%""]/value",
41 41
"soil_Ca","->/*s/abioticObservation[*ID]/simpleUserdefined[name=calcium]/value/_units:[units=""%""]/value",
42 42
"soil_Na","->/*s/abioticObservation[*ID]/simpleUserdefined[name=sodium]/value/_units:[units=""%""]/value",
43
"soil_acidity","->/*s/abioticObservation[*ID]/simpleUserdefined[name=acidity]/value/_map:[""<0.05""=0]/value/_units:[units=""%""]/value",
43
"soil_acidity","->/*s/abioticObservation[*ID]/simpleUserdefined[name=acidity]/value/_map:[""<0.05""=0,*=*]/value/_units:[units=""%""]/value",
44 44
"soil_base","->/*s/abioticObservation[*ID]/simpleUserdefined[name=base]/value/_units:[units=""%""]/value",
45 45
"soil_cation_cap","->/*s/abioticObservation[*ID]/simpleUserdefined[name=cationCap]/value",
46 46
"soil_conductivity","->/*s/abioticObservation[*ID]/simpleUserdefined[name=conductivity]/value",

Also available in: Unified diff