NCAR / wrf-python

A collection of diagnostic and interpolation routines for use with output from the Weather Research and Forecasting (WRF-ARW) Model.
https://wrf-python.readthedocs.io
Apache License 2.0
410 stars 155 forks source link

Mercator fix #174

Closed michaelavs closed 2 years ago

michaelavs commented 2 years ago

Should address the issue users are having when using Mercator projections in their wrfout files (seen in and closes #173). PR is set to merge directly to main as we have nothing else that would need to be released via a merge of develop into main.

Tested this by uninstalling wrf-python in my conda environment, making changes to the file on the branch, running pip install . to install from source, then testing with a scratch file using a wrfout file that has a Mercator projection type. Cartopy version in environment is 0.20.2, which is the same version that was giving problems to users. Please feel free to test this locally as well before approving. I can send over the relevant code and wrfout file if necessary!