Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaze committed Apr 11, 2024
1 parent 61ec29c commit 24c310c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 6 deletions.
42 changes: 36 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ More about Argo floats recovery in here:

## Command Line Interface

Primary groups of commands are ``predict`` and ``describe``.
Primary groups of commands are ``predict``, ``describe`` and ``db``.

### vfrecovery predict
```
Expand Down Expand Up @@ -66,11 +66,14 @@ Options:
### vfrecovery describe

```
Usage: vfrecovery describe [OPTIONS] WMO [CYC]...
Usage: vfrecovery describe [OPTIONS] TARGET WMO [CYC]...
Returns data about an existing VirtualFleet-Recovery prediction
TARGET select what is to be described. A string in: ['obs', 'velocity',
'run'].
Data could be a JSON file, specific metrics or images
WMO is the float World Meteorological Organisation number
CYC is the cycle number location to restrict description to
Options:
--log-level [DEBUG|INFO|WARN|ERROR|CRITICAL|QUIET]
Expand All @@ -81,11 +84,38 @@ Options:
Examples:
vfrecovery describe 6903091
vfrecovery describe velocity 6903091
vfrecovery describe 6903091 112
vfrecovery describe obs 6903091 112
```

### vfrecovery db

```
Usage: vfrecovery db [OPTIONS] ACTION
Internal simulation database helper
Options:
--log-level [DEBUG|INFO|WARN|ERROR|CRITICAL|QUIET]
Set the details printed to console by the
command (based on standard logging library).
[default: INFO]
-i, --index INTEGER Record index to work with
-h, --help Show this message and exit.
Examples:
vfrecovery db info
vfrecovery db read
vfrecovery db read --index 3
vfrecovery db drop
```


## Python interface


Expand Down
1 change: 1 addition & 0 deletions vfrecovery/command_line_interface/group_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def cli_group_db() -> None:
"db",
short_help="Helper for VirtualFleet-Recovery simulations database",
help="""
Internal simulation database helper
""",
epilog="""
Expand Down

0 comments on commit 24c310c

Please sign in to comment.