diff --git a/.gitignore b/.gitignore index 02d3f75..6a13b05 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ docs/build/ *.pyc .idea python_awips.egg-info +build/ diff --git a/docs/source/conf.py b/docs/source/conf.py index 6f0948c..544de45 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -58,7 +58,7 @@ master_doc = 'index' # General information about the project. project = 'python-awips' -copyright = '2018, NSF Unidata' +copyright = '2025, NSF Unidata' author = 'NSF Unidata' # The version info for the project you're documenting, acts as replacement for @@ -66,7 +66,7 @@ author = 'NSF Unidata' # built documents. # # The short X.Y version. -version = '20.1' +version = '23.1' # The full version, including alpha/beta/rc tags. # The language for content autogenerated by Sphinx. Refer to documentation diff --git a/docs/source/examples/notebooks/Map_Resources_and_Topography.ipynb b/docs/source/examples/notebooks/Map_Resources_and_Topography.ipynb index c4d5e9c..9d4db8b 100644 --- a/docs/source/examples/notebooks/Map_Resources_and_Topography.ipynb +++ b/docs/source/examples/notebooks/Map_Resources_and_Topography.ipynb @@ -65,7 +65,7 @@ "import numpy.ma as ma\n", "from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER\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", "# 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", "boundaries=[merged_counties]\n", "\n", diff --git a/docs/source/index.rst b/docs/source/index.rst index 1e4b800..d17005f 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -14,7 +14,7 @@ Pre-requisite Software In order to effictively use python-awips you'll need to have these installed already: - python3 - - conda + - micromamba (or conda) - git *(for the source code and examples installation)* Package-Only Install @@ -31,12 +31,12 @@ Pip Install 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 cd python-awips - conda env create -f environment.yml - conda activate python3-awips - python setup.py install --force + micromamba env create -f environment.yml + micromamba activate python-awips + pip install . jupyter notebook examples diff --git a/examples/images/NEXRAD_Level3_Radar_preview.png b/examples/images/NEXRAD_Level3_Radar_preview.png new file mode 100755 index 0000000..d3c47a5 Binary files /dev/null and b/examples/images/NEXRAD_Level3_Radar_preview.png differ diff --git a/pyproject.toml b/pyproject.toml index 5f411d2..1cda21a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "python-awips" -version = "23.4.1" +version = "23.1" authors = [ { name="NSF Unidata", email="support-awips@ucar.edu" }, ]