Skip to content

Remove nc from descriptions of OPS files #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions paths_cli/commands/contents.py
Original file line number Diff line number Diff line change
@@ -22,16 +22,16 @@

@click.command(
'contents',
short_help="list named objects from an OPS .nc file",
short_help="list named objects from an OPS storage file",
)
@INPUT_FILE.clicked(required=True)
@click.option('--table', type=str, required=False,
help="table to show results from")
def contents(input_file, table):
"""List the names of named objects in an OPS .nc file.
"""List the names of named objects in an OPS storage file.

This is particularly useful when getting ready to use one of simulation
scripts (i.e., to identify exactly how a state or engine is named.)
This is particularly useful when getting ready to use a simulation
command (i.e., to identify exactly how a state or engine is named.)
"""
storage = INPUT_FILE.get(input_file)
print(storage)
2 changes: 1 addition & 1 deletion paths_cli/parameters.py
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@
OUTPUT_FILE = StorageLoader(
param=Option('-o', '--output-file',
type=click.Path(writable=True),
help="output ncfile"),
help="output file"),
mode='w'
)