Revision 1471
Added by Aaron Marcuse-Kubitza almost 13 years ago
VegBIEN.specimens.xml.ref | ||
---|---|---|
31 | 31 |
</locationdetermination> |
32 | 32 |
<locationnarrative>Parque Nacional del Manu. Río Manu: Cocha Casha Station; habitat: Floodplain forest</locationnarrative> |
33 | 33 |
<elevation>350.0</elevation> |
34 |
<elevationrange>0.0</elevationrange>
|
|
34 |
<elevationrange/>
|
|
35 | 35 |
<centerlatitude>-11.80</centerlatitude> |
36 | 36 |
<centerlongitude>-71.40</centerlongitude> |
37 | 37 |
</location> |
... | ... | |
126 | 126 |
</locationdetermination> |
127 | 127 |
<locationnarrative>Belize Zoo, in savanna plot immediately behind zoo. Mile 31 on Western Highway</locationnarrative> |
128 | 128 |
<elevation>15.0</elevation> |
129 |
<elevationrange>0.0</elevationrange>
|
|
129 |
<elevationrange/>
|
|
130 | 130 |
<centerlatitude>17.40</centerlatitude> |
131 | 131 |
<centerlongitude>-88.50</centerlongitude> |
132 | 132 |
</location> |
Also available in: Unified diff
units.py: Restructured to use a Quantity object for the units-tagged value and conversion functions quantity2str() and str2quantity() to convert between that and a raw string. Added convert() with basic support for removing units and passing through matching units. xml_func.py: _units: Added "to" attr. VegBIEN mappings: Remove units using new _units "to" attr instead of temporary workaround in _units.