Skip to content
Snippets Groups Projects
Commit 882fae80 authored by ivar's avatar ivar
Browse files

No commit message

No commit message
parent 60f637e2
No related branches found
No related tags found
No related merge requests found
......@@ -135,6 +135,7 @@ class ObsPackObservations(Observation):
""" Adds model simulated values to the mixing ratio objects """
import da.tools.io4 as io
from da.tools.NameConvert import *
if not os.path.exists(filename):
msge = "Sample output filename for observations could not be found : %s" % filename ; logging.error(msge)
......@@ -349,6 +350,8 @@ class ObsPackObservations(Observation):
identifier = "%s_%02d_%s"%(site,int(lab),method,)
print identifier
NameConvert(name=identifier,to='OP')
print identifier
if SiteInfo.has_key(identifier):
msg = "Observation found (%s, %s)" % (obs.code, identifier,) ; logging.debug(msg)
obs.mdm = SiteInfo[identifier]['error']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment