From a499830d02c49efbfe43a59121e9bce328bf38b0 Mon Sep 17 00:00:00 2001 From: Fabian Pedregosa <fabian.pedregosa@inria.fr> Date: Mon, 1 Mar 2010 14:31:09 +0000 Subject: [PATCH] Import dap.client only locally. This way we can import the module without depending on dap.client. From: Fabian Pedregosa <fabian.pedregosa@inria.fr> git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@413 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8 --- scikits/learn/datasets/narr/data.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scikits/learn/datasets/narr/data.py b/scikits/learn/datasets/narr/data.py index 5ccbb78eb6..37989bb43a 100644 --- a/scikits/learn/datasets/narr/data.py +++ b/scikits/learn/datasets/narr/data.py @@ -105,7 +105,6 @@ well as model-derived fields which contain estimates of subsurface, surface, and radiative properties. """ -import dap.client import datetime import numpy as np @@ -150,7 +149,7 @@ def load(year, month, day, verbose=True): lon = narr.lon[:] """ - + import dap.client tail = 'narr-a_221_' dir1 = '%d%02d'%(year, month) dir2 = dir1+'%02d'%day -- GitLab