Skip to content

Commit

Permalink
BUG: Fix deprecated OrderedDict imports
Browse files Browse the repository at this point in the history
  • Loading branch information
darothen committed May 19, 2019
1 parent 31972dd commit 00bbe66
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xbpch/bpch.py
Expand Up @@ -8,7 +8,7 @@
import numpy as np
import os

from xarray.core.pycompat import OrderedDict
from collections import OrderedDict

from . uff import FortranFile
from . util import cf
Expand Down
4 changes: 3 additions & 1 deletion xbpch/core.py
Expand Up @@ -12,7 +12,9 @@

import dask.array as da

from xarray.core.pycompat import OrderedDict, basestring
from collections import OrderedDict

from xarray.core.pycompat import basestring
from xarray.backends.common import AbstractDataStore
from xarray.core.utils import Frozen

Expand Down
2 changes: 1 addition & 1 deletion xbpch/grid.py
Expand Up @@ -5,7 +5,7 @@

import numpy as np

from xarray.core.pycompat import OrderedDict
from collections import OrderedDict

from .common import broadcast_1d_array
from .util.gridspec import _get_model_info, prof_altitude
Expand Down

0 comments on commit 00bbe66

Please sign in to comment.