wxdata 1.4.2__tar.gz → 1.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. wxdata-1.6/PKG-INFO +682 -0
  2. wxdata-1.6/README.md +650 -0
  3. {wxdata-1.4.2 → wxdata-1.6}/pyproject.toml +15 -12
  4. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/__init__.py +58 -11
  5. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/aigefs/aigefs.py +14 -9
  6. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/aigefs/url_scanners.py +6 -6
  7. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/aigfs/aigfs.py +2 -1
  8. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/aigfs/url_scanners.py +2 -2
  9. wxdata-1.6/src/wxdata/cfs/__init__.py +4 -0
  10. wxdata-1.6/src/wxdata/cfs/cfs.py +692 -0
  11. wxdata-1.6/src/wxdata/cfs/file_scanner.py +44 -0
  12. wxdata-1.6/src/wxdata/cfs/url_scanners.py +1048 -0
  13. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/client/client.py +333 -27
  14. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/ecmwf/ecmwf.py +7 -0
  15. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/ecmwf/url_scanners.py +6 -6
  16. wxdata-1.6/src/wxdata/fems/__init__.py +20 -0
  17. wxdata-1.6/src/wxdata/fems/meta_data.py +128 -0
  18. wxdata-1.6/src/wxdata/fems/observations.py +1352 -0
  19. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gefs/gefs.py +5 -1
  20. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gefs/url_scanners.py +13 -6
  21. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gfs/gfs.py +4 -0
  22. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gfs/url_scanners.py +43 -63
  23. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/hgefs/hgefs.py +2 -0
  24. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/hgefs/url_scanner.py +2 -2
  25. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/metars/metar_obs.py +2 -0
  26. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/noaa/nws.py +3 -0
  27. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/post_processors/__init__.py +1 -0
  28. wxdata-1.6/src/wxdata/post_processors/cfs_post_processing.py +1761 -0
  29. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/post_processors/gefs_post_processing.py +3 -3
  30. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/post_processors/gfs_post_processing.py +1 -0
  31. wxdata-1.6/src/wxdata/radar/__init__.py +4 -0
  32. wxdata-1.6/src/wxdata/radar/nexrad2.py +220 -0
  33. wxdata-1.6/src/wxdata/radar/url_scanner.py +245 -0
  34. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/rtma/rtma.py +3 -0
  35. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/soundings/wyoming_soundings.py +2 -0
  36. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/__init__.py +1 -0
  37. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/nomads_gribfilter.py +27 -3
  38. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/xmacis2_cleanup.py +16 -0
  39. wxdata-1.6/src/wxdata.egg-info/PKG-INFO +682 -0
  40. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata.egg-info/SOURCES.txt +10 -2
  41. wxdata-1.6/src/wxdata.egg-info/requires.txt +15 -0
  42. wxdata-1.4.2/PKG-INFO +0 -526
  43. wxdata-1.4.2/README.md +0 -497
  44. wxdata-1.4.2/src/wxdata/fems/__init__.py +0 -9
  45. wxdata-1.4.2/src/wxdata/fems/fems.py +0 -701
  46. wxdata-1.4.2/src/wxdata/fems/raws_sigs.py +0 -1789
  47. wxdata-1.4.2/src/wxdata.egg-info/PKG-INFO +0 -526
  48. wxdata-1.4.2/src/wxdata.egg-info/requires.txt +0 -12
  49. {wxdata-1.4.2 → wxdata-1.6}/LICENSE +0 -0
  50. {wxdata-1.4.2 → wxdata-1.6}/setup.cfg +0 -0
  51. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/aigefs/__init__.py +0 -0
  52. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/aigefs/paths.py +0 -0
  53. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/aigfs/__init__.py +0 -0
  54. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/aigfs/paths.py +0 -0
  55. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/calc/__init__.py +0 -0
  56. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/calc/derived_fields.py +0 -0
  57. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/calc/kinematics.py +0 -0
  58. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/calc/thermodynamics.py +0 -0
  59. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/calc/unit_conversion.py +0 -0
  60. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/client/__init__.py +0 -0
  61. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/ecmwf/__init__.py +0 -0
  62. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/ecmwf/file_funcs.py +0 -0
  63. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/ecmwf/keys.py +0 -0
  64. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/ecmwf/parsers.py +0 -0
  65. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/ecmwf/paths.py +0 -0
  66. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gefs/__init__.py +0 -0
  67. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gefs/exception_messages.py +0 -0
  68. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gefs/file_funcs.py +0 -0
  69. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gefs/paths.py +0 -0
  70. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gefs/process.py +0 -0
  71. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gfs/__init__.py +0 -0
  72. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gfs/exception_messages.py +0 -0
  73. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/gfs/paths.py +0 -0
  74. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/hgefs/__init__.py +0 -0
  75. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/hgefs/paths.py +0 -0
  76. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/metars/__init__.py +0 -0
  77. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/metars/_clean_data.py +0 -0
  78. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/noaa/__init__.py +0 -0
  79. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/post_processors/aigefs_post_processing.py +0 -0
  80. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/post_processors/aigfs_post_processing.py +0 -0
  81. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/post_processors/ecmwf_post_processing.py +0 -0
  82. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/post_processors/hgefs_post_processing.py +0 -0
  83. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/post_processors/rtma_post_processing.py +0 -0
  84. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/rtma/__init__.py +0 -0
  85. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/rtma/file_funcs.py +0 -0
  86. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/rtma/keys.py +0 -0
  87. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/rtma/process.py +0 -0
  88. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/rtma/url_scanners.py +0 -0
  89. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/soundings/__init__.py +0 -0
  90. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/soundings/_exceptions.py +0 -0
  91. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/coords.py +0 -0
  92. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/exceptions.py +0 -0
  93. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/file_funcs.py +0 -0
  94. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/file_scanner.py +0 -0
  95. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/progress_bar.py +0 -0
  96. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/recycle_bin.py +0 -0
  97. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/scripts.py +0 -0
  98. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata/utils/tools.py +0 -0
  99. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata.egg-info/dependency_links.txt +0 -0
  100. {wxdata-1.4.2 → wxdata-1.6}/src/wxdata.egg-info/top_level.txt +0 -0
