intake / xrviz

Interactive visualisation interface for Xarrays
https://xrviz.readthedocs.io
BSD 3-Clause "New" or "Revised" License
105 stars 21 forks source link

metpy warning #68

Closed martindurant closed 4 years ago

martindurant commented 4 years ago

@rsignell-usgs , any idea what the following warning means? Seen when looking at the great-lakes data

/Users/mdurant/anaconda/envs/py37/lib/python3.7/site-packages/metpy/xarray.py:276: MetpyDeprecationWarning: Multidimensional coordinate lon assigned for axis "x". This behavior has been deprecated and will be removed in v1.0 (only one-dimensional coordinates will be available for the "x" axis).
  f'be available for the "{axis}" axis).', metpyDeprecation)

Is mapping no longer done??

rsignell-usgs commented 4 years ago

@martindurant, xrviz is trying to use metpy to figure out if when the user selects a variable, if there are lon,lat variables it could use for plotting coordinates.

@dopplershift, what would be the best way to use metpy to do this?

Currently the code is trying:

parsed_var = ds.metpy.parse_cf(var)
x, y = parsed_var.metpy.coordinates('x', 'y')
[coord.name for coord in (x, y)]

But I'm not sure how this ever worked for this dataset!

If we take a look at the great lakes dataset:

import xarray as xr
import metpy

url = 'http://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/LOOFS/MODELS/202003/glofs.loofs.fields.forecast.20200320.t06z.nc'
ds = xr.open_dataset(url)

we get:

<xarray.Dataset>
Dimensions:    (nx: 61, ny: 25, sigma: 20, time: 60)
Coordinates:
  * time       (time) datetime64[ns] 2020-03-20T06:59:45.937500032 ... 2020-03-22T18:00:00
  * sigma      (sigma) float32 0.0 0.0227 0.0454 0.0681 ... 0.8853 0.9534 1.0
Dimensions without coordinates: nx, ny
Data variables:
    validtime  (time) |S64 ...
    lon        (ny, nx) float32 ...
    lat        (ny, nx) float32 ...
    mask       (ny, nx) float32 ...
    depth      (ny, nx) float32 ...
    zeta       (time, ny, nx) float32 ...
    air_u      (time, ny, nx) float32 ...
    air_v      (time, ny, nx) float32 ...
    u          (time, sigma, ny, nx) float32 ...
    v          (time, sigma, ny, nx) float32 ...
    temp       (time, sigma, ny, nx) float32 ...
Attributes:
    datum1:                          reference to LWD=zeta
    datum2:                          reference to IGLD85=zeta - IGLD85
    file_type:                       Full_Grid
    Conventions:                     COARDS
    grid_type:                       rectilinear
    z_type:                          2-D
    model:                           POMGL
    title:                           ofs4:/comf/operations/ohms
    comment:                         Linux
    source:                          current,zeta,temp,wind
    institution:                     NOAA/NOS/CO-OPS
    history:                         Operation-CO-OPS
    references:                      greg.mott@noaa.gov
    creation_date:                   2020-03-20  6:51:03  00:00
    DODS.strlen:                     19
    DODS.dimName:                    validtime_len
    DODS_EXTRA.Unlimited_Dimension:  time

but while

parsed_temp.metpy.time.name

returns

'time'

trying the same for x and y does not work:

parsed_temp.metpy.x.name

returns

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-26-b90890c9912d> in <module>
----> 1 parsed_temp.metpy.x.name

