atmospheric_lidar/lilas.py

Fri, 22 Sep 2017 15:02:53 +0300

author
Victor Nicolae <victor.nicolae@inoe.ro>
date
Fri, 22 Sep 2017 15:02:53 +0300
changeset 76
e59cdc4fd4c0
parent 41
9d1b212552b3
permissions
-rwxr-xr-x

Include all parameters from the NetCDF parameters file in the final output file.

Better inform the user if any mandatory parameter misses from the file.

In case of extra (optional) parameters, allow missing values in the output file.

from licel import LicelLidarMeasurement
import lilas_netcdf_parameters


class LilasLidarMeasurement(LicelLidarMeasurement):
    extra_netcdf_parameters = lilas_netcdf_parameters

    def get_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