Skip to content

Commit

Permalink
rename pbp-plot to pbp-hmb-plot
Browse files Browse the repository at this point in the history
  • Loading branch information
carueda committed Aug 26, 2024
1 parent 42ab985 commit 2a50f87
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- 1.4.2:
- renamed `pbp` CLI program to `pbp-hmb-gen`
- renamed `pbp-plot` CLI program to `pbp-hmb-plot`

- 1.4.1 - HMB generation CLI now with `--s3-unsigned` option to use unsigned config.

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ and also provides APIs you can use in your Python scripts or notebooks.

The package includes the following CLI programs:

| Program | Description |
| ------- |------------------------------------------------|
| [`pbp-meta-gen`](https://docs.mbari.org/pbp/pbp-meta-gen/) | Generate JSON files with audio metadata. |
| [`pbp`](https://docs.mbari.org/pbp/pbp/) | Main HMB generation program. |
| [`pbp-cloud`](https://docs.mbari.org/pbp/pbp-cloud/) | Program for cloud based processing. |
| [`pbp-plot`](https://docs.mbari.org/pbp/pbp-plot/) | Utility program to plot resulting HMB product. |
| Program | Description |
|------------------------------------------------------------|-----------------------------------------|
| [`pbp-meta-gen`](https://docs.mbari.org/pbp/pbp-meta-gen/) | Generate JSON files with audio metadata |
| [`pbp-hmb-gen`](https://docs.mbari.org/pbp/pbp-hmb-gen/) | Main HMB generation program |
| [`pbp-cloud`](https://docs.mbari.org/pbp/pbp-cloud/) | Program for cloud based processing |
| [`pbp-hmb-plot`](https://docs.mbari.org/pbp/pbp-hmb-plot/) | Utility program to plot HMB product |

### API

Expand Down
8 changes: 4 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ main-nrs11-multiple-days year month *days="":
wait
# Plot NRS11 datasets
plot-nrs11 *netcdfs='NRS11/OUTPUT/NRS11_20200101.nc':
poetry run python pbp/plot.py \
hmb-plot-nrs11 *netcdfs='NRS11/OUTPUT/NRS11_20200101.nc':
poetry run python pbp/main_plot.py \
--ylim 10 2000 \
--cmlim 64 108 \
--latlon 37.88 -123.44 \
Expand Down Expand Up @@ -237,8 +237,8 @@ main *args="":
# misc/utils:

# Generate summary plots
plot *args:
poetry run python pbp/plot.py {{args}}
hmb-plot *args:
poetry run python pbp/main_plot.py {{args}}

##############
# docker:
Expand Down
2 changes: 1 addition & 1 deletion misc/plot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dir=$1

for nc in "${dir}"/*nc; do
echo -e "\n=== ${nc} ==="
python src/plot.py \
python src/main_plot.py \
--latlon 35.77 -121.43 \
--ylim 10 24000 \
--title 'Location: MB05, Monterey Bay National Marine Sanctuary, 35.77°N 121.43°W' \
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ packages = [{include = "pbp"}]
[tool.poetry.scripts]
pbp-hmb-gen = "pbp.main_hmb_generator:main"
pbp-cloud = "pbp.main_cloud:main"
pbp-plot = "pbp.plot:main"
pbp-hmb-plot = "pbp.main_plot:main"
pbp-meta-gen = "pbp.main_meta_generator:main"

[tool.poetry.dependencies]
Expand Down

0 comments on commit 2a50f87

Please sign in to comment.