Skip to content

Commit

Permalink
Let the waccm script be executable after an install (#202)
Browse files Browse the repository at this point in the history
* New script for WACCM extract. Command-line args only.

* Opening the WACCM file with xarray.

* Retrieving WACCM values at requested location and time.

* Added example conversion.

* Writing initial values to CSV file.

* Added temperature and pressure.

* Stub function for writing JSON output.

* Writing initial concentrations to JSON file.

* Comment for 0-dim array.

* More realistic example species.

* creating exectuable

* moving Carl's newest version

---------

Co-authored-by: Carl Drews <[email protected]>
  • Loading branch information
K20shores and carl-drews authored Aug 28, 2024
1 parent 6072778 commit 6011948
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ dynamic = ["version", "description"]

dependencies = [
"musica==0.7.3",
"xarray",
"colorlog",
"pandas"
]
Expand All @@ -31,3 +32,4 @@ Home = "https://github.com/NCAR/music-box"

[project.scripts]
music_box = "acom_music_box.main:main"
waccmToMusicBox = "acom_music_box.tools.waccmToMusicBox:main"
2 changes: 1 addition & 1 deletion src/acom_music_box/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This package contains modules for handling various aspects of a music box,
including species, products, reactants, reactions, and more.
"""
__version__ = "2.3.1"
__version__ = "2.3.2"

from .utils import convert_time, convert_pressure, convert_temperature, convert_concentration
from .species import Species
Expand Down
Empty file.
File renamed without changes.

0 comments on commit 6011948

Please sign in to comment.