Merge pull request #6 from tiffanycmeyer13/v23

Converting install and build process to pip and pyproject.toml instea…
This commit is contained in:
tiffanycmeyer13 2025-02-13 10:51:17 -06:00 committed by GitHub
commit a2a2ef9051
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
519 changed files with 729 additions and 493 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -50,7 +50,7 @@
},
{
"cell_type": "code",
"execution_count": 52,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
@ -77,7 +77,7 @@
},
{
"cell_type": "code",
"execution_count": 53,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
@ -106,7 +106,7 @@
},
{
"cell_type": "code",
"execution_count": 54,
"execution_count": 3,
"metadata": {},
"outputs": [
{
@ -143,7 +143,7 @@
" 'warning']"
]
},
"execution_count": 54,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
@ -176,7 +176,7 @@
},
{
"cell_type": "code",
"execution_count": 55,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
@ -196,7 +196,7 @@
},
{
"cell_type": "code",
"execution_count": 56,
"execution_count": 5,
"metadata": {},
"outputs": [
{
@ -290,11 +290,10 @@
" 'SPCGuide',\n",
" 'SeaIce',\n",
" 'TPCWindProb',\n",
" 'URMA25',\n",
" 'griddednucaps']"
" 'URMA25']"
]
},
"execution_count": 56,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
@ -328,7 +327,7 @@
},
{
"cell_type": "code",
"execution_count": 57,
"execution_count": 6,
"metadata": {},
"outputs": [
{
@ -833,7 +832,7 @@
" 'zAGL']"
]
},
"execution_count": 57,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
@ -882,7 +881,7 @@
},
{
"cell_type": "code",
"execution_count": 58,
"execution_count": 7,
"metadata": {},
"outputs": [
{
@ -890,6 +889,13 @@
"output_type": "stream",
"text": [
"0.0SFC\n",
"0.0_6000.0FHAG\n",
"700.0MB\n",
"925.0MB\n",
"850.0MB\n",
"1000.0FHAG\n",
"1000.0MB\n",
"500.0MB\n",
"350.0MB\n",
"610.0_40000.0FHAG\n",
"120.0_150.0BL\n",
@ -898,35 +904,29 @@
"450.0MB\n",
"575.0MB\n",
"100.0MB\n",
"1000.0MB\n",
"60.0_90.0BL\n",
"1.0PV\n",
"950.0MB\n",
"150.0MB\n",
"1.5PV\n",
"700.0MB\n",
"825.0MB\n",
"150.0_180.0BL\n",
"250.0MB\n",
"1000.0_500.0MB\n",
"800.0MB\n",
"4000.0FHAG\n",
"925.0MB\n",
"2.0PV\n",
"0.5PV\n",
"0.0TROP\n",
"750.0MB\n",
"500.0MB\n",
"625.0MB\n",
"400.0MB\n",
"0.0FHAG\n",
"2.0FHAG\n",
"875.0MB\n",
"0.0_1000.0FHAG\n",
"850.0MB\n",
"600.0MB\n",
"725.0MB\n",
"0.0_6000.0FHAG\n",
"975.0MB\n",
"550.0MB\n",
"0.0_3000.0FHAG\n",
@ -938,14 +938,20 @@
"525.0MB\n",
"300.0MB\n",
"90.0_120.0BL\n",
"1000.0FHAG\n",
"775.0MB\n",
"2000.0_5000.0FHAG\n",
"0.0TILT\n",
"0.5TILT\n",
"1.8TILT\n",
"1.5TILT\n",
"2.4TILT\n",
"0.9TILT\n",
"3.4TILT\n",
"340.0_350.0K\n",
"290.0_300.0K\n",
"700.0_600.0MB\n",
"700.0_300.0MB\n",
"320.0Ke\n",
"3962.4FHAG\n",
"800.0_750.0MB\n",
"60.0TILT\n",
"5.3TILT\n",
@ -963,20 +969,17 @@
"280.0_290.0Ke\n",
"1524.0FHAG\n",
"320.0_330.0K\n",
"0.0TILT\n",
"310.0_320.0Ke\n",
"310.0Ke\n",
"330.0K\n",
"900.0_800.0MB\n",
"550.0_500.0MB\n",
"2.4TILT\n",
"50.0TILT\n",
"3500.0FHAG\n",
"35.0TILT\n",
"12.0TILT\n",
"300.0_310.0K\n",
"3000.0_12000.0FHAG\n",
"0.9TILT\n",
"320.0K\n",
"400.0_350.0MB\n",
"500.0FHAG\n",
@ -984,7 +987,6 @@
"1000.0_400.0MB\n",
"345.0K\n",
"250.0_260.0K\n",
"2438.4FHAG\n",
"300.0Ke\n",
"290.0Ke\n",
"950.0_900.0MB\n",
@ -1011,18 +1013,14 @@
"0.0_4000.0FHAG\n",
"5000.0_5500.0FHAG\n",
"300.0_250.0MB\n",
"762.0FHAG\n",
"1.5TILT\n",
"335.0_345.0K\n",
"0.0_300000.0FHAG\n",
"315.0K\n",
"3.4TILT\n",
"2500.0FHAG\n",
"10000.0FHAG\n",
"0.0_2000.0FHAG\n",
"7000.0FHAG\n",
"5000.0FHAG\n",
"1066.8FHAG\n",
"330.0Ke\n",
"500.0_400.0MB\n",
"1000.0_1500.0FHAG\n",
@ -1031,7 +1029,6 @@
"14.0TILT\n",
"3000.0_3500.0FHAG\n",
"325.0_335.0Ke\n",
"2000.0_5000.0FHAG\n",
"7620.0FHAG\n",
"850.0_800.0MB\n",
"6096.0FHAG\n",
@ -1045,10 +1042,7 @@
"3000.0_8000.0FHAG\n",
"700.0_650.0MB\n",
"1000.0_6000.0FHAG\n",
"0.5TILT\n",
"450.0_400.0MB\n",
"1.8TILT\n",
"1219.2FHAG\n",
"330.0_340.0K\n",
"800.0_700.0MB\n",
"850.0_300.0MB\n",
@ -1069,7 +1063,10 @@
"5500.0FHAG\n",
"250.0_200.0MB\n",
"500.0_1000.0FHAG\n",
"1100.0_800.0MB\n",
"400.0_300.0MB\n",
"800.0_500.0MB\n",
"500.0_300.0MB\n",
"500.0_100.0MB\n",
"1000.0_3000.0FHAG\n",
"8000.0FHAG\n",
@ -1089,7 +1086,6 @@
"600.0_500.0MB\n",
"16.7TILT\n",
"280.0K\n",
"4267.2FHAG\n",
"500.0_250.0MB\n",
"40.0TILT\n",
"3048.0FHAG\n",
@ -1102,7 +1098,6 @@
"2500.0_3000.0FHAG\n",
"609.6FHAG\n",
"0.0_8000.0FHAG\n",
"2133.6FHAG\n",
"295.0K\n",
"4.3TILT\n",
"295.0_305.0K\n",
@ -1120,7 +1115,6 @@
"290.0_300.0Ke\n",
"7.5TILT\n",
"1828.8FHAG\n",
"3352.8FHAG\n",
"280.0Ke\n",
"500.0_450.0MB\n",
"914.4FHAG\n",
@ -1134,7 +1128,6 @@
"270.0Ke\n",
"275.0K\n",
"315.0Ke\n",
"500.0_300.0MB\n",
"350.0_300.0MB\n",
"750.0FHAG\n",
"19.5TILT\n",
@ -1143,9 +1136,7 @@
"350.0K\n",
"265.0K\n",
"6000.0FHAG\n",
"8000.0_9000.0FHAG\n",
"1100.0_800.0MB\n",
"800.0_500.0MB\n"
"8000.0_9000.0FHAG\n"
]
}
],
@ -1173,7 +1164,7 @@
},
{
"cell_type": "code",
"execution_count": 59,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
@ -1205,68 +1196,62 @@
},
{
"cell_type": "code",
"execution_count": 60,
"execution_count": 9,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2025-02-06 12:00:00.000 : 0 seconds\n",
"2025-02-06 12:00:00.000 : 10800 seconds\n",
"2025-02-06 12:00:00.000 : 21600 seconds\n",
"2025-02-06 12:00:00.000 : 32400 seconds\n",
"2025-02-06 12:00:00.000 : 43200 seconds\n",
"2025-02-06 12:00:00.000 : 54000 seconds\n",
"2025-02-06 12:00:00.000 : 64800 seconds\n",
"2025-02-06 12:00:00.000 : 75600 seconds\n",
"2025-02-06 12:00:00.000 : 86400 seconds\n",
"2025-02-06 12:00:00.000 : 97200 seconds\n",
"2025-02-06 12:00:00.000 : 108000 seconds\n",
"2025-02-06 12:00:00.000 : 118800 seconds\n",
"2025-02-06 12:00:00.000 : 129600 seconds\n",
"2025-02-06 12:00:00.000 : 140400 seconds\n",
"2025-02-06 12:00:00.000 : 151200 seconds\n",
"2025-02-06 12:00:00.000 : 162000 seconds\n",
"2025-02-06 12:00:00.000 : 172800 seconds\n",
"2025-02-06 12:00:00.000 : 183600 seconds\n",
"2025-02-06 12:00:00.000 : 194400 seconds\n",
"2025-02-06 12:00:00.000 : 205200 seconds\n",
"2025-02-06 12:00:00.000 : 216000 seconds\n",
"2025-02-06 12:00:00.000 : 226800 seconds\n",
"2025-02-06 12:00:00.000 : 237600 seconds\n",
"2025-02-06 12:00:00.000 : 248400 seconds\n",
"2025-02-06 12:00:00.000 : 259200 seconds\n",
"2025-02-06 12:00:00.000 : 270000 seconds\n",
"2025-02-06 12:00:00.000 : 280800 seconds\n",
"2025-02-06 12:00:00.000 : 291600 seconds\n",
"2025-02-06 12:00:00.000 : 302400 seconds\n",
"2025-02-06 12:00:00.000 : 324000 seconds\n",
"2025-02-06 12:00:00.000 : 345600 seconds\n",
"2025-02-06 12:00:00.000 : 367200 seconds\n",
"2025-02-06 12:00:00.000 : 388800 seconds\n",
"2025-02-06 12:00:00.000 : 410400 seconds\n",
"2025-02-06 12:00:00.000 : 432000 seconds\n",
"2025-02-06 12:00:00.000 : 453600 seconds\n",
"2025-02-06 12:00:00.000 : 475200 seconds\n",
"2025-02-06 12:00:00.000 : 496800 seconds\n",
"2025-02-06 12:00:00.000 : 518400 seconds\n",
"2025-02-06 12:00:00.000 : 540000 seconds\n",
"2025-02-06 12:00:00.000 : 561600 seconds\n",
"2025-02-06 12:00:00.000 : 583200 seconds\n",
"2025-02-06 12:00:00.000 : 604800 seconds\n",
"2025-02-06 12:00:00.000 : 626400 seconds\n",
"2025-02-06 12:00:00.000 : 648000 seconds\n",
"2025-02-06 12:00:00.000 : 669600 seconds\n",
"2025-02-06 12:00:00.000 : 691200 seconds\n",
"2025-02-06 12:00:00.000 : 712800 seconds\n",
"2025-02-06 12:00:00.000 : 734400 seconds\n",
"2025-02-06 12:00:00.000 : 756000 seconds\n",
"2025-02-06 12:00:00.000 : 777600 seconds\n",
"2025-02-06 12:00:00.000 : 799200 seconds\n",
"2025-02-06 12:00:00.000 : 820800 seconds\n",
"2025-02-06 12:00:00.000 : 842400 seconds\n",
"2025-02-06 12:00:00.000 : 864000 seconds\n"
"2025-02-12 18:00:00.000 : 0 seconds\n",
"2025-02-12 18:00:00.000 : 10800 seconds\n",
"2025-02-12 18:00:00.000 : 21600 seconds\n",
"2025-02-12 18:00:00.000 : 32400 seconds\n",
"2025-02-12 18:00:00.000 : 43200 seconds\n",
"2025-02-12 18:00:00.000 : 54000 seconds\n",
"2025-02-12 18:00:00.000 : 64800 seconds\n",
"2025-02-12 18:00:00.000 : 75600 seconds\n",
"2025-02-12 18:00:00.000 : 86400 seconds\n",
"2025-02-12 18:00:00.000 : 97200 seconds\n",
"2025-02-12 18:00:00.000 : 108000 seconds\n",
"2025-02-12 18:00:00.000 : 118800 seconds\n",
"2025-02-12 18:00:00.000 : 129600 seconds\n",
"2025-02-12 18:00:00.000 : 140400 seconds\n",
"2025-02-12 18:00:00.000 : 151200 seconds\n",
"2025-02-12 18:00:00.000 : 162000 seconds\n",
"2025-02-12 18:00:00.000 : 172800 seconds\n",
"2025-02-12 18:00:00.000 : 183600 seconds\n",
"2025-02-12 18:00:00.000 : 194400 seconds\n",
"2025-02-12 18:00:00.000 : 205200 seconds\n",
"2025-02-12 18:00:00.000 : 216000 seconds\n",
"2025-02-12 18:00:00.000 : 226800 seconds\n",
"2025-02-12 18:00:00.000 : 237600 seconds\n",
"2025-02-12 18:00:00.000 : 248400 seconds\n",
"2025-02-12 18:00:00.000 : 259200 seconds\n",
"2025-02-12 18:00:00.000 : 270000 seconds\n",
"2025-02-12 18:00:00.000 : 280800 seconds\n",
"2025-02-12 18:00:00.000 : 291600 seconds\n",
"2025-02-12 18:00:00.000 : 302400 seconds\n",
"2025-02-12 18:00:00.000 : 324000 seconds\n",
"2025-02-12 18:00:00.000 : 345600 seconds\n",
"2025-02-12 18:00:00.000 : 367200 seconds\n",
"2025-02-12 18:00:00.000 : 388800 seconds\n",
"2025-02-12 18:00:00.000 : 410400 seconds\n",
"2025-02-12 18:00:00.000 : 432000 seconds\n",
"2025-02-12 18:00:00.000 : 453600 seconds\n",
"2025-02-12 18:00:00.000 : 475200 seconds\n",
"2025-02-12 18:00:00.000 : 496800 seconds\n",
"2025-02-12 18:00:00.000 : 540000 seconds\n",
"2025-02-12 18:00:00.000 : 583200 seconds\n",
"2025-02-12 18:00:00.000 : 604800 seconds\n",
"2025-02-12 18:00:00.000 : 626400 seconds\n",
"2025-02-12 18:00:00.000 : 648000 seconds\n",
"2025-02-12 18:00:00.000 : 669600 seconds\n",
"2025-02-12 18:00:00.000 : 691200 seconds\n",
"2025-02-12 18:00:00.000 : 712800 seconds\n",
"2025-02-12 18:00:00.000 : 734400 seconds\n",
"2025-02-12 18:00:00.000 : 756000 seconds\n",
"2025-02-12 18:00:00.000 : 777600 seconds\n"
]
}
],
@ -1313,14 +1298,14 @@
},
{
"cell_type": "code",
"execution_count": 61,
"execution_count": 10,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Time : 2025-02-06 12:00:00 (240) - 864000 seconds\n",
"Time : 2025-02-12 18:00:00 (216) - 777600 seconds\n",
"Model: GFS20\n",
"Parm : T\n",
"Unit : K\n",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

23
pyproject.toml Normal file
View file

@ -0,0 +1,23 @@
[build-system]
requires = [
"setuptools"
]
build-backend = "setuptools.build_meta"
[project]
name = "python-awips"
version = "23.4.1"
authors = [
{ name="NSF Unidata", email="support-awips@ucar.edu" },
]
description = "A framework for requesting AWIPS meteorological datasets from an EDEX server"
readme = "README.rst"
license = { file = "LICENSE" }
requires-python = ">=3.8"
dependencies = [ "numpy"]
[project.optional-dependencies]
cdm = ["pyproj>=1.9.4"]
dev = ["ipython[all]>=3.1"]
doc = ["sphinx>=1.4", "sphinx-gallery", "doc8"]
examples = ["cartopy>=0.13.1", "metpy>=0.4.0"]

View file

@ -1,31 +0,0 @@
# Copyright (c) 2017 UCAR Unidata Program Center.
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
from __future__ import print_function
import sys
from distutils.core import setup
from setuptools import find_packages
dependencies = ['numpy']
if sys.version_info < (3, 4):
dependencies.append('enum34')
ver = "23.01"
setup(
name='python-awips',
version=ver,
description='A framework for requesting AWIPS meteorological datasets from an EDEX server',
packages=find_packages(exclude='data'),
license='BSD',
url='http://unidata.github.io/python-awips',
author='NSF Unidata',
author_email='support-awips@ucar.edu',
install_requires=dependencies,
extras_require={
'cdm': ['pyproj>=1.9.4'],
'dev': ['ipython[all]>=3.1'],
'doc': ['sphinx>=1.4', 'sphinx-gallery', 'doc8'],
'examples': ['cartopy>=0.13.1', 'metpy>=0.4.0']
}
)

View file

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 379 B

Some files were not shown because too many files have changed in this diff Show more