Skip to content

Commit

Permalink
Releasing version 1.0.0
Browse files Browse the repository at this point in the history
Removed wrfout file which was included while distributing source package
Removed imageio as dependencies
Updated environment.yml file to remove packages not used in project development
Remove json import from codes
  • Loading branch information
wxguy committed Jul 16, 2024
1 parent 89d1d19 commit 4726d6b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 56 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,6 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

# VS Code related dirs
.vscode
6 changes: 3 additions & 3 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ dependencies:
- conda-forge::wrf-python
- conda-forge::netcdf4
- conda-forge::cartopy
- conda-forge::imageio
- conda-forge::nuitka
#- conda-forge::imageio
#- conda-forge::nuitka
- conda-forge::ordered-set
- conda-forge::tqdm
- conda-forge::wrapt
- conda-forge::psutil
# - conda-forge::patchelf
- conda-forge::scons
#- conda-forge::scons
- conda-forge::shapely
- conda-forge::pip
- conda-forge::black # use it only for code formatting. `black /path/to/python/package`
Expand Down
2 changes: 1 addition & 1 deletion installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
; Define the path to directory where Nutika put all our application files and directories
!define PY_APP_DIR "build\windows\wrfplot"
!define PRODUCT_NAME "wrfplot"
!define PRODUCT_VERSION "0.9.9"
!define PRODUCT_VERSION "1.0.0"
!define BITNESS "64"
!define ARCH_TAG ".amd64"
!define INSTALLER_NAME "wrfplot-windows-64bit.exe"
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
]

dependencies = ['cartopy', 'xarray', 'matplotlib', 'wrf-python>=1.3', 'imageio', 'tqdm', 'netcdf4', 'colormaps']
dependencies = ['cartopy', 'xarray', 'matplotlib', 'wrf-python>=1.3', 'tqdm', 'netcdf4', 'colormaps']

[project.entry-points."wrfplot.wrfplot"]
wrfplot = "wrfplot:main"
Expand All @@ -47,10 +47,9 @@ include-package-data = false
# find = {}

[tool.setuptools.packages.find]
exclude = ["wrfplot.tests*"]
namespaces = false
exclude = ["docs*", "tests*" ]

[tool.setuptools.exclude-package-data]
"wrfplot" = [".gitattributes", "dist", "installer.iss", "test", "docs", "installer.nsi", "environment.yml", "installer.sh", "release_check_list.py",
"wrfplot.egg-info", "dev", "install_env.txt", " __pycache__"]

"wrfplot" = [".gitattributes", "dist", "installer.iss", "tests", "docs", "installer.nsi", "environment.yml", "installer.sh", "release_check_list.py",
"wrfplot.egg-info", "dev", "install_env.txt", " __pycache__"]
Binary file removed tests/wrfout_data/wrfout_d01_2021-05-13_00_00_00
Binary file not shown.
44 changes: 0 additions & 44 deletions wrfplot.exe.spec

This file was deleted.

1 change: 0 additions & 1 deletion wrfplot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import matplotlib.axes as maxes
from tqdm import tqdm
from matplotlib.colors import BoundaryNorm
import json
from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER
import utils
import warnings
Expand Down
3 changes: 1 addition & 2 deletions wrfplot/wrfplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
import arguments
from datetime import datetime
from wrf import getvar, smooth2d, get_cartopy, interplevel, latlon_coords, ALL_TIMES
import json
from configparser import ConfigParser
import fileio
import utils
Expand Down Expand Up @@ -438,7 +437,7 @@ def _praser():
"Command line application to plot static WRF model prognostic products..."
)
parser = argparse.ArgumentParser(
description=prog_name, epilog="\u00a9 J Sundar, wrf.guy@gmail.com, 2023"
description=prog_name, epilog="\u00a9 J Sundar, wrf.guy@gmail.com, 2024"
)
parser.add_argument(
"--list-vars", action="store_true", help="Show list of variables supported by wrfplot and exit."
Expand Down

0 comments on commit 4726d6b

Please sign in to comment.