Skip to content
Snippets Groups Projects
Commit 06a92dd6 authored by Test Paul's avatar Test Paul
Browse files

BUGFIX: no component characteristics allowed for passive_puf instrument

parent 1479e12d
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,6 @@ from nilutility.datatypes import DataObject ...@@ -18,7 +18,6 @@ from nilutility.datatypes import DataObject
from ebas.domain.time_period import estimate_period_code, \ from ebas.domain.time_period import estimate_period_code, \
estimate_resolution_code, estimate_sample_duration_code estimate_resolution_code, estimate_sample_duration_code
import datetime import datetime
from ebas.io.ebasmetadata import DatasetCharacteristicList
__version__ = '1.00.00' __version__ = '1.00.00'
...@@ -182,12 +181,6 @@ def set_variables(nas): ...@@ -182,12 +181,6 @@ def set_variables(nas):
metadata.unit = '%' metadata.unit = '%'
# alternatively, you could set all metadata at once: # alternatively, you could set all metadata at once:
# metadata = DataObject(comp_name='HCB', unit = 'pg/m3') # metadata = DataObject(comp_name='HCB', unit = 'pg/m3')
# add component characteristics: E.g. a location for the humidity
# measurement:
metadata.characteristics = DatasetCharacteristicList()
metadata.characteristics.add_parse(
'Location', 'instrument internal', nas.metadata.instr_type,
metadata.comp_name)
nas.variables.append(DataObject(values_=values, flags=flags, flagcol=True, nas.variables.append(DataObject(values_=values, flags=flags, flagcol=True,
metadata=metadata)) metadata=metadata))
# examples for missing values and flagging: # examples for missing values and flagging:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment