readme.rst

changeset 57
103b093f9895
parent 56
853ab74421c1
child 58
c97f146dfa32
equal deleted inserted replaced
56:853ab74421c1 57:103b093f9895
57 -------------------- 57 --------------------
58 System class 58 System class
59 ~~~~~~~~~~~~ 59 ~~~~~~~~~~~~
60 To read data from a system, you need create a class that describes you system. 60 To read data from a system, you need create a class that describes you system.
61 This is very simple if your lidar data are in the Licel format, as you only need to specify 61 This is very simple if your lidar data are in the Licel format, as you only need to specify
62 the external file with the extra SCC parameters. You can use as an example the file “cf_netcdf_parameters.py”: 62 the external file with the extra SCC parameters. You can use as an example the file ``cf_netcdf_parameters.py``:
63 63
64 .. code-block:: python 64 .. code-block:: python
65 :caption: cf_lidar.py
66 65
67 from licel import LicelLidarMeasurement 66 from licel import LicelLidarMeasurement
68 import cf_netcdf_parameters 67 import cf_netcdf_parameters
69 68
70 class CfLidarMeasurement(LicelLidarMeasurement): 69 class CfLidarMeasurement(LicelLidarMeasurement):
71 extra_netcdf_parameters = cf_netcdf_parameters 70 extra_netcdf_parameters = cf_netcdf_parameters
72 71
73 This code assumes that the "cf_netcdf_parameters" is in your python path. 72 This code assumes that the ``cf_netcdf_parameters.py`` is in your python path.
74 73
75 Using the class 74 Using the class
76 ~~~~~~~~~~~~~~~ 75 ~~~~~~~~~~~~~~~
77 76
78 Once you have made the above setup you can start using it. The best way to understand how 77 Once you have made the above setup you can start using it. The best way to understand how

mercurial