/usr/share/pyshared/quantities/units/area.py is in python-quantities 0.10.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | """
"""
from __future__ import absolute_import
from ..unitquantity import UnitQuantity
from .length import m, rod
are = ares = UnitQuantity(
'are',
100*m**2,
aliases=['ares']
)
b = barn = UnitQuantity(
'barn',
1e-28*m**2,
symbol='b',
aliases=['barnes']
)
cmil = circular_mil = UnitQuantity(
'circular_mil',
5.067075e-10*m**2,
symbol='cmil',
aliases=['circular_mils'],
doc='conversions approximate, area of a circle with diameter=1 mil'
)
D = darcy = UnitQuantity(
'darcy',
9.869233e-13*m**2,
symbol='D'
)
mD = millidarcy = UnitQuantity(
'millidarcy',
D/1000,
symbol='mD'
)
ha = hectare = UnitQuantity(
'hectare',
10000*m**2,
symbol='ha',
aliases=['hectares']
)
acre = international_acre = UnitQuantity(
'acre',
4046.8564224*m**2,
aliases=['acres', 'international_acre', 'international_acres'],
doc="exact. http://en.wikipedia.org/wiki/Acre"
)
US_survey_acre = UnitQuantity(
'US_survey_acre',
160*rod**2,
aliases=['US_survey_acres'],
)
del UnitQuantity, m, rod
|