/srv/conda/envs/notebook/lib/python3.7/site-packages/metpy/xarray.py in x(self)
    350 
    351         """
--> 352         return self._axis('x')
    353 
    354     @property

/srv/conda/envs/notebook/lib/python3.7/site-packages/metpy/xarray.py in _axis(self, axis)
    288                 return coord_var
    289             else:
--> 290                 raise AttributeError(axis + ' attribute is not available.')
    291         else:
    292             raise AttributeError("'" + axis + "' is not an interpretable axis.")

AttributeError: x attribute is not available.

For what it's worth, parsed_temp looks like:

<xarray.DataArray 'temp' (time: 60, sigma: 20, ny: 25, nx: 61)>
[1830000 values with dtype=float32]
Coordinates:
  * time     (time) datetime64[ns] 2020-03-20T06:59:45.937500032 ... 2020-03-22T18:00:00
  * sigma    (sigma) float32 0.0 0.0227 0.0454 0.0681 ... 0.8853 0.9534 1.0
Dimensions without coordinates: ny, nx
Attributes:
    long_name:      Temperature
    units:          Celsius
    standard_name:  sea_water_temperature
hdsingh commented 4 years ago

@rsignell-usgs, As mentioned in this comment, metpy is able to guess, if the data coords are set or available, so setting the coords by

ds = ds.set_coords(['lon','lat'])

before parsing works fine. However the deprecation and future removal warning is there.

rsignell-usgs commented 4 years ago

Thanks @hdsingh ! So the code below has this behavior with metpy:

import xarray as xr
import metpy

url = 'http://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/LOOFS/MODELS/202003/glofs.loofs.fields.forecast.20200320.t06z.nc'
ds = xr.open_dataset(url)
ds = ds.set_coords(['lon', 'lat'])
ds.parsed_temp = ds.metpy.parse_cf('temp')
print(parsed_temp.metpy.x.name)

@dopplershift, what would be a best way to modify this for the new metpy?

dopplershift commented 4 years ago

Apologies for the inconvenience. The current (1.0) way would be:

parsed_temp.metpy.longitude.name

The relevant issue is Unidata/MetPy#1090, describing the rationale for the changes.

martindurant commented 4 years ago

@hdsingh , do you have any plans to change the code to cope with the new version of metpy?

hdsingh commented 4 years ago

I looked into this. Changing this line to

x, y = parsed_var.metpy.longitude, parsed_var.metpy.latitude 

according to current (metpy=1.0.0rc1) works fine for all the datasets. However this works fine on python=3.8 and I have been unable to install metpy=1.0.0rc1 on python=3.7. I am looking into this. Once I find a way to install it on 3.7 using conda, I will create a PR.

rsignell-usgs commented 4 years ago

@hdsingh , is this the problem you are having?

With environment.yml of:

name: metpy
channels:
  - conda-forge
dependencies:
  - python=3.7
  - panel
  - hvplot
  - xarray
  - netcdf4
  - datashader
  - geoviews
  - xrviz
  - pip
  - pip:
    - git+https://github.com/Unidata/MetPy.git

I'm getting:

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/auth.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/gen.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/httpclient.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/httputil.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/ioloop.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/iostream.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/routing.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/template.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/testing.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/web.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/__pycache__/websocket.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/test/__pycache__/gen_test.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/test/__pycache__/httpclient_test.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/test/__pycache__/httpserver_test.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/test/__pycache__/ioloop_test.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/test/__pycache__/iostream_test.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/test/__pycache__/simple_httpclient_test.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/test/__pycache__/web_test.cpython-37.pyc'
specified in the package manifest cannot be found.

CondaVerificationError: The package for tornado located at c:\condapkgs\tornado-6.0.4-py37hfa6e2cd_0
appears to be corrupted. The path 'Lib/site-packages/tornado/test/__pycache__/websocket_test.cpython-37.pyc'
specified in the package manifest cannot be found.

ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge/win-64::hdf4-4.2.13-hf8e6fe8_1003, conda-forge/win-64::hdf5-1.10.5-nompi_ha405e13_1104
  path: 'library/copying'

ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge/win-64::hdf4-4.2.13-hf8e6fe8_1003, conda-forge/win-64::hdf5-1.10.5-nompi_ha405e13_1104
  path: 'library/release.txt'

If so, perhaps @ocefpaf has insight?

martindurant commented 4 years ago

I would suggest specifying the tornado version (6.0.1?) if there is a problem. For the change in code, I would put a version check in: if <=0.11, use previous version, else use new.

hdsingh commented 4 years ago

@rsignell-usgs Yes, somewhat similar. Since I tried installing in already existing environment, I got

Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                          
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions

So version checking seems a better option here. However we will still get warning message only in case of metpy 0.12.

martindurant commented 4 years ago

However we will still get warning message only in case of metpy 0.12

If it was already warning, then I suspect that the new method must be working by that version.

ocefpaf commented 4 years ago

@hdsingh and @rsignell-usgs what is the result of conda info and how are you setting your .condarc?

I was able to use the environment from https://github.com/intake/xrviz/issues/68#issuecomment-614612394 without any problems with conda 4.8.3 and the following .condarc:

> cat ~/.condarc 
show_channel_urls: true
channel_priority: strict
channels:
  - conda-forge

This is the conda list of the environment, note that I got build number 1 for tornado, which indicates you probably having something different there in your config.

# packages in environment at /home/filipe/miniconda3/envs/metpy:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                      1_llvm    conda-forge
appdirs                   1.4.3                      py_1    conda-forge
attrs                     19.3.0                     py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
bleach                    3.1.4              pyh9f0ad1d_0    conda-forge
bokeh                     2.0.1            py37hc8dfbb8_0    conda-forge
boost-cpp                 1.72.0               h8e57a91_0    conda-forge
bzip2                     1.0.8                h516909a_2    conda-forge
ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
cairo                     1.16.0            hcf35c78_1003    conda-forge
cartopy                   0.17.0          py37h17ca249_1015    conda-forge
certifi                   2020.4.5.1       py37hc8dfbb8_0    conda-forge
cffi                      1.14.0           py37hd463f26_0    conda-forge
cfitsio                   3.470                hb60a0a2_2    conda-forge
cftime                    1.1.1.2          py37h03ebfcd_0    conda-forge
chardet                   3.0.4           py37hc8dfbb8_1006    conda-forge
click                     7.1.1              pyh8c360ce_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
cligj                     0.5.0                      py_0    conda-forge
cloudpickle               1.3.0                      py_0    conda-forge
colorcet                  2.0.1                      py_0    conda-forge
cryptography              2.8              py37hb09aad4_2    conda-forge
curl                      7.69.1               h33f0ec9_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
cytoolz                   0.10.1           py37h516909a_0    conda-forge
dask                      2.14.0                     py_0    conda-forge
dask-core                 2.14.0                     py_0    conda-forge
datashader                0.10.0                     py_0    conda-forge
datashape                 0.5.4                      py_1    conda-forge
decorator                 4.4.2                      py_0    conda-forge
defusedxml                0.6.0                      py_0    conda-forge
distributed               2.14.0           py37hc8dfbb8_0    conda-forge
entrypoints               0.3             py37hc8dfbb8_1001    conda-forge
expat                     2.2.9                he1b5a44_2    conda-forge
fiona                     1.8.13           py37h900e953_0    conda-forge
fontconfig                2.13.1            h86ecdb6_1001    conda-forge
freetype                  2.10.1               he06d7ca_0    conda-forge
freexl                    1.0.5             h14c3975_1002    conda-forge
fsspec                    0.7.2                      py_0    conda-forge
gdal                      3.0.4            py37h4b180d9_4    conda-forge
geopandas                 0.7.0                      py_1    conda-forge
geos                      3.8.1                he1b5a44_0    conda-forge
geotiff                   1.5.1               h05acad5_10    conda-forge
geoviews                  1.8.1                      py_0    conda-forge
geoviews-core             1.8.1                      py_0    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
giflib                    5.2.1                h516909a_2    conda-forge
glib                      2.64.1            h6f030ca_1004    conda-forge
hdf4                      4.2.13            hf30be14_1003    conda-forge
hdf5                      1.10.5          nompi_h3c11f04_1104    conda-forge
heapdict                  1.0.1                      py_0    conda-forge
holoviews                 1.13.2             pyh9f0ad1d_0    conda-forge
hvplot                    0.5.2                      py_0    conda-forge
icu                       64.2                 he1b5a44_1    conda-forge
idna                      2.9                        py_1    conda-forge
imageio                   2.8.0                      py_0    conda-forge
importlib-metadata        1.6.0            py37hc8dfbb8_0    conda-forge
importlib_metadata        1.6.0                         0    conda-forge
ipykernel                 5.2.0            py37h43977f1_1    conda-forge
ipython                   7.13.0           py37hc8dfbb8_2    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
jedi                      0.17.0           py37hc8dfbb8_0    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
jpeg                      9c                h14c3975_1001    conda-forge
json-c                    0.13.1            h14c3975_1001    conda-forge
jsonschema                3.2.0            py37hc8dfbb8_1    conda-forge
jupyter_client            6.1.3                      py_0    conda-forge
jupyter_core              4.6.3            py37hc8dfbb8_1    conda-forge
kealib                    1.4.13               hec59c27_0    conda-forge
kiwisolver                1.2.0            py37h99015e2_0    conda-forge
krb5                      1.17.1               h2fd8d38_0    conda-forge
ld_impl_linux-64          2.34                 h53a641e_0    conda-forge
libblas                   3.8.0               16_openblas    conda-forge
libcblas                  3.8.0               16_openblas    conda-forge
libcurl                   7.69.1               hf7181ac_0    conda-forge
libdap4                   3.20.4               hd3bb157_0    conda-forge
libedit                   3.1.20170329      hf8c457e_1001    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
libgdal                   3.0.4                h9e6407a_4    conda-forge
libgfortran-ng            7.3.0                hdf63c60_5    conda-forge
libiconv                  1.15              h516909a_1006    conda-forge
libkml                    1.3.0             hb574062_1011    conda-forge
liblapack                 3.8.0               16_openblas    conda-forge
libllvm8                  8.0.1                hc9558a2_0    conda-forge
libnetcdf                 4.7.4           nompi_h9f9fd6a_101    conda-forge
libopenblas               0.3.9                h5ec1e0e_0    conda-forge
libpng                    1.6.37               hed695b0_1    conda-forge
libpq                     12.2                 h5513abc_1    conda-forge
libsodium                 1.0.17               h516909a_0    conda-forge
libspatialindex           1.9.3                he1b5a44_3    conda-forge
libspatialite             4.3.0a            h2482549_1038    conda-forge
libssh2                   1.8.2                h22169c7_2    conda-forge
libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
libtiff                   4.1.0                hc3755c2_3    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libwebp                   1.0.2                h56121f0_5    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxml2                   2.9.10               hee79883_0    conda-forge
llvm-openmp               10.0.0               hc9558a2_0    conda-forge
llvmlite                  0.31.0           py37h5202443_1    conda-forge
locket                    0.2.0                      py_2    conda-forge
lz4-c                     1.8.3             he1b5a44_1001    conda-forge
markdown                  3.2.1                      py_0    conda-forge
markupsafe                1.1.1            py37h8f50634_1    conda-forge
matplotlib-base           3.2.1            py37h30547a4_0    conda-forge
metpy                     1.0.0rc1.post40+g3bf36081          pypi_0    pypi
mistune                   0.8.4           py37h8f50634_1001    conda-forge
msgpack-python            1.0.0            py37h99015e2_1    conda-forge
multipledispatch          0.6.0                      py_0    conda-forge
munch                     2.5.0                      py_0    conda-forge
nbconvert                 5.6.1            py37hc8dfbb8_1    conda-forge
nbformat                  5.0.4                      py_0    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
netcdf4                   1.5.3           nompi_py37hec16513_103    conda-forge
networkx                  2.4                        py_1    conda-forge
notebook                  6.0.3                    py37_0    conda-forge
numba                     0.48.0           py37hb3f55d8_0    conda-forge
numpy                     1.18.1           py37h8960a57_1    conda-forge
olefile                   0.46                       py_0    conda-forge
openjpeg                  2.3.1                h981e76c_3    conda-forge
openssl                   1.1.1f               h516909a_0    conda-forge
owslib                    0.19.2                     py_1    conda-forge
packaging                 20.1                       py_0    conda-forge
pandas                    1.0.3            py37h0da4684_0    conda-forge
pandoc                    2.9.2.1                       0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
panel                     0.9.5                      py_1    conda-forge
param                     1.9.3                      py_0    conda-forge
parso                     0.7.0              pyh9f0ad1d_0    conda-forge
partd                     1.1.0                      py_0    conda-forge
pcre                      8.44                 he1b5a44_0    conda-forge
pexpect                   4.8.0            py37hc8dfbb8_1    conda-forge
pickleshare               0.7.5           py37hc8dfbb8_1001    conda-forge
pillow                    7.1.1            py37h718be6c_0    conda-forge
pint                      0.11                       py_1    conda-forge
pip                       20.0.2                     py_2    conda-forge
pixman                    0.38.0            h516909a_1003    conda-forge
pooch                     1.1.0                      py_0    conda-forge
poppler                   0.67.0               h14e79db_8    conda-forge
poppler-data              0.4.9                         1    conda-forge
postgresql                12.2                 h8573dbc_1    conda-forge
proj                      7.0.0                h5a2d94f_2    conda-forge
prometheus_client         0.7.1                      py_0    conda-forge
prompt-toolkit            3.0.5                      py_0    conda-forge
psutil                    5.7.0            py37h8f50634_1    conda-forge
pthread-stubs             0.4               h14c3975_1001    conda-forge
ptyprocess                0.6.0                   py_1001    conda-forge
pycparser                 2.20                       py_0    conda-forge
pyct                      0.4.6                      py_0    conda-forge
pyct-core                 0.4.6                      py_0    conda-forge
pyepsg                    0.4.0                      py_0    conda-forge
pygments                  2.6.1                      py_0    conda-forge
pykdtree                  1.3.1           py37h03ebfcd_1003    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyproj                    2.6.0            py37h34dd122_1    conda-forge
pyrsistent                0.16.0           py37h8f50634_0    conda-forge
pyshp                     2.1.0                      py_0    conda-forge
pysocks                   1.7.1            py37hc8dfbb8_1    conda-forge
python                    3.7.6           h8356626_5_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
pytz                      2019.3                     py_0    conda-forge
pyviz_comms               0.7.4              pyh8c360ce_0    conda-forge
pywavelets                1.1.1            py37hc1659b7_0    conda-forge
pyyaml                    5.3.1            py37h8f50634_0    conda-forge
pyzmq                     19.0.0           py37hac76be4_1    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
requests                  2.23.0             pyh8c360ce_2    conda-forge
rtree                     0.9.4            py37h8526d28_1    conda-forge
scikit-image              0.16.2           py37hb3f55d8_0    conda-forge
scipy                     1.4.1            py37ha3d9a3c_3    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                46.1.3           py37hc8dfbb8_0    conda-forge
shapely                   1.7.0            py37hc88ce51_3    conda-forge
six                       1.14.0                     py_1    conda-forge
sortedcontainers          2.1.0                      py_0    conda-forge
sqlite                    3.30.1               hcee41ef_0    conda-forge
tbb                       2018.0.5             h2d50403_0    conda-forge
tblib                     1.6.0                      py_0    conda-forge
terminado                 0.8.3            py37hc8dfbb8_1    conda-forge
testpath                  0.4.4                      py_0    conda-forge
tiledb                    1.7.0                hcde45ca_2    conda-forge
tk                        8.6.10               hed695b0_0    conda-forge
toolz                     0.10.0                     py_0    conda-forge
tornado                   6.0.4            py37h8f50634_1    conda-forge
tqdm                      4.45.0             pyh9f0ad1d_0    conda-forge
traitlets                 4.3.3            py37hc8dfbb8_1    conda-forge
typing_extensions         3.7.4.1          py37hc8dfbb8_3    conda-forge
tzcode                    2019a             h516909a_1002    conda-forge
urllib3                   1.25.8           py37hc8dfbb8_1    conda-forge
wcwidth                   0.1.9              pyh9f0ad1d_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.34.2                     py_1    conda-forge
xarray                    0.15.1                     py_0    conda-forge
xerces-c                  3.2.2             h8412b87_1004    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.9                h516909a_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xrviz                     0.1.4                      py_1    conda-forge
xz                        5.2.5                h516909a_0    conda-forge
yaml                      0.2.3                h516909a_0    conda-forge
zeromq                    4.3.2                he1b5a44_2    conda-forge
zict                      2.0.0                      py_0    conda-forge
zipp                      3.1.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge
zstd                      1.4.4                h3b9ef0a_2    conda-forge
rsignell-usgs commented 4 years ago

I have problems on windows if I set my .condarc to:

show_channel_urls: true
channel_priority: strict
channels:
  - conda-forge
(base) c:\Users\rsignell\Documents\GitHub>conda env create -f metpy_env.yml
Collecting package metadata (repodata.json): done
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining netcdf4:  10%|██████▍                                                         | 1/10 [00:00<00:03,  2.32it/s]\failed                                                                                                               /
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Determining conflicts:   0%|                                                                    | 0/10 [00:00 Available versions

Package python_abi conflicts for:
netcdf4 -> cftime -> python_abi=2.7[build=*_cp27m]
xrviz -> cartopy -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp38|*_cp37m|*_cp36m']
panel -> bokeh[version='>=2.0'] -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp36m|*_cp37m|*_cp38']
datashader -> bokeh -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp36m|*_cp37m|*_cp38']
geoviews -> bokeh[version='>=2.0.0'] -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp36m|*_cp37m|*_cp38']
netcdf4 -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp36m|*_cp37m|*_cp38']
hvplot -> bokeh[version='>=1.0'] -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp36m|*_cp37m|*_cp38']
xarray -> numpy[version='>=1.17'] -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp36m|*_cp37m|*_cp38']
pip -> setuptools -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp36m|*_cp37m|*_cp38']

Package pandas conflicts for:
xarray -> dask[version='>=0.9'] -> pandas[version='>=0.18.0|>=0.19.0|>=0.21.0|>=0.23.0']
geoviews -> pandas
xrviz -> datashader -> pandas[version='>=0.15.0|>=0.20.3|>=0.20.0|>=0.22.0|>=0.25|>=0.24|>=0.19.2|>=0.18']
datashader -> bokeh -> pandas[version='>=0.18.0|>=0.18|>=0.19.0|>=0.21.0|>=0.23.0|>=0.25|>=0.24|>=0.19.2']
hvplot -> pandas
xarray -> pandas[version='>=0.18|>=0.19.2|>=0.24|>=0.25']
datashader -> pandas[version='>=0.15.0|>=0.20.3']
geoviews -> datashader -> pandas[version='>=0.15.0|>=0.20.3|>=0.23|>=0.20.0|>=0.25|>=0.24|>=0.19.2|>=0.18']
hvplot -> holoviews[version='>=1.11.2'] -> pandas[version='>=0.20.0']

Package numpy conflicts for:
geoviews -> bokeh[version='>=2.0.0'] -> numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|>=1.11|>=1.11.3,<2.0a0|>=1.11.3|>=1.14.6,<2.0a0|>=1.7|>=1.9|>=1.8|>=1.12.1,<2.0a0|>=1.11.*|>=1.9.*|>=1.17|>=1.15|>=1.14|>=1.12|>=1.7.1|>=1.14.5,<2.0a0|1.9.*|1.8.*']
datashader -> bokeh -> numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|>=1.11|>=1.11.*|>=1.11.0|>=1.11.3|>=1.7.1|>=1.13.0|>=1.14.6,<2.0a0|>=1.12.1,<2.0a0|>=1.11.3,<2.0a0|>=1.9.*|>=1.9|>=1.8|>=1.17|>=1.15|>=1.14|>=1.12|>=1.10.4']
netcdf4 -> cftime -> numpy
xarray -> pandas[version='>=0.25'] -> numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|>=1.11.*|>=1.11.3,<2.0a0|>=1.12.1,<2.0a0|>=1.14.6,<2.0a0|>=1.9.*|>=1.9|>=1.8|>=1.7|>=1.14.5,<2.0a0|>=1.13.0|>=1.11.0|>=1.10.4']
panel -> bokeh[version='>=2.0'] -> numpy[version='>=1.11.3|>=1.7.1']
xrviz -> cartopy -> numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|>=1.11|>=1.11.3,<2.0a0|>=1.14.6,<2.0a0|>=1.14.5,<2.0a0|>=1.9|>=1.8|1.9.*|>=1.7|>=1.0|>=1.13|>=1.12|>=1.10|>=1.9.1|>=1.8.0|>=1.17|>=1.15|>=1.14']
netcdf4 -> numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|>=1.11|>=1.11.3,<2.0a0|>=1.14.6,<2.0a0|>=1.9|>=1.8']
geoviews -> numpy[version='>=1.0']
hvplot -> bokeh[version='>=1.0'] -> numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|>=1.0|>=1.11.3|>=1.7.1|>=1.14.6,<2.0a0|>=1.12.1,<2.0a0|>=1.11.3,<2.0a0|>=1.11.*|>=1.9.*|>=1.11|>=1.9|>=1.8|>=1.7']
datashader -> numpy[version='>=1.7']
xarray -> numpy[version='>=1.11|>=1.12|>=1.14|>=1.15|>=1.17']

Package python conflicts for:
xarray -> numpy[version='>=1.17'] -> python[version='>=3|>=3.8,<3.9.0a0']
netcdf4 -> python_abi=3.7[build=*_cp37m] -> python[version='3.7.*|3.8.*']
datashader -> python[version='>=2.7']
python=3.7
xrviz -> cartopy -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.5,<3.6.0a0|3.4.*|>=2.7,<3.5|>=2.7|>=3|>=3.5.3|>=3.5']
panel -> python[version='>=3']
datashader -> bokeh -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.5,<3.6.0a0|>=3.6|>=3.5|3.4.*|>=3.5.3']
geoviews -> python[version='>=2.7|>=3.6']
geoviews -> bokeh[version='>=2.0.0'] -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.5|3.4.*|>=3.5,<3.6.0a0|>=3.5.3']
xarray -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.5|>=3.5.3|>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0|3.4.*']
xrviz -> python[version='>=3.6']
pip -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0|3.4.*']
netcdf4 -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.5,<3.6.0a0|3.4.*']
panel -> bokeh[version='>=2.0'] -> python[version='2.7.*|3.5.*|3.6.*|>=3.5|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=2.7|>=2.7,<2.8.0a0|3.4.*|>=3.5,<3.6.0a0']

Package panel conflicts for:
geoviews -> holoviews[version='>=1.13.0'] -> panel[version='>=0.7.0']
panel
xrviz -> panel[version='>=0.5.1|>=0.7.0']

Package matplotlib-base conflicts for:
hvplot -> holoviews[version='>=1.11.2'] -> matplotlib-base[version='>=2.1|>=2.2']
xrviz -> cartopy -> matplotlib-base[version='>=2.1.0|>=2.1|>=2.2']
geoviews -> cartopy[version='>=0.17.0'] -> matplotlib-base[version='2.1.2|2.1.2|2.1.2|2.2.3|2.2.3|2.2.3|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|3.0.2|3.0.2|3.0.3|3.0.3|3.0.3|3.0.3|3.1.0|3.1.0|3.1.0|3.1.0|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.2|3.1.2|3.1.2|3.1.2|3.1.2|3.1.2|3.1.3|3.1.3|3.1.3|>=2.1|>=2.2|>=3.2.1,<3.2.2.0a0|>=3.2.0,<3.2.1.0a0|>=2.2.5,<2.2.6.0a0',build='py27hf194043_1|py36ha47f3eb_1|py36h3e3dc42_1002|py36h3e3dc42_0|py36h3e3dc42_1|py37h3e3dc42_0|py36h3e3dc42_0|py37h2852a4a_1|py36h2852a4a_0|py38h2981e6d_1|py38h2981e6d_1|py37h2981e6d_0|py38h2981e6d_0|py36h2981e6d_0|py37h2981e6d_1|py36h2981e6d_1|py38h2981e6d_0|py37h2981e6d_0|py36h2981e6d_0|py37h2981e6d_2|py36h2981e6d_2|py38h2981e6d_2|py37h2852a4a_1|py36h2852a4a_1|py37h2852a4a_0|py36h2852a4a_1|py37h3e3dc42_1|py37h3e3dc42_0|py37h3e3dc42_1002|py27h6595424_2|py37h2981e6d_2|py36h2981e6d_2|py38h2981e6d_2|py36h2981e6d_1|py37h2981e6d_1|py27h6595424_1|py37h2852a4a_0|py36h2852a4a_0|py27he27c676_0|py37ha47f3eb_1|py36h2981e6d_1|py37h2981e6d_1|py27h6595424_1']
datashader -> scikit-image -> matplotlib-base[version='>=2.0.0']
geoviews -> matplotlib-base[version='>2.2']

Package setuptools conflicts for:
xrviz -> netcdf4 -> setuptools
panel -> markdown -> setuptools[version='>=36']
datashader -> numba[version='>=0.37.0'] -> setuptools
python=3.7 -> pip -> setuptools
xarray -> setuptools
netcdf4 -> setuptools
pip -> setuptools
geoviews -> netcdf4 -> setuptools

Package tqdm conflicts for:
panel -> tqdm
xrviz -> panel[version='>=0.7.0'] -> tqdm

Package icc_rt conflicts for:
xarray -> scipy -> icc_rt[version='>=2019.0.0']
geoviews -> scipy -> icc_rt[version='>=2019.0.0']
datashader -> scipy -> icc_rt[version='>=2019.0.0']

Package xarray conflicts for:
geoviews -> datashader -> xarray[version='>=0.9.6']
xrviz -> datashader -> xarray[version='>=0.10.7|>=0.9.6']
xarray
xrviz -> xarray[version='>=0.14.1']
geoviews -> xarray
datashader -> xarray[version='>=0.9.6']

Package jinja2 conflicts for:
hvplot -> bokeh[version='>=1.0'] -> jinja2[version='>=2.7']
datashader -> bokeh -> jinja2[version='>=2.7']
panel -> bokeh[version='>=2.0'] -> jinja2[version='>=2.7']
geoviews -> bokeh[version='>=2.0.0'] -> jinja2[version='>=2.7']

Package pyepsg conflicts for:
geoviews -> cartopy[version='>=0.17.0'] -> pyepsg
xrviz -> cartopy -> pyepsg

Package python-dateutil conflicts for:
hvplot -> bokeh[version='>=1.0'] -> python-dateutil[version='>=2.1|>=2.6.1|>=2.5.*']
xarray -> pandas[version='>=0.25'] -> python-dateutil[version='>=2.5.*|>=2.6.1']
datashader -> bokeh -> python-dateutil[version='>=2.1|>=2.6.1|>=2.5.*']
panel -> bokeh[version='>=2.0'] -> python-dateutil[version='>=2.1']
geoviews -> bokeh[version='>=2.0.0'] -> python-dateutil[version='>=2.1|>=2.6.1|>=2.5.*']

Package bokeh conflicts for:
panel -> bokeh[version='>=0.12.15|>=1.0.0|>=1.1.0|>=1.3.0|>=1.4.0|>=1.4.0,<2.0|>=2.0']
datashader -> dask[version='>=0.18.0'] -> bokeh[version='>=0.13.0|>=1.0.0|>=1.0.0,!=2.0.0']
geoviews -> datashader -> bokeh[version='>=0.12.14,<=0.12.16|>=0.12.15,<1.1.0|>=1.0.0,<1.1.0|>=1.1.0,<2|>=1.1.0|>=1.1.0,<2.0.1|>=0.12.15,<=0.13.0|>=0.12.15,<=0.12.16']
xrviz -> datashader -> bokeh[version='>=0.12.14,<=0.12.16|>=0.12.15|>=0.12.15,<1.1.0|>=1.0.0,<1.1.0|>=1.1.0,<2|>=1.1.0|>=1.1.0,<2.0.1|>=0.12.15,<=0.13.0|>=0.12.15,<=0.12.16|>=1.0|>=2.0|>=1.4.0,<2.0|>=1.4.0|>=1.3.0']
datashader -> bokeh
hvplot -> holoviews[version='>=1.11.2'] -> bokeh[version='>=0.12.15,<1.1.0|>=1.0.0,<1.1.0|>=1.1.0,<2|>=1.1.0|>=1.1.0,<2.0.1|>=0.12.15,<=0.13.0|>=0.12.15,<=0.12.16']
hvplot -> bokeh[version='>=0.12.15|>=1.0']
geoviews -> bokeh[version='>=0.12.10|>=0.12.15|>=1.0.0|>=1.4.0,<2.0.0|>=2.0.0']
xarray -> dask[version='>=0.9'] -> bokeh[version='>=0.13.0|>=1.0.0|>=1.0.0,!=2.0.0']

Package certifi conflicts for:
pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
netcdf4 -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
xarray -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']

Package vs2008_runtime conflicts for:
hvplot -> python -> vs2008_runtime
datashader -> python[version='>=2.7'] -> vs2008_runtime
panel -> python -> vs2008_runtime
geoviews -> python[version='>=2.7'] -> vs2008_runtime
netcdf4 -> python[version='>=2.7,<2.8.0a0'] -> vs2008_runtime
pip -> python -> vs2008_runtime
xarray -> python[version='>=2.7,<2.8.0a0'] -> vs2008_runtime

Package param conflicts for:
xrviz -> datashader -> param[version='>=1.5.0,<2.0|>=1.6.1|>=1.9.3,<2.0|>=1.9.0,<2.0|>=1.8.0,<2.0|>=1.6.1,<2.0|>=1.6.0,<2.0|>=1.9.3|>=1.9.2|>=1.9.1|>=1.9.0']
datashader -> colorcet[version='>=0.9.0'] -> param[version='>=1.7.0']
hvplot -> colorcet -> param[version='>=1.6.1,<2.0|>=1.7.0|>=1.9.3,<2.0|>=1.9.0,<2.0|>=1.8.0,<2.0']
panel -> param[version='>=1.8.1|>=1.8.2|>=1.9.0|>=1.9.1|>=1.9.2|>=1.9.3']
panel -> pyviz_comms[version='>=0.7.4'] -> param
datashader -> param[version='>=1.5.0,<2.0|>=1.6.1']
geoviews -> datashader -> param[version='>=1.5.0,<2.0|>=1.6.1|>=1.9.3|>=1.9.0,<2.0|>=1.9.2|>=1.8.0,<2.0|>=1.6.0,<2.0']
geoviews -> param[version='>=1.5.1|>=1.6.1,<2.0|>=1.9.3,<2.0']

Package hvplot conflicts for:
hvplot
xrviz -> hvplot

Package datashader conflicts for:
geoviews -> datashader
xrviz -> datashader
datashader

Package distributed conflicts for:
datashader -> dask[version='>=0.18.0'] -> distributed[version='>=1.11.0|>=1.15.0|>=1.16.0|>=1.19.0|>=1.20.0|>=1.21.0|>=1.22.0|>=1.23.0|>=1.23.1|>=1.23.2|>=1.23.3|>=1.24.2|>=1.25.0|>=1.25.2|>=1.25.3|>=1.26.0|>=1.26.1|>=1.27.0|>=1.28.0|>=2|>=2.10.0|>=2.11.0|>=2.12.0|>=2.13.0|>=2.14.0|>=2.9.2|>=2.9.1|>=2.9.0|>=2.8.1|>=2.8.0|>=2.7.0|>=2.6.0|>=2.5.2|>=2.5.0|>=2.4.0|>=2.3.0|>=2.2.0|>=1.21.1']
xarray -> dask[version='>=0.9'] -> distributed[version='>=1.11.0|>=1.15.0|>=1.16.0|>=1.19.0|>=1.20.0|>=1.21.0|>=1.22.0|>=1.23.0|>=1.23.1|>=1.23.2|>=1.23.3|>=1.24.2|>=1.25.0|>=1.25.2|>=1.25.3|>=1.26.0|>=1.26.1|>=1.27.0|>=1.28.0|>=2|>=2.10.0|>=2.11.0|>=2.12.0|>=2.13.0|>=2.14.0|>=2.9.2|>=2.9.1|>=2.9.0|>=2.8.1|>=2.8.0|>=2.7.0|>=2.6.0|>=2.5.2|>=2.5.0|>=2.4.0|>=2.3.0|>=2.2.0|>=1.21.1']

Package netcdf4 conflicts for:
netcdf4
xarray -> netcdf4
datashader -> xarray[version='>=0.9.6'] -> netcdf4
xrviz -> netcdf4
geoviews -> netcdf4[version='<1.4.0']

Package pytz conflicts for:
datashader -> pandas[version='>=0.20.3'] -> pytz[version='>=2017.2']
geoviews -> pandas -> pytz[version='>=2017.2']
hvplot -> pandas -> pytz[version='>=2017.2']
xarray -> pandas[version='>=0.25'] -> pytz[version='>=2017.2']

Package libtiff conflicts for:
datashader -> pillow[version='>=3.1.1'] -> libtiff[version='4.*|4.0.*|>=4.0.10,<5.0a0|>=4.1.0,<5.0a0|>=4.0.9,<5.0a0|>=4.0.8,<4.0.10|>=4.0.3,<4.0.8|4.0.6']
geoviews -> libgdal -> libtiff[version='>=4.0.10,<5.0a0|>=4.1.0,<5.0a0']

Package hdf5 conflicts for:
netcdf4 -> hdf5[version='*|>=1.10.5,<1.10.6.0a0|>=1.10.4,<1.10.5.0a0|>=1.10.3,<1.10.4.0a0|1.10.2.*|>=1.10.2,<1.10.3.0a0|1.10.1.*|1.10.1|1.8.18|1.8.18.*|1.8.17|1.8.17.*|1.8.15.*',build=nompi_*]
xrviz -> netcdf4 -> hdf5[version='*|>=1.10.5,<1.10.6.0a0|>=1.10.4,<1.10.5.0a0|>=1.10.3,<1.10.4.0a0|1.10.2.*|>=1.10.2,<1.10.3.0a0|1.10.1.*|1.10.1|1.8.18|1.8.18.*|1.8.17|1.8.17.*|1.8.15.*',build=nompi_*]
xarray -> netcdf4 -> hdf5[version='*|>=1.10.5,<1.10.6.0a0|>=1.10.4,<1.10.5.0a0|>=1.10.3,<1.10.4.0a0|1.10.2.*|>=1.10.2,<1.10.3.0a0|1.10.1.*|1.10.1|1.8.18|1.8.18.*|1.8.17|1.8.17.*|1.8.15.*',build=nompi_*]
netcdf4 -> libnetcdf=4.4 -> hdf5=1.8.17
geoviews -> netcdf4 -> hdf5[version='*|>=1.10.5,<1.10.6.0a0|>=1.10.4,<1.10.5.0a0|>=1.10.3,<1.10.4.0a0|1.10.2.*|>=1.10.2,<1.10.3.0a0|1.10.1.*|1.10.1|1.8.18|1.8.18.*|1.8.17|1.8.17.*|1.8.15.*',build=nompi_*]

Package zlib conflicts for:
datashader -> pillow[version='>=3.1.1'] -> zlib[version='1.2.*|1.2.11|1.2.11.*|>=1.2.11,<1.3.0a0|1.2.8']
geoviews -> matplotlib-base[version='>2.2'] -> zlib[version='>=1.2.11,<1.3.0a0']
netcdf4 -> hdf5=[build=nompi_*] -> zlib[version='1.2.*|1.2.11|>=1.2.11,<1.3.0a0|1.2.8']

Package wheel conflicts for:
pip -> wheel
python=3.7 -> pip -> wheel

Package pyct-core conflicts for:
geoviews -> pyct -> pyct-core[version='0.4.5.*|0.4.6.*']
datashader -> pyct[version='>=0.4.5'] -> pyct-core[version='0.4.5.*|0.4.6.*']
panel -> pyct[version='>=0.4.4'] -> pyct-core[version='0.4.5.*|0.4.6.*']

Package libcblas conflicts for:
xarray -> numpy[version='>=1.17'] -> libcblas[version='>=3.8.0,<4.0a0']
geoviews -> numpy[version='>=1.0'] -> libcblas[version='>=3.8.0,<4.0a0']
netcdf4 -> numpy[version='>=1.14.6,<2.0a0'] -> libcblas[version='>=3.8.0,<4.0a0']
datashader -> numpy[version='>=1.7'] -> libcblas[version='>=3.8.0,<4.0a0']

Package hdf4 conflicts for:
netcdf4 -> libnetcdf=[build=nompi_*] -> hdf4[version='>=4.2.13,<4.3.0a0']
geoviews -> libgdal -> hdf4[version='>=4.2.13,<4.3.0a0']

Package ipython conflicts for:
xrviz -> holoviews -> ipython[version='>=5.4.0|>=5.4.0,<=7.1.1']
hvplot -> holoviews[version='>=1.11.2'] -> ipython[version='>=5.4.0|>=5.4.0,<=7.1.1']
geoviews -> holoviews[version='>=1.13.0'] -> ipython[version='>=5.4.0|>=5.4.0,<=7.1.1']

Package enum34 conflicts for:
datashader -> numba[version='>=0.37.0'] -> enum34
xrviz -> metpy -> enum34

Package holoviews conflicts for:
xrviz -> hvplot -> holoviews[version='>=1.10.5|>=1.11.2']
xrviz -> holoviews==1.12.1

Package cartopy conflicts for:
xrviz -> metpy -> cartopy[version='>=0.15.0']
xrviz -> cartopyThe following specifications were found to be incompatible with your CUDA driver:

  - feature:/win-64::__cuda==10.1=0
  - feature:|@/win-64::__cuda==10.1=0

Your installed CUDA driver is: 10.1

Note that strict channel priority may have removed packages required for satisfiability.

But I'll try on linux

ocefpaf commented 4 years ago

I'll get a Windows machine later today to debug that. We probably need to rebuild something there :-/

hdsingh commented 4 years ago

@ocefpaf I have been able to install metpy 1.0.0rc1 on python 3.7 according to above specifications, However there are errors due to pint. Any ideas on how to resolve these?

Code: ```python import xarray as xr import metpy url = 'http://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/LOOFS/MODELS/202003/glofs.loofs.fields.forecast.20200320.t06z.nc' ds = xr.open_dataset(url) ds = ds.set_coords(['lon', 'lat']) parsed_temp = ds.metpy.parse_cf('temp') ```
Error Details ```python UndefinedUnitError Traceback (most recent call last) in 5 ds = xr.open_dataset(url) 6 # ds = ds.set_coords(['lon', 'lat']) ----> 7 parsed_temp = ds.metpy.parse_cf('temp') ~/anaconda3/envs/c2/lib/python3.7/site-packages/metpy/xarray.py in parse_cf(self, varname, coordinates) 659 if crs is not None: 660 var = var.assign_coords(coords={'crs': crs}) --> 661 return var.metpy.quantify() 662 663 def _rebuild_coords(self, var, crs): ~/anaconda3/envs/c2/lib/python3.7/site-packages/metpy/xarray.py in quantify(self) 166 ): 167 # Only quantify if not already quantified and is quantifiable --> 168 quantified_dataarray = self._data_array.copy(data=self.unit_array) 169 if 'units' in quantified_dataarray.attrs: 170 del quantified_dataarray.attrs['units'] ~/anaconda3/envs/c2/lib/python3.7/site-packages/metpy/xarray.py in unit_array(self) 145 return self._data_array.data 146 else: --> 147 return units.Quantity(self._data_array.values, self.units) 148 149 def convert_units(self, units): ~/anaconda3/envs/c2/lib/python3.7/site-packages/metpy/xarray.py in units(self) 129 return self._data_array.data.units 130 else: --> 131 return units.parse_units(self._data_array.attrs.get('units', 'dimensionless')) 132 133 @property ~/anaconda3/envs/c2/lib/python3.7/site-packages/pint/registry.py in parse_units(self, input_string, as_delta) 1063 for p in self.preprocessors: 1064 input_string = p(input_string) -> 1065 units = self._parse_units(input_string, as_delta) 1066 return self.Unit(units) 1067 ~/anaconda3/envs/c2/lib/python3.7/site-packages/pint/registry.py in _parse_units(self, input_string, as_delta) 1262 as_delta = self.default_as_delta 1263 -> 1264 return super()._parse_units(input_string, as_delta) 1265 1266 def _define(self, definition): ~/anaconda3/envs/c2/lib/python3.7/site-packages/pint/registry.py in _parse_units(self, input_string, as_delta) 1091 many = len(units) > 1 1092 for name in units: -> 1093 cname = self.get_name(name) 1094 value = units[name] 1095 if not cname: ~/anaconda3/envs/c2/lib/python3.7/site-packages/pint/registry.py in get_name(self, name_or_alias, case_sensitive) 624 candidates = self.parse_unit_name(name_or_alias, case_sensitive) 625 if not candidates: --> 626 raise UndefinedUnitError(name_or_alias) 627 elif len(candidates) == 1: 628 prefix, unit_name, _ = candidates[0] UndefinedUnitError: 'Celsius' is not defined in the unit registry ```
ocefpaf commented 4 years ago

I'm not a pint user. I only use cf-units b/c it is compatible with udunits2 standards. Maybe @dopplershift can help you there.

hdsingh commented 4 years ago

The following installation works:

conda create -n test-env python=3.7
conda install -c conda-forge/label/metpy_rc metpy
dopplershift commented 4 years ago

It looks like for some reason pint will only parse "celsius" and not "Celsius" (I just opened hgrecco/pint#1081).