Ticket 864: Add configurable RAVEIO version when writing files. andersFeatureBranch master jenkins-wrwp-100 jenkins-wrwp-101 jenkins-wrwp-102 jenkins-wrwp-103 jenkins-wrwp-77 jenkins-wrwp-78 jenkins-wrwp-79 jenkins-wrwp-80 jenkins-wrwp-81 jenkins-wrwp-82 jenkins-wrwp-83 jenkins-wrwp-84 jenkins-wrwp-85 jenkins-wrwp-86 jenkins-wrwp-87 jenkins-wrwp-88 jenkins-wrwp-89 jenkins-wrwp-90 jenkins-wrwp-91 jenkins-wrwp-92 jenkins-wrwp-93 jenkins-wrwp-94 jenkins-wrwp-95 jenkins-wrwp-96 jenkins-wrwp-97 jenkins-wrwp-98 jenkins-wrwp-99
authorAnders Henja <anders@baltrad.eu>
Mon, 5 Oct 2020 11:50:02 +0000 (13:50 +0200)
committerAnders Henja <anders@baltrad.eu>
Mon, 5 Oct 2020 11:50:02 +0000 (13:50 +0200)
pywrwp/baltrad_wrwp_pgf_plugin.py

index 4ae2810..46166f1 100644 (file)
@@ -64,6 +64,7 @@ import sys
 import fnmatch
 import xml.etree.cElementTree as ET    
 from rave_defines import CENTER_ID, GAIN, OFFSET
+from rave_defines import RAVE_IO_DEFAULT_VERSION
 
 logger = rave_pgf_logger.create_logger()
 
@@ -226,6 +227,7 @@ def generate(files, arguments):
     ios = _raveio.new()
     ios.object = profile
     ios.filename = outfile
+    ios.version = RAVE_IO_DEFAULT_VERSION
     ios.save()
     logger.debug("Finished generating vertical profile from polar volume %s"%files[0])
     return outfile