Skip to content

Commit

Permalink
rename from bumblebee to stitchee
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed Sep 13, 2023
1 parent 4e5af7c commit 3ead854
Show file tree
Hide file tree
Showing 11 changed files with 102 additions and 417 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint_and_test_and_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
echo "software_version=$(poetry version | awk '{print $2}')" >> $GITHUB_ENV
echo "venue=ops" >> $GITHUB_ENV
- name: Install bumblebee
- name: Install stitchee
run: poetry install

- name: Lint
Expand All @@ -96,8 +96,8 @@ jobs:
# github.ref == 'refs/heads/main' ||
# startsWith(github.ref, 'refs/heads/release')
# run: |
# git config --global user.name 'bumblebee bot'
# git config --global user.email 'bumblebee@noreply.github.com'
# git config --global user.name 'stitchee bot'
# git config --global user.email 'stitchee@noreply.github.com'
# git commit -am "/version ${{ env.software_version }}"
# git push
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_and_test_on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
poetry-version: 1.3.2

- name: Install bumblebee
- name: Install stitchee
run: poetry install

- name: Lint
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# bumblebee
# stitchee

Tool for concatenating netCDF data *along an existing dimension*,
which is deigned as both a standalone utility and
Expand All @@ -7,13 +7,13 @@ for use as a service in [Harmony](https://harmony.earthdata.nasa.gov/).
## Getting started, with poetry

1. Follow the instructions for installing `poetry` [here](https://python-poetry.org/docs/).
2. Install `bumblebee`, with its dependencies, by running the following from the repository directory:
2. Install `stitchee`, with its dependencies, by running the following from the repository directory:

```shell
poetry install
```

## How to test `bumblebee` locally
## How to test `stitchee` locally

```shell
poetry run pytest tests/
Expand All @@ -22,8 +22,8 @@ poetry run pytest tests/
## Usage (with poetry)

```shell
$ poetry run bumblebee --help
usage: bumblebee [-h] [--make_dir_copy] [-v] data_dir output_path
$ poetry run stitchee --help
usage: stitchee [-h] [--make_dir_copy] [-v] data_dir output_path

Run the along-existing-dimension concatenator.

Expand All @@ -40,7 +40,7 @@ options:
For example:

```shell
poetry run bumblebee /path/to/netcdf/directory/ /path/to/output.nc
poetry run stitchee /path/to/netcdf/directory/ /path/to/output.nc
```

## Usage (without poetry)
Expand Down
146 changes: 0 additions & 146 deletions concatenator/bumblebee.py

This file was deleted.

2 changes: 1 addition & 1 deletion concatenator/concat_with_nco.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import netCDF4 as nc # type: ignore
from nco import Nco # type: ignore

from concatenator.bumblebee import _validate_workable_files
from concatenator.stitchee import _validate_workable_files

default_logger = getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion concatenator/concat_with_nco_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import sys

from concatenator.concat_with_nco import concat_netcdf_files
from concatenator.run_bumblebee import parse_args
from concatenator.run_stitchee import parse_args


def run_nco_concat(args: list) -> None:
Expand Down
Loading

0 comments on commit 3ead854

Please sign in to comment.