Closed scollis closed 6 years ago
name: pchange
channels:
- conda-forge
- ncar
dependencies:
- python=3.6
- numpy
- matplotlib
- cartopy
- jupyter
- netcdf4
- metpy
- siphon
- pynio=dev
- xarray
- scipy
Hi @scollis,
There is currently an issue with certain dependencies on conda-forge causing these "library not loaded" errors, particularly when libgdal
gets involved. The workaround we've found is to explicitly install poppler=0.52
and xerces-c=3.1
alongside PyNIO:
conda install -c conda-forge poppler=0.52 xerces-c=3.1
or
conda create -c ncar -c conda-forge pynio=dev poppler=0.52 xerces-c=3.1
Ideally this won't be necessary in the future, but it should hopefully work for now.
Please let us know if you're still experiencing issues getting PyNIO to work after trying this.
Thanks! Adding
Has Nio importing now.
-- Dr Scott Collis Atmospheric Scientist and DoE-ARM Translator Environmental Science Division Argonne National Laboratory 9700 S Cass Ave, Argonne IL 60439 Cell: +1 630-235-8025
If I have seen further it is by standing on ye sholders of Giants.
On Dec 4, 2017 at 6:23 PM, Kevin Hallock notifications@github.com wrote:
Hi @scollis https://github.com/scollis,
There is currently an issue with certain dependencies on conda-forge causing these "library not loaded" errors, particularly when libgdal gets involved. The workaround we've found is to explicitly install poppler=0.52 and xerces-c=3.1 alongside PyNIO: conda install -c conda-forge poppler=0.52 xerces-c=3.1 or conda create -c ncar -c conda-forge pynio=dev poppler=0.52 xerces-c=3.1
Ideally this won't be necessary in the future, but it should hopefully work for now.
Please let us know if you're still experiencing issues getting PyNIO to work after trying this.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NCAR/pynio/issues/16#issuecomment-349153104, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyYB1gQr1vyjQgtC0GsKXLfcG4UMY6Xks5s9I0SgaJpZM4Q1WGX .
I was able to open HRRR data in grib using Nio as an engine to X-Array (which is what I wanted to do)..
Here is my environment.yml file
name: pchange
channels:
- conda-forge
- ncar
dependencies:
- python=3.6
- poppler=0.52
- xerces-c=3.1
- numpy
- matplotlib
- cartopy
- jupyter
- netcdf4
- metpy
- siphon
- pynio=dev
- xarray
- scipy
Using conda package (env file coming soon). I get
I have Poppler 0.61 installed.. There is no conda package on conda-forge for poppler-0.66