Skip to content

Commit

Permalink
linting #2
Browse files Browse the repository at this point in the history
  • Loading branch information
oloapinivad committed Oct 17, 2024
1 parent bd30eee commit 5d0cdc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion smmregrid/cdo_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def cdo_generate_weights(source_grid, target_grid, method="con", extrapolate=Tru
processes = []
for lev in block:
loggy.info("Generating level: %s", str(lev))
cdo_extra_vertical = [f"-sellevidx,{lev+1}"]
cdo_extra_vertical = [f"-sellevidx,{lev + 1}"]
ppp = Process(target=worker,
args=(wlist, lev, source_grid, target_grid),
kwargs={
Expand Down
6 changes: 3 additions & 3 deletions smmregrid/gridtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

# default spatial dimensions and vertical coordinates
DEFAULT_DIMS = {
'horizontal': ['i', 'j', 'x', 'y', 'lon', 'lat', 'longitude', 'latitude',
'cell', 'cells', 'ncells', 'values', 'value', 'nod2', 'pix', 'elem',
'nav_lon', 'nav_lat'],
'horizontal': ['i', 'j', 'x', 'y', 'lon', 'lat', 'longitude', 'latitude',
'cell', 'cells', 'ncells', 'values', 'value', 'nod2', 'pix', 'elem',
'nav_lon', 'nav_lat'],
'vertical': ['lev', 'nz1', 'nz', 'depth', 'depth_full', 'depth_half'],
'time': ['time']
}
Expand Down

0 comments on commit 5d0cdc3

Please sign in to comment.