Commit 09bc3c43 authored by Carl Schaffer's avatar Carl Schaffer
Browse files

Merge branch '286-add-interface-to-grisplot' into 'master'

Resolve "Add interface to grisplot"

Closes #287 and #286

See merge request !211
parents c4f7112c 0e27ee60
......@@ -115,8 +115,30 @@ optional arguments:
-v, --verbose don't silence warnings
```
## grisplot
Display an interactive plot to explore gris data
```shell
usage: grisplot [-h] target_pattern
positional arguments:
target_pattern glob pattern to catch gris files (l1 or l0, non split)
optional arguments:
-h, --help show this help message and exit
```
## gristagger
Open an interactive gui application to tag targets of GRIS data, simply run
`gristagger`
in an interactive shell. The tagger requires an input file in csv format formatted as
```csv
date,run
2020-07-08,1
2020-09-28,1
2020-09-05,3
2020-11-10,7
...
```
The gui will automatically look for preview images for the given run and allow the user to set the
appropriate tag using a radio button. Results can be exported in csv format.
## lars_gen_preview
Generate preview images for LARS data. Might only be useful for data structured as in the
......
#!/usr/bin/env python3
import sys
from argparse import ArgumentParser
from kis_tools.util.swag import greeter
print(greeter)
parser = ArgumentParser()
parser.add_argument("target_pattern",
help="""glob pattern to catch gris files (l1 or l0, non split)"""
)
args = parser.parse_args()
pattern = args.target_pattern
from kis_tools.gris.plotting import main
main(*sys.argv[1:])
main(pattern)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment