Changeset 1754 for trunk/python


Ignore:
Timestamp:
05/25/10 14:45:32 (15 years ago)
Author:
Malte Marquarding
Message:

Merged in bug fix from release branch

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/python/opacity.py

    r1726 r1754  
    4545            elevation:     observatory elevation about sea level (in meters)
    4646        """
    47         self._atm = atmosphere(temp, self._to_pascals(pressure), humidity)
     47        self._atm = atmosphere(temperature, self._to_pascals(pressure),
     48                               humidity)
    4849        self.set_observatory_elevation(elevation)
    4950
     
    9697                        is given (default) the zenith opacity is returned.
    9798        """
    98         self._atm.set_observatory_elevation(el)
     99        self._atm.set_observatory_elevation(elevation)
    99100
    100101
     
    162163    pnos = scan.getpolnos()
    163164    opacities = []
    164     om = opacitymodel(temperature, pressure, humidity)
     165    om = model(temperature, pressure, humidity)
    165166    for ino in inos:
    166167        sel.set_ifs(ino)
Note: See TracChangeset for help on using the changeset viewer.