Skip to content

Commit 4726d6b

Browse files
committed
Releasing version 1.0.0
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
1 parent 89d1d19 commit 4726d6b

8 files changed

+12
-56
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,6 @@ cython_debug/
171171
# and can be added to the global gitignore or merged into this file. For a more nuclear
172172
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
173173
.idea/
174+
175+
# VS Code related dirs
176+
.vscode

environment.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ dependencies:
1212
- conda-forge::wrf-python
1313
- conda-forge::netcdf4
1414
- conda-forge::cartopy
15-
- conda-forge::imageio
16-
- conda-forge::nuitka
15+
#- conda-forge::imageio
16+
#- conda-forge::nuitka
1717
- conda-forge::ordered-set
1818
- conda-forge::tqdm
1919
- conda-forge::wrapt
2020
- conda-forge::psutil
2121
# - conda-forge::patchelf
22-
- conda-forge::scons
22+
#- conda-forge::scons
2323
- conda-forge::shapely
2424
- conda-forge::pip
2525
- conda-forge::black # use it only for code formatting. `black /path/to/python/package`

installer.nsi

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
; Define the path to directory where Nutika put all our application files and directories
55
!define PY_APP_DIR "build\windows\wrfplot"
66
!define PRODUCT_NAME "wrfplot"
7-
!define PRODUCT_VERSION "0.9.9"
7+
!define PRODUCT_VERSION "1.0.0"
88
!define BITNESS "64"
99
!define ARCH_TAG ".amd64"
1010
!define INSTALLER_NAME "wrfplot-windows-64bit.exe"

pyproject.toml

+4-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: Implementation :: CPython",
3030
]
3131

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

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

4949
[tool.setuptools.packages.find]
50-
exclude = ["wrfplot.tests*"]
5150
namespaces = false
51+
exclude = ["docs*", "tests*" ]
5252

5353
[tool.setuptools.exclude-package-data]
54-
"wrfplot" = [".gitattributes", "dist", "installer.iss", "test", "docs", "installer.nsi", "environment.yml", "installer.sh", "release_check_list.py",
55-
"wrfplot.egg-info", "dev", "install_env.txt", " __pycache__"]
56-
54+
"wrfplot" = [".gitattributes", "dist", "installer.iss", "tests", "docs", "installer.nsi", "environment.yml", "installer.sh", "release_check_list.py",
55+
"wrfplot.egg-info", "dev", "install_env.txt", " __pycache__"]
-44.1 MB
Binary file not shown.

wrfplot.exe.spec

-44
This file was deleted.

wrfplot/plot.py

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import matplotlib.axes as maxes
3434
from tqdm import tqdm
3535
from matplotlib.colors import BoundaryNorm
36-
import json
3736
from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER
3837
import utils
3938
import warnings

wrfplot/wrfplot.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
import arguments
4646
from datetime import datetime
4747
from wrf import getvar, smooth2d, get_cartopy, interplevel, latlon_coords, ALL_TIMES
48-
import json
4948
from configparser import ConfigParser
5049
import fileio
5150
import utils
@@ -438,7 +437,7 @@ def _praser():
438437
"Command line application to plot static WRF model prognostic products..."
439438
)
440439
parser = argparse.ArgumentParser(
441-
description=prog_name, epilog="\u00a9 J Sundar, wrf.guy@gmail.com, 2023"
440+
description=prog_name, epilog="\u00a9 J Sundar, wrf.guy@gmail.com, 2024"
442441
)
443442
parser.add_argument(
444443
"--list-vars", action="store_true", help="Show list of variables supported by wrfplot and exit."

0 commit comments

Comments
 (0)