metobs_toolkit.template.Template.get_info#

Template.get_info()[source]#

Prints out an overview of Template.

Return type:

None.

Examples

>>> import metobs_toolkit
>>>
>>> #Create your Dataset
>>> dataset = metobs_toolkit.Dataset() #empty Dataset
>>>
>>> #Add observations to the Dataset
>>> dataset.update_settings(
...                         input_data_file=metobs_toolkit.demo_datafile,
...                         input_metadata_file=metobs_toolkit.demo_metadatafile,
...                         template_file=metobs_toolkit.demo_template,
...                         )
>>> dataset.import_data_from_file()
>>>
>>> # Print out details
>>> dataset.template.get_info()
------ Data obstypes map ---------
 * temp            <---> Temperatuur
     (raw data in Celsius)
     (description: 2mT passive)

 * humidity        <---> Vochtigheid
     (raw data in %)
     (description: 2m relative humidity passive)

 * wind_speed      <---> Windsnelheid
     (raw data in km/h)
     (description: Average 2m  10-min windspeed)

 * wind_direction  <---> Windrichting
     (raw data in ° from north (CW))
     (description: Average 2m  10-min windspeed)


...