Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sdc
kis_tools
Commits
0e27ee60
Commit
0e27ee60
authored
Sep 30, 2021
by
Carl Schaffer
Browse files
adding interface to grisplot, documenting gristagger, closes
#287
parent
c4f7112c
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/README.md
View file @
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
...
...
bin/grisplot
View file @
0e27ee60
#!/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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment