Skip to content

Commit b07a279

Browse files
committed
autoformat
1 parent 4c50b79 commit b07a279

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

notebooks/shared.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import geopandas as gpd
66
import xarray as xr
77
from dask_gateway import GatewayCluster
8+
89
from pyCIAM import __file__
910

1011
DIR_SCRATCH = Path("/tmp/ciam-scratch")

pyCIAM/io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import pandas as pd
1414
import pint_xarray # noqa: F401
1515
import xarray as xr
16+
1617
from pyCIAM.utils import spherical_nearest_neighbor as snn
1718

1819
from .utils import _s2d

pyCIAM/run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
import xarray as xr
1717
from cloudpathlib import AnyPath, CloudPath
1818
from distributed import Client, wait
19+
from rhg_compute_tools.xarray import dataarray_from_delayed
20+
1921
from pyCIAM.constants import CASE_DICT, CASES, COSTTYPES, PLIST, RLIST, SOLVCASES
2022
from pyCIAM.io import (
2123
check_finished_zarr_workflow,
@@ -38,7 +40,6 @@
3840
collapse_econ_inputs_to_seg,
3941
subset_econ_inputs,
4042
)
41-
from rhg_compute_tools.xarray import dataarray_from_delayed
4243

4344

4445
def calc_costs(

pyCIAM/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
import pandas as pd
88
import xarray as xr
99
from cloudpathlib import CloudPath
10-
from pyCIAM.constants import CASE_DICT
1110
from sklearn.neighbors import BallTree
1211

12+
from pyCIAM.constants import CASE_DICT
13+
1314

1415
def _s2d(ds):
1516
for v in ds.data_vars:

0 commit comments

Comments
 (0)