Verified Commit 492a25dc authored by David Hoese's avatar David Hoese
Browse files

Start initial migration to new metobscommon and python 3 interface

parent de4a3306
...@@ -8,20 +8,17 @@ __docformat__ = 'Epytext' ...@@ -8,20 +8,17 @@ __docformat__ = 'Epytext'
from os import path, makedirs from os import path, makedirs
import logging import logging
from time import gmtime
from calendar import timegm from calendar import timegm
from datetime import datetime, timedelta from datetime import datetime, timedelta
from urllib2 import HTTPError#, urlopen
import pkg_resources import pkg_resources
from numpy import array, zeros, int32, int8, uint16 from numpy import array, zeros, int32, int8, uint16
from pycdf import NC
from metobs import mytime from metobscommon.util import mytime
from metobs.util.gen_open import open_ascii as urlopen from metobscommon.util.gen_open import open_ascii as urlopen
from metobs.util.nc import create_nc_from_ncml from metobscommon.util.legacy_nc import create_nc_from_ncml
from metobs.ceilo.CONFIG import get_ascii_url, get_nc_filename, get_cache_dir as _get_destination_dir from aossceilo.CONFIG import get_ascii_url, get_nc_filename, get_cache_dir as _get_destination_dir
from message import Message2, load_messages from .message import load_messages
#: valid RIG ceilometer variables #: valid RIG ceilometer variables
_ceilo_variables = [ _ceilo_variables = [
......
...@@ -26,7 +26,7 @@ from subprocess import check_call as sh ...@@ -26,7 +26,7 @@ from subprocess import check_call as sh
from datetime import datetime, timedelta from datetime import datetime, timedelta
from metobs.ceilo import quicklook, nc from metobs.ceilo import quicklook, nc
from metobs.ceilo import CONFIG as c from metobs.ceilo import CONFIG as c
from metobs.util import raw_manager from metobscommon.util import raw_manager
rel = raw_manager.relativedir rel = raw_manager.relativedir
import re import re
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment