Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ebas-io
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBAS
ebas-io
Commits
06a92dd6
Commit
06a92dd6
authored
7 years ago
by
Test Paul
Browse files
Options
Downloads
Patches
Plain Diff
BUGFIX: no component characteristics allowed for passive_puf instrument
parent
1479e12d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Examples/ebas_genfile.py
+0
-7
0 additions, 7 deletions
Examples/ebas_genfile.py
with
0 additions
and
7 deletions
Examples/ebas_genfile.py
+
0
−
7
View file @
06a92dd6
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment