Skip to content
Snippets Groups Projects
Commit 9f9f37b3 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

changed init of MrData to an empty list so data can be appended directly

parent 004a1930
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ class CtObservations(object):
def __init__(self,DaSystem,sampledate):
sfname = DaSystem.da_settings['obs.input.fname']+'.%s'%(sampledate.strftime('%Y%m%d'),)+'.nc'
msg = 'This filename is hardcoded but needs replacement' ; logging.warning(msg)
#msg = 'This filename is hardcoded but needs replacement' ; logging.warning(msg)
filename = os.path.join(DaSystem.da_settings['obs.input.dir'],sfname)
if not os.path.exists(filename):
......@@ -90,7 +90,7 @@ class CtObservations(object):
else:
self.ObsFilename = filename
self.MrData = None
self.MrData = MixingRatioList([])
def __str__(self):
""" Prints a list of MixingRatioSample objects"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment