Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
alexamici committed Oct 15, 2023
1 parent 98bbde3 commit 929fc1b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions cfgrib/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@ def selfcheck() -> None:
@cfgrib_cli.command("to_netcdf")
@click.argument("inpaths", nargs=-1)
@click.option("--outpath", "-o", default=None, help="Filename of the output netcdf file.")
@click.option("--cdm", "-c", default=None, help="Coordinate model to translate the grib coordinates to.")
@click.option("--engine", "-e", default="cfgrib", help="xarray engine to use in xarray.open_dataset.")
@click.option(
"--cdm", "-c", default=None, help="Coordinate model to translate the grib coordinates to."
)
@click.option(
"--engine", "-e", default="cfgrib", help="xarray engine to use in xarray.open_dataset."
)
@click.option(
"--backend-kwargs-json",
"-b",
Expand Down Expand Up @@ -88,13 +92,7 @@ def selfcheck() -> None:
),
)
def to_netcdf(
inpaths,
outpath,
cdm,
engine,
backend_kwargs_json,
netcdf_kwargs_json,
var_encoding_json,
inpaths, outpath, cdm, engine, backend_kwargs_json, netcdf_kwargs_json, var_encoding_json
): # type: (T.List[str], str, str, str, str, str, str) -> None
import xarray as xr

Expand Down

0 comments on commit 929fc1b

Please sign in to comment.