atmospheric_lidar/systems/ipral/ipral.py

Wed, 28 Nov 2018 22:27:28 +0200

author
Iannis <ioannis@inoe.ro>
date
Wed, 28 Nov 2018 22:27:28 +0200
changeset 168
9fed2446a59f
parent 92
6d26002aaeed
permissions
-rw-r--r--

First attempt for python 3 compatibility.

from ...licel import LicelLidarMeasurement
from . import ipral_netcdf_parameters


class IpralLidarMeasurement(LicelLidarMeasurement):
    extra_netcdf_parameters = ipral_netcdf_parameters

    def __init__(self, file_list=None, use_id_as_name=True):
        super(IpralLidarMeasurement, self).__init__(file_list, use_id_as_name)

    def set_PT(self):
        ''' Sets the pressure and temperature at station level .
        The results are stored in the info dictionary.        
        '''
    
        self.info['Temperature'] = 25.0
        self.info['Pressure'] = 1020.0

mercurial