Skip to content

Commit

Permalink
remove lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gantian127 committed Mar 28, 2024
1 parent 1634050 commit c1dd8ca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ applies math methods to integrate/harmonize those
and produces gridded data on the major properties of the seabed.
The scope is the global ocean and across all depth zones.

The current page serves only the data for the Gulf of Mexico region.
The current page serves only the data for the Gulf of Mexico region.
The entire collection of data is available at
[this webpage](https://csdms.colorado.edu/wiki/Data:DBSEABED). Please note that
the data will be updated from time to time, approximately annually.
Expand Down Expand Up @@ -102,7 +102,7 @@ var_location = data_comp.get_var_location(var_name)
var_type = data_comp.get_var_type(var_name)
var_grid = data_comp.get_var_grid(var_name)

print(f'{var_name=} \n{var_unit=} \n{var_location=} \n{var_type=} \n{var_grid=}')
print(f"{var_name=} \n{var_unit=} \n{var_location=} \n{var_type=} \n{var_grid=}")

# get variable grid info
grid_rank = data_comp.get_grid_rank(var_grid)
Expand All @@ -118,7 +118,7 @@ data_comp.get_grid_spacing(var_grid, grid_spacing)
grid_origin = np.empty(grid_rank)
data_comp.get_grid_origin(var_grid, grid_origin)

print(f'{grid_rank=} \n{grid_size=} \n{grid_shape=} \n{grid_spacing=} \n{grid_origin=}')
print(f"{grid_rank=} \n{grid_size=} \n{grid_shape=} \n{grid_spacing=} \n{grid_origin=}")

# get variable data
data = np.empty(grid_size, var_type)
Expand Down
4 changes: 2 additions & 2 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ var_location = data_comp.get_var_location(var_name)
var_type = data_comp.get_var_type(var_name)
var_grid = data_comp.get_var_grid(var_name)

print(f'{var_name=} \n{var_unit=} \n{var_location=} \n{var_type=} \n{var_grid=}')
print(f"{var_name=} \n{var_unit=} \n{var_location=} \n{var_type=} \n{var_grid=}")

# get variable grid info
grid_rank = data_comp.get_grid_rank(var_grid)
Expand All @@ -123,7 +123,7 @@ data_comp.get_grid_spacing(var_grid, grid_spacing)
grid_origin = np.empty(grid_rank)
data_comp.get_grid_origin(var_grid, grid_origin)

print(f'{grid_rank=} \n{grid_size=} \n{grid_shape=} \n{grid_spacing=} \n{grid_origin=}')
print(f"{grid_rank=} \n{grid_size=} \n{grid_shape=} \n{grid_spacing=} \n{grid_origin=}")

# get variable data
data = np.empty(grid_size, var_type)
Expand Down
4 changes: 2 additions & 2 deletions notebooks/bmi_dbseabed.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
"var_type = data_comp.get_var_type(var_name)\n",
"var_grid = data_comp.get_var_grid(var_name)\n",
"\n",
"print(f'{var_name=} \\n{var_unit=} \\n{var_location=} \\n{var_type=} \\n{var_grid=}')"
"print(f\"{var_name=} \\n{var_unit=} \\n{var_location=} \\n{var_type=} \\n{var_grid=}\")"
]
},
{
Expand Down Expand Up @@ -246,7 +246,7 @@
"grid_origin = np.empty(grid_rank)\n",
"data_comp.get_grid_origin(var_grid, grid_origin)\n",
"\n",
"print(f'{grid_rank=} \\n{grid_size=} \\n{grid_shape=} \\n{grid_spacing=} \\n{grid_origin=}')"
"print(f\"{grid_rank=} \\n{grid_size=} \\n{grid_shape=} \\n{grid_spacing=} \\n{grid_origin=}\")"
]
},
{
Expand Down

0 comments on commit c1dd8ca

Please sign in to comment.