Couple more v23 updates

- Updated documentation
- Update version to 23.1
- Added missing image
- Update depcrated cascade to unary
This commit is contained in:
ucar-tmeyer 2025-02-13 09:58:02 -07:00
parent a2a2ef9051
commit d6fbde3fae
6 changed files with 12 additions and 11 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@ docs/build/
*.pyc *.pyc
.idea .idea
python_awips.egg-info python_awips.egg-info
build/

View file

@ -58,7 +58,7 @@ master_doc = 'index'
# General information about the project. # General information about the project.
project = 'python-awips' project = 'python-awips'
copyright = '2018, NSF Unidata' copyright = '2025, NSF Unidata'
author = 'NSF Unidata' author = 'NSF Unidata'
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
@ -66,7 +66,7 @@ author = 'NSF Unidata'
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = '20.1' version = '23.1'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation

View file

@ -65,7 +65,7 @@
"import numpy.ma as ma\n", "import numpy.ma as ma\n",
"from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER\n", "from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER\n",
"from cartopy.feature import ShapelyFeature,NaturalEarthFeature\n", "from cartopy.feature import ShapelyFeature,NaturalEarthFeature\n",
"from shapely.ops import cascaded_union" "from shapely.ops import unary_union"
] ]
}, },
{ {
@ -217,7 +217,7 @@
"\n", "\n",
"\n", "\n",
"# All WFO counties merged to a single Polygon\n", "# All WFO counties merged to a single Polygon\n",
"merged_counties = cascaded_union(counties)\n", "merged_counties = unary_union(counties)\n",
"envelope = merged_counties.buffer(2)\n", "envelope = merged_counties.buffer(2)\n",
"boundaries=[merged_counties]\n", "boundaries=[merged_counties]\n",
"\n", "\n",

View file

@ -14,7 +14,7 @@ Pre-requisite Software
In order to effictively use python-awips you'll need to have these installed already: In order to effictively use python-awips you'll need to have these installed already:
- python3 - python3
- conda - micromamba (or conda)
- git *(for the source code and examples installation)* - git *(for the source code and examples installation)*
Package-Only Install Package-Only Install
@ -31,12 +31,12 @@ Pip Install
pip install python-awips pip install python-awips
Conda Install Micromamba (conda) Install
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
:: ::
conda install -c conda-forge python-awips micromamba install -c conda-forge python-awips
@ -49,9 +49,9 @@ Below are instructions on how to install the source code of python-awips, with a
git clone https://github.com/Unidata/python-awips.git git clone https://github.com/Unidata/python-awips.git
cd python-awips cd python-awips
conda env create -f environment.yml micromamba env create -f environment.yml
conda activate python3-awips micromamba activate python-awips
python setup.py install --force pip install .
jupyter notebook examples jupyter notebook examples

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View file

@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "python-awips" name = "python-awips"
version = "23.4.1" version = "23.1"
authors = [ authors = [
{ name="NSF Unidata", email="support-awips@ucar.edu" }, { name="NSF Unidata", email="support-awips@ucar.edu" },
] ]