wxdata-1.6/PKG-INFO ADDED
@@ -0,0 +1,682 @@
1
+ Metadata-Version: 2.4
2
+ Name: wxdata
3
+ Version: 1.6
4
+ Summary: A Python package of end-to-end weather data clients & raw data clients with VPN/PROXY support, data processors that decode variable keys from GRIB format into a plain-language format & various tools for assisting Python automated workflows, querying meteorological datasets and filling gaps in meteorological data.
5
+ Author: Eric J. Drewitz
6
+ Project-URL: Documentation, https://github.com/edrewitz/wxdata/blob/main/Documentation/Landing%20Page.md
7
+ Project-URL: Repository, https://github.com/edrewitz/wxdata/tree/main
8
+ Keywords: meteorology,atmospheric sciences
9
+ Classifier: Programming Language :: Python
10
+ Classifier: Topic :: Scientific/Engineering
11
+ Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
12
+ Classifier: Operating System :: OS Independent
13
+ Requires-Python: >=3.10
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: metpy>=1.7.1
17
+ Requires-Dist: numpy>=2.2.6
18
+ Requires-Dist: pandas>=2.3.3
19
+ Requires-Dist: cartopy>=0.25.0
20
+ Requires-Dist: xarray>=2025.6.1
21
+ Requires-Dist: netcdf4>=1.7.3
22
+ Requires-Dist: shapeography>=1.2
23
+ Requires-Dist: beautifulsoup4>=4.14.3
24
+ Requires-Dist: requests>=2.32.5
25
+ Requires-Dist: cfgrib>=0.9.15.1
26
+ Requires-Dist: dask>=2025.11.0
27
+ Requires-Dist: tqdm>=4.67.3
28
+ Requires-Dist: ecmwf-opendata>=0.3.26
29
+ Requires-Dist: openpyxl>=3.1.5
30
+ Requires-Dist: arm-pyart>=2.2.0
31
+ Dynamic: license-file
32
+
33
+ # WxData
34
+
35
+ <img src="https://github.com/edrewitz/WxData/blob/main/icons/weather%20icon.jpg?raw=true" width="200" alt="Alt text" /> <img src="https://github.com/edrewitz/WxData/blob/1be590e9a16033974a592d8cf99f3cd521f95e0b/icons/python%20logo.png?raw=true" width="200" alt="Alt text" />
36
+
37
+ [![Conda Recipe](https://img.shields.io/badge/recipe-wxdata-green.svg)](https://anaconda.org/conda-forge/wxdata) [![Conda Version](https://img.shields.io/conda/vn/conda-forge/wxdata.svg)](https://anaconda.org/conda-forge/wxdata) [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/wxdata.svg)](https://anaconda.org/conda-forge/wxdata) ![PyPI](https://img.shields.io/pypi/v/wxdata?label=pypi%20wxdata) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/wxdata/badges/license.svg)](https://anaconda.org/conda-forge/wxdata) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/wxdata/badges/latest_release_date.svg)](https://anaconda.org/conda-forge/wxdata)
38
+
39
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17727621.svg)](https://doi.org/10.5281/zenodo.17727621)
40
+
41
+
42
+
43
+ Anaconda Downloads
44
+
45
+ [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/wxdata.svg)](https://anaconda.org/conda-forge/wxdata)
46
+
47
+
48
+ PIP Downloads:
49
+
50
+ ![PyPI - Downloads](https://img.shields.io/pypi/dm/wxdata)
51
+
52
+
53
+
54
+ **(C) Eric J. Drewitz 2025-2026**
55
+
56
+ A Python package consisting of the following:
57
+
58
+ 1) End-to-end weather data clients with VPN/PROXY support
59
+ 2) Raw data clients with VPN/PROXY support
60
+ 3) Data processors that decode variable keys from GRIB format into a plain-language format
61
+ 4) Various tools for assisting Python automated workflows, querying meteorological datasets and filling gaps in meteorological data.
62
+
63
+ # Table of Contents
64
+
65
+ 1) [Installation Instructions](https://github.com/edrewitz/WxData?tab=readme-ov-file#installation-instructions)
66
+ 2) [Proxy Server Configuration](https://github.com/edrewitz/WxData?tab=readme-ov-file#proxy-server-configuration)
67
+ 3) [What makes WxData unique among various meteorological Python packages?](https://github.com/edrewitz/WxData?tab=readme-ov-file#what-makes-wxdata-unique-among-various-meteorological-python-packages)
68
+ 4) [WxData Tutorials](https://github.com/edrewitz/WxData?tab=readme-ov-file#wxdata-tutorials)
69
+ 5) [WxData Documentation](https://github.com/edrewitz/WxData?tab=readme-ov-file#wxdata-documentation)
70
+ 6) [Importing Functions from WxData](https://github.com/edrewitz/WxData?tab=readme-ov-file#importing-functions-from-wxdata)
71
+ 7) [Citations](https://github.com/edrewitz/WxData?tab=readme-ov-file#citations)
72
+ 8) [Data Sources](https://github.com/edrewitz/WxData?tab=readme-ov-file#data-sources)
73
+
74
+
75
+ ## Installation Instructions
76
+
77
+ **How To Install**
78
+
79
+ Copy and paste either command into your terminal or anaconda prompt:
80
+
81
+ *Install via Anaconda*
82
+
83
+ `conda install wxdata`
84
+
85
+ *Install via pip*
86
+
87
+ `pip install wxdata`
88
+
89
+ **How To Update To The Latest Version**
90
+
91
+ Copy and paste either command into your terminal or anaconda prompt:
92
+
93
+ *Update via Anaconda*
94
+
95
+ ***This is for users who initially installed WxData through Anaconda***
96
+
97
+ `conda update wxdata`
98
+
99
+ *Update via pip*
100
+
101
+ ***This is for users who initially installed WxData through pip***
102
+
103
+ `pip install --upgrade wxdata`
104
+
105
+ ***Important Compatibility Information***
106
+
107
+ When a new version of Python comes out, it might not be compatible with the C++ eccodes library immediately (especially on pip/pypi versions).
108
+
109
+ This issue arises when the user is post-processing GRIB data.
110
+
111
+ There are two options to resolve this issue:
112
+
113
+ i) Install wxdata via Anaconda/Miniconda3 --> `conda install wxdata`
114
+
115
+ ii) Set up a new environment with an earlier version of Python (must be Python >= 3.10) and then `pip install wxdata`
116
+
117
+ ---------------------------------------------------------
118
+
119
+ ## Proxy Server Configuration
120
+
121
+ ***Friendly for users working on VPN/PROXY connections***
122
+
123
+ Depending on which client, the proxy-address:port must be entered as either a dictionary or a string.
124
+
125
+ The clients that use a string for proxies are:
126
+
127
+ 1) All ECMWF clients.
128
+
129
+ 2) METAR Observations Client.
130
+
131
+ 3) `pixel_query()` tool if the user needs to download the airport station codes list.
132
+
133
+ All other clients use proxies as a dictionary
134
+
135
+ Example: We want to download the latest Observed Sounding Data for San Diego, CA (NKX)
136
+
137
+ proxies=None ---> proxies={
138
+ 'http':'http://your-proxy-address:port',
139
+ 'https':'http://your-proxy-address:port'
140
+ }
141
+
142
+ sounding_data = get_observed_sounding_data('nkx', proxies=proxies)
143
+
144
+ Example: We want to download the ECMWF IFS Data:
145
+
146
+ proxies=None ---> proxies="http://your-proxy-address:port" ---> ds = ecmwf_ifs(proxies=proxies)
147
+
148
+ <img src="https://github.com/edrewitz/WxData/blob/main/diagrams/proxy.png?raw=true" width="500" alt="Alt text" />
149
+
150
+
151
+ For more information on configuring proxies: https://requests.readthedocs.io/en/latest/user/advanced/#proxies
152
+
153
+ ---------------------------------------------------------------------
154
+
155
+ ## What makes WxData unique among various meteorological Python packages?
156
+
157
+ 1) Converts GRIB variable keys into variable keys that are in plain language.
158
+ - (e.g. 'r2' ---> '2m_relative_humidity')
159
+
160
+ 2) Has a scanner that checks if the data files on your PC are up to date with those on the data server.
161
+ - This is a safeguard to protect newer developers from getting temporary IP address bans from the various data servers.
162
+ - Improves performance by preventing the potential of repetative downloading the same dataset.
163
+
164
+ 3) Preserves system memory via the following methods:
165
+ - Clears out old data files before each new data download.
166
+ - Optional setting `clear_recycle_bin` in all functions.
167
+ - When `clear_recycle_bin=True` the computer's recycle/trash bin is cleared with each run of the script using any WxData function.
168
+ - If a user wishes to not clear out their recycle bin `set clear_recycle_bin=False`.
169
+ - Default: `clear_recycle_bin=False`.
170
+
171
+ 4) Has built-in support for users on VPN/PROXY connections.
172
+
173
+ 5) Consists of both observational and model data.
174
+
175
+ 6) Has additional tools to assist querying data, resolving gaps in data and automating your Python workflow.
176
+
177
+ -----------------------------------------------
178
+
179
+ ## WxData Tutorials
180
+
181
+ *Regular Users*
182
+ 1) [Downloading METAR Data](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/metars.ipynb)
183
+ 2) [Downloading Observed Sounding Data](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/soundings.ipynb)
184
+ 3) [Downloading the first 72 hours of the ECMWF IFS and ECMWF AIFS](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/ecmwf.ipynb)
185
+ 4) [Downloading the GEFS members p01 and p02 for only Temperature](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/gefs.ipynb)
186
+ 5) [Downloading the Real-Time Mesoscale Analysis (RTMA)](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/rtma.ipynb)
187
+ 6) [Downloading the SPC Convective Outlook for CONUS](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/spc.ipynb)
188
+ 7) [Downloading NWS Maximum Temperature Forecast for Hawaii](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/nws_hi.ipynb)
189
+ 8) [Downloading the GFS0P25 then performing pixel and line queries on the data](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/GFS.ipynb)
190
+ 9) [Downloading various datasets from the Applied Climate Information System (ACIS)](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/xmacis2.ipynb)
191
+ 10) [Downloading AIGFS Data](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/aigfs.ipynb)
192
+ 11) [Downloading AIGEFS Data](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/aigefs.ipynb)
193
+ 12) [Downloading and plotting the Climate Prediction Center 6-10 Day Precipitation Outlook](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/cpc_precip_outlook.ipynb)
194
+ 13) [Downloading OUN Sounding Data and Using The WxData Linear Anti Aliasing Tool To Interpolate 100 Points Between Each Observed Data Point And Visualize Both Data Sets](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/linear_anti_aliasing.ipynb)
195
+ 14) [Downloading Subsets Of ECMWF IFS Ensemble and AIFS Ensemble Data](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/ecmwf_ens.ipynb)
196
+ 15) [Downloading the ECMWF IFS 500 mb Geopotential Height Initial Analysis And Plot A North Pole Stereographic Resolving The Meridian With The WxData Cyclic Point Tool](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/cyclic.ipynb)
197
+ 16) [Downloading Observed Fuels Data For The Past Year For Acton RAWS and Plotting 1000-HR Dead Fuel Moisture](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/acton_raws.ipynb)
198
+ 17) [Downloading the 7-Day NFDRS Forecast for Acton RAWS and Plotting Forecast 100-HR Dead Fuel Moisture](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/acton_raws_forecast.ipynb)
199
+ 18) [Downloading Current RAWS and METAR Data and Plotting Current Relative Humidity Observations Across California and Nevada](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/metar_raws_observed_rh.ipynb)
200
+ 19) [Downloading Current RAWS Data and Plotting Current Energy Release Components (ERCs) Observations Across California and Nevada](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/observed_erc_map.ipynb)
201
+ 20) [Downloading NEXRAD II Radar Data and then plotting it in Py-ART](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/NEXRADII.ipynb)
202
+ 21) [Downloading 30 Days of 6hrly CFS Data and plotting the 30-Day time-mean for mean sea level pressure across the Northern Hemisphere](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/cfs.ipynb)
203
+
204
+ *Advanced Users*
205
+ 1) [Using the `client` module to download the latest HadCRUT5 Analysis netCDF file and open this dataset in xarray](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/hadcrut5.ipynb)
206
+ 2) [Downloading the GFS0P25 for temperature fields and using run_external_scripts() to post-process this GFS0P25 dataset in an external Python script](https://github.com/edrewitz/WxData-JupyterLab-Examples/blob/main/external_scripts.ipynb)
207
+
208
+ ---------------------------------------------------
209
+
210
+ ## WxData Documentation
211
+
212
+ ***Documentation Sections***
213
+
214
+ 1. [End-To-End Data Clients](https://github.com/edrewitz/WxData?tab=readme-ov-file#end-to-end-data-clients)
215
+ 2. [Raw Data Clients](https://github.com/edrewitz/WxData?tab=readme-ov-file#raw-data-clients)
216
+ 3. [Post-Processors](https://github.com/edrewitz/WxData?tab=readme-ov-file#post-processors)
217
+ 4. [Data Querying Tools](https://github.com/edrewitz/WxData?tab=readme-ov-file#data-querying-tools)
218
+ 5. [Data Transformation & Gap Filling Tools](https://github.com/edrewitz/WxData?tab=readme-ov-file#data-transformation--gap-filling-tools)
219
+ 6. [Automated Python Workflow Tools](https://github.com/edrewitz/WxData?tab=readme-ov-file#automated-python-workflow-tools)
220
+
221
+ ### End-To-End Data Clients
222
+
223
+ ***Global Forecast System (GFS)***
224
+ 1. [GFS0P25](https://github.com/edrewitz/WxData/blob/main/Documentation/GFS0P25.md)
225
+ 2. [GFS0P25 SECONDARY PARAMETERS](https://github.com/edrewitz/WxData/blob/main/Documentation/GFS0P25%20Secondary%20Parameters.md)
226
+ 3. [GFS0P50](https://github.com/edrewitz/WxData/blob/main/Documentation/GEFS0P50.md)
227
+
228
+ ***AI Global Forecast System (AIGFS)***
229
+ 1. [AIGFS](https://github.com/edrewitz/WxData/blob/main/Documentation/aigfs.md)
230
+
231
+ ***Climate Forecast System (CFS)***
232
+ 1. [CFS Pressure](https://github.com/edrewitz/WxData/blob/main/Documentation/cfs_pressure.md#climate-forecast-system-cfs-pressure)
233
+ 2. [CFS Flux](https://github.com/edrewitz/WxData/blob/main/Documentation/cfs_flux.md#climate-forecast-system-cfs-flux)
234
+
235
+ ***Hybrid Global Ensemble Forecast System (HGEFS)***
236
+ 1. [HGEFS](https://github.com/edrewitz/WxData/blob/main/Documentation/hgefs.md#hybrid-global-ensemble-forecast-system-hgefs)
237
+
238
+ ***Global Ensemble Forecast System (GEFS)***
239
+ 1. [GEFS0P50](https://github.com/edrewitz/wxdata/blob/main/Documentation/GEFS0P50.md#global-ensemble-forecast-system-050-x-050-degree-gefs0p50)
240
+ 2. [GEFS0P50 SECONDARY PARAMETERS](https://github.com/edrewitz/wxdata/blob/main/Documentation/GEFS0P50%20Secondary%20Parameters.md#global-ensemble-forecast-system-050-x-050-degree-secondary-parameters-gefs0p50-secondary-parameters)
241
+ 3. [GEFS0P25](https://github.com/edrewitz/wxdata/blob/main/Documentation/GEFS0P25.md#global-ensemble-forecast-system-025-x-025-degree-gefs0p25)
242
+
243
+ ***AI Global Ensemble Forecast System (AIGEFS)***
244
+ 1. [AIGEFS Members (Pressure Parameters)](https://github.com/edrewitz/WxData/blob/main/Documentation/aigefs_pressure_members.md)
245
+ 2. [AIGEFS Members (Surface Parameters)](https://github.com/edrewitz/WxData/blob/main/Documentation/aigefs_surface_members.md)
246
+ 3. [AIGEFS Ensemble Mean & Ensemble Spread](https://github.com/edrewitz/WxData/blob/main/Documentation/aigefs_single.md)
247
+
248
+ ***ECMWF Open Data***
249
+ 1. [ECMWF IFS](https://github.com/edrewitz/WxData/blob/main/Documentation/ECMWF_IFS.md)
250
+ 2. [ECMWF IFS Ensemble](https://github.com/edrewitz/WxData/blob/main/Documentation/ECMWF%20IFS%20Ensemble.md#ecmwf-ifs-ensemble)
251
+ 3. [ECMWF AIFS](https://github.com/edrewitz/WxData/blob/main/Documentation/ECMWF_AIFS.md)
252
+ 4. [ECMWF AIFS Ensemble](https://github.com/edrewitz/WxData/blob/main/Documentation/ECMWF%20AIFS%20Ensemble.md#ecmwf-aifs-ensemble)
253
+ 5. [ECMWF IFS Wave](https://github.com/edrewitz/WxData/blob/main/Documentation/ECMWF_IFS_Wave.md)
254
+ 6. [ECMWF IFS Wave Ensemble](https://github.com/edrewitz/WxData/blob/main/Documentation/ECMWF%20IFS%20Wave%20Ensemble.md#ecmwf-ifs-wave-ensemble)
255
+
256
+ ***Real-Time Mesoscale Analysis (RTMA)***
257
+ 1. [RTMA](https://github.com/edrewitz/wxdata/blob/main/Documentation/rtma.md#real-time-mesoscale-analysis-rtma)
258
+ 2. [RTMA Comparison](https://github.com/edrewitz/wxdata/blob/main/Documentation/rtma%20comparison.md#real-time-mesoscale-analysis-rtma-24-hour-comparison)
259
+
260
+ ***NOAA Storm Prediction Center Outlooks/Climate Prediction Center Outlooks/National Weather Service Forecasts***
261
+ 1. [Get NDFD Grids](https://github.com/edrewitz/wxdata/blob/main/Documentation/noaa.md#noaa-get-storm-prediction-center-outlooks-and-national-weather-service-forecasts-ndfd-grids)
262
+ 2. [Climate Prediction Center Outlooks](https://github.com/edrewitz/WxData/blob/main/Documentation/cpc_outlooks.md#noaanws-climate-prediction-center-outlooks)
263
+
264
+ ***METAR Observations***
265
+ 1. [METAR Observations](https://github.com/edrewitz/wxdata/blob/main/Documentation/metars.md#metar-observations)
266
+
267
+ ***FEMS RAWS Network***
268
+ 1. [Get Single Station Weather Observations](https://github.com/edrewitz/WxData/blob/main/Documentation/single%20raws%20weather%20obs.md#fems-single-raws-station-weather-observations)
269
+ 2. [Get Single Station Fuels Observations](https://github.com/edrewitz/WxData/blob/main/Documentation/single%20raws%20fuels%20obs.md#fems-single-raws-station-fuels-observations)
270
+ 3. [Get Multi Station Weather Observations](https://github.com/edrewitz/WxData/blob/main/Documentation/multi%20raws%20weather%20obs.md#fems-multi-raws-station-weather-observations)
271
+ 4. [Get Multi Station Fuels Observations](https://github.com/edrewitz/WxData/blob/main/Documentation/multi%20raws%20fuels%20obs.md#fems-multi-raws-station-fuels-observations)
272
+ 5. [Get Current Multi Station Weather Observations](https://github.com/edrewitz/WxData/blob/main/Documentation/current%20multi%20raws%20weather%20obs.md#fems-multi-raws-station-current-weather-observations)
273
+ 6. [Get Current Multi Station Fuels Observations](https://github.com/edrewitz/WxData/blob/main/Documentation/current%20multi%20raws%20fuels%20obs.md#fems-multi-raws-station-current-fuels-observations)
274
+ 7. [Get Current Multi Station Weather Observations By State](https://github.com/edrewitz/WxData/blob/main/Documentation/raws%20weather%20obs%20by%20state.md#fems-raws-station-current-weather-observations-by-state)
275
+ 8. [Get Current Multi Station Fuels Observations By State](https://github.com/edrewitz/WxData/blob/main/Documentation/raws%20fuels%20obs%20by%20state.md#fems-raws-station-current-fuels-observations-by-state)
276
+ 9. [Get Single Station Weather Forecast](https://github.com/edrewitz/WxData/blob/main/Documentation/single%20raws%20weather%20forecast.md#fems-single-raws-station-weather-forecast)
277
+ 10. [Get Single Station NFDRS (Fuels) Forecast](https://github.com/edrewitz/WxData/blob/main/Documentation/single%20raws%20nfdrs%20forecast.md#fems-single-raws-station-nfdrs-fuels-forecast)
278
+ 11. [Get Multi Station Weather Forecast](https://github.com/edrewitz/WxData/blob/main/Documentation/multi%20raws%20weather%20forecast.md#fems-multi-raws-station-weather-forecast)
279
+ 12. [Get Multi Station NFDRS (Fuels) Forecast](https://github.com/edrewitz/WxData/blob/main/Documentation/multi%20raws%20nfdrs%20forecast.md#fems-multi-raws-station-nfdrs-fuels-forecast)
280
+ 13. [Get Single Station Meta-Data](https://github.com/edrewitz/WxData/blob/main/Documentation/raws%20single%20station%20meta%20data.md#fems-single-raws-station-meta-data)
281
+ 14. [Get Multi Station Meta-Data](https://github.com/edrewitz/WxData/blob/main/Documentation/raws%20multi%20station%20meta%20data.md#fems-multi-raws-station-meta-data)
282
+
283
+ ***Observed Atmospheric Soundings***
284
+ 1. [University Of Wyoming Soundings](https://github.com/edrewitz/wxdata/blob/main/Documentation/wyoming_soundings.md)
285
+
286
+ ***NEXRAD II Radar Data***
287
+ 1. [Single Site](https://github.com/edrewitz/WxData/blob/main/Documentation/nexrad2_single.md#nexrad-ii-single-radar)
288
+ 2. [Multi-Site](https://github.com/edrewitz/WxData/blob/main/Documentation/nexrad2_multi.md#nexrad-ii-multi-radar)
289
+
290
+ -----------------------------
291
+
292
+ ### Post-Processors
293
+
294
+ ***GFS Post-Processing***
295
+ 1. [Primary GFS Post-Processing](https://github.com/edrewitz/WxData/blob/main/Documentation/Primary%20GFS%20Post%20Processing.md)
296
+ 2. [Secondary GFS Post-Processing](https://github.com/edrewitz/WxData/blob/main/Documentation/Secondary%20GFS%20Post%20Processing.md)
297
+
298
+ ***AIGFS Post-Processing***
299
+ 1. [AIGFS Post-Processing](https://github.com/edrewitz/WxData/blob/main/Documentation/aigfs_post_processing.md)
300
+
301
+ ***CFS Post-Processing***
302
+ 1. [CFS Pressure Post-Processing](https://github.com/edrewitz/WxData/blob/main/Documentation/cfs_pressure_post_processing.md#climate-forecast-system-cfs-pressure-post-processing)
303
+ 2. [CFS Flux Post-Processing](https://github.com/edrewitz/WxData/blob/main/Documentation/cfs_flux_post_processing.md#climate-forecast-system-cfs-flux-post-processing)
304
+
305
+ ***GEFS Post-Processing***
306
+ 1. [Primary GEFS Post-Processing](https://github.com/edrewitz/WxData/blob/main/Documentation/Primary%20GEFS%20Post-Processing.md)
307
+ 2. [Secondary GEFS Post-Processing](https://github.com/edrewitz/WxData/blob/main/Documentation/Secondary%20GEFS%20Post%20Processing.md)
308
+
309
+ ***AIGEFS Post-Processing***
310
+ 1. [AIGEFS Members Post-Processing](https://github.com/edrewitz/WxData/blob/main/Documentation/aigefs_members_post_processing.md)
311
+ 2. [AIGEFS Single Post-Processing](https://github.com/edrewitz/WxData/blob/main/Documentation/aigefs_single_post_processing.md)
312
+
313
+ ***HGEFS Post-Processing***
314
+ 1. [HGEFS Post-Processing](https://github.com/edrewitz/WxData/blob/main/Documentation/hgefs_post_processing.md#hybrid-global-ensemble-forecast-system-hgefs-post-processing)
315
+
316
+ ***ECMWF Post-Processing***
317
+ 1. [ECMWF IFS and IFS Ensemble](https://github.com/edrewitz/WxData/blob/main/Documentation/ECMWF%20IFS%20Post%20Processing.md#ecmwf-ifs-and-ifs-ensemble-post-processing)
318
+ 2. [ECMWF AIFS and AIFS Ensemble](https://github.com/edrewitz/WxData/blob/main/Documentation/ECMWF%20AIFS%20Post%20Processing.md#ecmwf-aifs-and-aifs-ensemble-post-processing)
319
+ 3. [ECMWF IFS Wave and IFS Wave Ensemble](https://github.com/edrewitz/WxData/blob/main/Documentation/ECMWF%20IFS%20Wave%20Post%20Processing.md#ecmwf-ifs-wave-and-ifs-wave-ensemble-post-processing)
320
+
321
+ ***Real-Time Mesoscale Analysis Post-Processing***
322
+ 1. [RTMA](https://github.com/edrewitz/WxData/blob/main/Documentation/RTMA%20Post%20Processing.md)
323
+
324
+ -----------------------------------------------
325
+
326
+ ### Raw Data Clients
327
+
328
+ ***xmACIS2 Climate Data***
329
+ 1. [xmACIS2 Client](https://github.com/edrewitz/WxData/blob/main/Documentation/xmacis2_client.md)
330
+
331
+ ***Custom Gridded Data***
332
+ 1. [Gridded Data Client](https://github.com/edrewitz/WxData/blob/main/Documentation/get_gridded_data.md#get-gridded-data)
333
+
334
+ ***Custom CSV Data***
335
+ 1. [CSV Data Client](https://github.com/edrewitz/WxData/blob/main/Documentation/get_csv_data.md#get-csv-data)
336
+
337
+ ***Custom Excel Data***
338
+ 1. [Excel Data Client](https://github.com/edrewitz/WxData/blob/main/Documentation/get_excel_data.md#get-excel-data)
339
+
340
+ ***AWS Open Data***
341
+ 1. [AWS Open Data](https://github.com/edrewitz/WxData/blob/main/Documentation/get_open_aws_data.md#get-aws-open-data)
342
+
343
+ ---------------------------------------------------------------
344
+
345
+ ### Data Querying Tools
346
+
347
+ ***Pixel Query***
348
+ 1. [pixel_query](https://github.com/edrewitz/WxData/blob/main/Documentation/pixel_query.md)
349
+
350
+ ***Line Query***
351
+ 1. [line_query](https://github.com/edrewitz/WxData/blob/main/Documentation/line_query.md)
352
+
353
+ --------------------------------------------------
354
+
355
+ ### Data Transformation & Gap Filling Tools
356
+
357
+ ***Cyclic Points For Hemispheric Plots***
358
+ 1. [Cyclic Points](https://github.com/edrewitz/wxdata/blob/main/Documentation/cyclic_point.md#using-wxdata-to-add-cyclic-points-for-hemispheric-plots)
359
+
360
+ ***Shifting Longitude From 0 to 360 --> -180 to 180***
361
+ 1. [shift_longitude](https://github.com/edrewitz/WxData/blob/main/Documentation/shift_longitude.md)
362
+
363
+ ***Linear Anti-Aliasing Between Two Points***
364
+ 1. [linear_anti_aliasing](https://github.com/edrewitz/WxData/blob/main/Documentation/linear_anti_aliasing.md#linear-anti-aliasing-between-points)
365
+
366
+ ------------------------------------------
367
+
368
+ ### Automated Python Workflow Tools
369
+
370
+ ***Running External Python Scripts In Your Workflow***
371
+
372
+ 1 [run_external_scripts](https://github.com/edrewitz/WxData/blob/main/Documentation/run_external_scripts.md)
373
+
374
+ ---------------------------------------
375
+
376
+ ## Importing Functions from WxData
377
+
378
+ """
379
+ This file hosts all of the functions in the WxData Python library that directly interact with the user.
380
+
381
+ (C) Eric J. Drewitz 2025-2026
382
+ """
383
+
384
+
385
+ """
386
+ This section of functions are for users who want full wxdata functionality.
387
+
388
+ These functions do the following:
389
+
390
+ 1) Scan for the latest available data.
391
+ - If the data on your local machine is not up to date, new data will download automatically.
392
+ - If the data on your local machine is up to date, new data download is bypassed.
393
+ - This is a safeguard that prevents excessive requests on the data servers.
394
+
395
+ 2) Builds the wxdata directory to store the weather data files.
396
+ - Scans for the directory branch and builds the branch if it does not exist.
397
+
398
+ 3) Downloads the data.
399
+ - Users can define their VPN/PROXY IP Address as a (dict) in their script and pass their
400
+ VPN/PROXY IP address into the function to avoid SSL Certificate errors when requesting data.
401
+ - Algorithm allows for up to 5 retries with a 30 second break between each retry to resolve connection
402
+ interruptions while not overburdening the data servers.
403
+
404
+ 4) Pre-processes the data via filename formatting and correctly filing in the wxdata directory.
405
+
406
+ 5) Post-processing by doing the following tasks:
407
+ - Remapping GRIB2 variable keys into plain language variable keys.
408
+ - Fixing dataset build errors and grouping all variables together.
409
+ - Transforms longitude from 0 to 360 degrees into -180 to 180 degrees.
410
+ - Subsetting the data to the latitude/longitude boundaries specified by the user.
411
+ - Converting temperature from kelvin to units the user wants (default is Celsius).
412
+ - Returning a post-processed xarray.array to the user.
413
+
414
+ 6) Preserves system memory by doing the following:
415
+ - Deleting old data files before each new download.
416
+ - When clear_recycle_bin=True, the user's recycle bin is also cleared.
417
+ """
418
+
419
+ # Global Forecast System (GFS)
420
+ # - GFS 0.25x0.25 Degree Primary Parameters
421
+ # - GFS 0.25x0.25 Degree Secondary Parameters
422
+ # - GFS 0.5x0.5 Degree
423
+ from wxdata.gfs.gfs import(
424
+ gfs_0p25,
425
+ gfs_0p25_secondary_parameters,
426
+ gfs_0p50
427
+ )
428
+
429
+ # AI Global Forecast System (AIGFS)
430
+ from wxdata.aigfs.aigfs import aigfs
431
+
432
+ # Hybrid Global Ensemble Forecast System (HGEFS)
433
+ from wxdata.hgefs.hgefs import hgefs_mean_spread
434
+
435
+ # Global Ensemble Forecast System (GEFS)
436
+ # - GEFS 0.5x0.5 Degree Primary Parameters
437
+ # - GEFS 0.5x0.5 Degree Secondary Parameters
438
+ # - GEFS 0.25x0.25 Degree
439
+ from wxdata.gefs.gefs import(
440
+ gefs_0p50,
441
+ gefs_0p50_secondary_parameters,
442
+ gefs_0p25
443
+ )
444
+
445
+ # Climate Forecast System (CFS)
446
+ # - CFS Flux Products
447
+ # - CFS Pressure Products
448
+ from wxdata.cfs.cfs import(
449
+ cfs_flux,
450
+ cfs_pressure
451
+ )
452
+
453
+ # AI Global Ensemble Forecast System (AIGEFS)
454
+ # - AIGEFS Pressure Members (Pressure Level Variables)
455
+ # - AIGEFS Surface Members (Surface Level Variables)
456
+ # - AIGEFS Single (AIGEFS Ensemble Mean & AIGEFS Ensemble Spread)
457
+ from wxdata.aigefs.aigefs import(
458
+ aigefs_pressure_members,
459
+ aigefs_surface_members,
460
+ aigefs_single
461
+ )
462
+
463
+ # European Centre for Medium-Range Weather Forecasts (ECMWF)
464
+ # - ECMWF IFS
465
+ # - ECMWF IFS Ensemble
466
+ # - ECMWF AIFS
467
+ # - ECMWF AIFS Ensemble
468
+ # - ECMWF IFS Wave
469
+ # - ECMWF IFS Wave Ensemble
470
+ from wxdata.ecmwf.ecmwf import(
471
+ ecmwf_ifs,
472
+ ecmwf_ifs_ens,
473
+ ecmwf_aifs,
474
+ ecmwf_aifs_ens,
475
+ ecmwf_ifs_wave,
476
+ ecmwf_ifs_wave_ens
477
+ )
478
+
479
+ # FEMS RAWS Network
480
+ # - Single Station Weather Observations
481
+ # - Single Station Fuels Observations
482
+ # - Multi Station Weather Observations
483
+ # - Multi Station Fuels Observations
484
+ # - Current Weather Observations - Multi Station
485
+ # - Current Fuels Observations - Multi Station
486
+ # - Current Weather Observations - All Stations By State
487
+ # - Current Fuels Observations - All Stations By State
488
+ # - Single Station NFDRS Forecast
489
+ # - Multi Station NFDRS Forecast
490
+ # - Single Station Weather Forecast
491
+ # - Multi Station Weather Forecast
492
+ from wxdata.fems.observations import(
493
+ get_single_raws_station_weather_observations,
494
+ get_single_raws_station_fuels_observations,
495
+ get_multi_raws_station_weather_observations,
496
+ get_multi_raws_station_fuels_observations,
497
+ get_current_multi_raws_station_weather_observations,
498
+ get_current_multi_raws_station_fuels_observations,
499
+ get_current_all_raws_station_weather_observations,
500
+ get_current_all_raws_station_fuels_observations,
501
+ get_single_raws_station_nfdrs_forecast,
502
+ get_multi_raws_station_nfdrs_forecast,
503
+ get_single_raws_station_weather_forecast,
504
+ get_multi_raws_station_weather_forecast
505
+ )
506
+
507
+ # FEMS RAWS Network
508
+ # - Single Station Meta Data
509
+ # - Multi Station Meta Data
510
+ from wxdata.fems.meta_data import(
511
+ get_single_raws_station_meta_data,
512
+ get_multi_raws_station_meta_data
513
+ )
514
+
515
+ # Real-Time Mesoscale Analysis (RTMA)
516
+ # - RTMA Latest
517
+ # - RTMA Comparison Between Two Times
518
+ from wxdata.rtma.rtma import(
519
+ rtma,
520
+ rtma_comparison
521
+ )
522
+
523
+ # NOAA
524
+ # - Storm Prediction Center Outlooks
525
+ # - Climate Prediction Center Outlooks
526
+ # - National Weather Service Forecasts
527
+ from wxdata.noaa.nws import(
528
+ get_ndfd_grids,
529
+ get_cpc_outlook
530
+ )
531
+
532
+ # Observed Upper-Air Soundings
533
+ # (University of Wyoming Database)
534
+ from wxdata.soundings.wyoming_soundings import get_observed_sounding_data
535
+
536
+ # METAR Observational Data (From NOAA)
537
+ from wxdata.metars.metar_obs import download_metar_data
538
+
539
+ # NEXRAD2 Radar Data
540
+ # - NEXRAD2 Radar Single Station
541
+ # - NEXRAD2 Radar Multi Station
542
+ from wxdata.radar.nexrad2 import(
543
+ download_current_single_station_nexrad2_radar_data,
544
+ download_current_multi_station_nexrad2_radar_data
545
+ )
546
+
547
+ """
548
+ This section hosts all the functions and modules that involve post-processing the data.
549
+ These are the functions and modules that:
550
+
551
+ 1) Re-map the GRIB2 Variable Keys into Plain Language Keys
552
+ 2) Build the xarray.array of the various datasets.
553
+
554
+ """
555
+
556
+
557
+ # Global Forecast System (GFS)
558
+ import wxdata.post_processors.gfs_post_processing as gfs_post_processing
559
+
560
+ # AI Global Forecast System (AIGFS)
561
+ import wxdata.post_processors.aigfs_post_processing as aigfs_post_processing
562
+
563
+ # Hybrid Global Ensemble Forecast System (HGEFS)
564
+ import wxdata.post_processors.hgefs_post_processing as hgefs_post_processing
565
+
566
+ # Global Ensemble Forecast System (GEFS)
567
+ import wxdata.post_processors.gefs_post_processing as gefs_post_processing
568
+
569
+ # AI Global Ensemble Forecast System (AIGEFS)
570
+ import wxdata.post_processors.aigefs_post_processing as aigefs_post_processing
571
+
572
+ # European Centre for Medium-Range Weather Forecasts (ECMWF)
573
+ import wxdata.post_processors.ecmwf_post_processing as ecmwf_post_processing
574
+
575
+ # Climate Forecast System (CFS)
576
+ import wxdata.post_processors.cfs_post_processing as cfs_post_processing
577
+
578
+ # Real-Time Mesoscale Analysis (RTMA)
579
+ from wxdata.post_processors.rtma_post_processing import process_rtma_data
580
+
581
+
582
+ """
583
+ This section hosts the utility functions accessable to the user.
584
+
585
+ These functions provide helpful utilities when analyzing weather data.
586
+
587
+ Utility functions are geared towards the following types of users:
588
+
589
+ 1) Users who want to use their own scripts to download the data however, they
590
+ would like to use the wxdata post-processing capabilities.
591
+
592
+ 2) Users who want to make hemispheric graphics or any graphics where cyclic points
593
+ resolve missing data along the prime meridian or international dateline.
594
+ """
595
+ # WxData function using cartopy to make cyclic points
596
+ # This is for users who wish to make graphics that cross the -180/180 degree longitude line
597
+ # This is commonly used for Hemispheric graphics
598
+ # Function that converts the longitude dimension in an xarray.array
599
+ # From 0 to 360 to -180 to 180
600
+ from wxdata.utils.coords import(
601
+ cyclic_point,
602
+ shift_longitude
603
+ )
604
+
605
+ # Functions to pixel query and query pixels along a line between points A and B
606
+ # Function to interpolate to n amount of points in between x and y values respectively
607
+ from wxdata.utils.tools import(
608
+ pixel_query,
609
+ line_query,
610
+ linear_anti_aliasing
611
+ )
612
+
613
+ # This function executes a list of Python scripts in the order the user lists them
614
+ from wxdata.utils.scripts import run_external_scripts
615
+
616
+ """
617
+ This section hosts the various data clients that retrieve various types of data.
618
+
619
+ These clients can be easily configured to work on VPN/PROXY connections.
620
+ """
621
+
622
+ # These are the wxdata HTTPS Clients with full VPN/PROXY Support
623
+ # Client List:
624
+ # - get_gridded_data()
625
+ # - get_csv_data()
626
+ # - get_excel_data()
627
+ # - get_xmacis_data()
628
+ # - get_aws_open_data()
629
+ import wxdata.client.client as client
630
+
631
+ -------------------------------------------
632
+
633
+ ## Citations
634
+
635
+ **MetPy**: May, R. M., Goebbert, K. H., Thielen, J. E., Leeman, J. R., Camron, M. D., Bruick, Z.,
636
+ Bruning, E. C., Manser, R. P., Arms, S. C., and Marsh, P. T., 2022: MetPy: A
637
+ Meteorological Python Library for Data Analysis and Visualization. Bull. Amer. Meteor.
638
+ Soc., 103, E2273-E2284, https://doi.org/10.1175/BAMS-D-21-0125.1.
639
+
640
+ **xarray**: Hoyer, S., Hamman, J. (In revision). Xarray: N-D labeled arrays and datasets in Python. Journal of Open Research Software.
641
+
642
+ **cartopy**: Phil Elson, Elliott Sales de Andrade, Greg Lucas, Ryan May, Richard Hattersley, Ed Campbell, Andrew Dawson, Bill Little, Stephane Raynaud, scmc72, Alan D. Snow, Ruth Comer, Kevin Donkers, Byron Blay, Peter Killick, Nat Wilson, Patrick Peglar, lgolston, lbdreyer, … Chris Havlin. (2023). SciTools/cartopy: v0.22.0 (v0.22.0). Zenodo. https://doi.org/10.5281/zenodo.8216315
643
+
644
+ **NumPy**: Harris, C.R., Millman, K.J., van der Walt, S.J. et al. Array programming with NumPy. Nature 585, 357–362 (2020). DOI: 10.1038/s41586-020-2649-2. (Publisher link).
645
+
646
+ **Pandas**: Pandas: McKinney, W., & others. (2010). Data structures for statistical computing in python. In Proceedings of the 9th Python in Science Conference (Vol. 445, pp. 51–56).
647
+
648
+ **dask**: Dask Development Team (2016). Dask: Library for dynamic task scheduling. URL http://dask.pydata.org
649
+
650
+ **cfgrib**: Author: ECMWF, Year: (2025), Title: cfgrib: A Python interface to map GRIB files to xarray, Source: https://github.com/ecmwf/cfgrib
651
+
652
+ **requests**: K. Reitz, "Requests: HTTP for Humans". Available: https://requests.readthedocs.io/.
653
+
654
+ **Beautiful Soup**: Richardson, L. (2025). Beautiful Soup (Version 4.14.3) [Computer software]. https://www.crummy.com/software/BeautifulSoup/
655
+
656
+ **shapeography**: Eric J. Drewitz. (2026). edrewitz/shapeography: shapeography 1.0 Released (shapeography1.0). Zenodo. https://doi.org/10.5281/zenodo.18676845
657
+
658
+ **geopandas**: Kelsey Jordahl, Joris Van den Bossche, Martin Fleischmann, Jacob Wasserman, James McBride, Jeffrey Gerard, … François Leblanc. (2020, July 15). geopandas/geopandas: v0.8.1 (Version v0.8.1). Zenodo. http://doi.org/10.5281/zenodo.3946761
659
+
660
+ **tqdm**: da Costa-Luis, (2019). tqdm: A Fast, Extensible Progress Meter for Python and CLI. Journal of Open Source Software, 4(37), 1277, https://doi.org/10.21105/joss.01277
661
+
662
+ **ecmwf-opendata**: European Centre for Medium-Range Weather Forecasts (2026). ecmwf-opendata[Computer software]. GitHub. https://github.com/ecmwf/ecmwf-opendata
663
+
664
+ **openpyxl**: Gazoni, E., & Clark, C. (2024). openpyxl: A Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files (Version 3.1.5) [Computer software]. https://openpyxl.readthedocs.io/
665
+
666
+ **pyart**: Helmus, J.J. & Collis, S.M., (2016). The Python ARM Radar Toolkit (Py-ART), a Library for Working with Weather Radar Data in the Python Programming Language. Journal of Open Research Software. 4(1), p.e25. DOI: 10.5334/jors.119.
667
+
668
+ ----------------------------------------------------------
669
+
670
+ ## Data Sources
671
+
672
+ 1) [National Oceanic and Atmospheric Administration/National Center for Environmental Prediction](https://nomads.ncep.noaa.gov/)
673
+ 2) [European Centre for Medium-Range Weather Forecasts](https://data.ecmwf.int/forecasts/)
674
+ 3) [University of Wyoming](http://www.weather.uwyo.edu/upperair/sounding.shtml)
675
+ 4) [National Oceanic and Atmospheric Administration/National Weather Service](https://tgftp.nws.noaa.gov/)
676
+ 5) [National Oceanic and Atmospheric Administration/Aviation Weather Center](https://aviationweather.gov/)
677
+ 6) [National Oceanic and Atmospheric Administration/Climate Prediction Center](https://www.cpc.ncep.noaa.gov/products/GIS/GIS_DATA/us_tempprcpfcst/index.php)
678
+ 7) [Applied Climate Information System (ACIS)](https://www.rcc-acis.org/docs_webservices.html)
679
+ 8) [USDA Fire Environment Mapping System](https://fems.fs2c.usda.gov/download)
680
+ 9) [Amazon AWS Unidata NEXRAD2 Bucket](https://unidata-nexrad-level2.s3.amazonaws.com/index.html)
681
+
682
+