Skip to content

Commit

Permalink
Move imports to the top of the file.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmithyman committed Nov 12, 2015
1 parent b8132c8 commit 1b615f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions anemoi/source.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@

from .meta import BaseModelDependent
import warnings
import numpy as np
import scipy.sparse as sp
from scipy.special import i0 as bessi0


class BaseSource(BaseModelDependent):

Expand Down Expand Up @@ -107,9 +110,6 @@ def kws(self, offset):
the nearest node on the modelling grid.
'''

from scipy.special import i0 as bessi0
import warnings

try:
b = self.HC_KAISER.get(self.ireg)
except KeyError:
Expand Down

0 comments on commit 1b615f9

Please sign in to comment.