Comments (3)
In a nutshell, you need to install the netcdf4-python library to read and write netcdf in python.
Sorry, the python helper scripts aren't well documented. They are provided more because they might help, but they are not all maintained and tested. I figure providing them in some form is more helpful than not providing them at all.
That said, this particular error means that the netcdf4-python library is not installed. The mygis module tries to load netcdf4-python, if that fails, it tries to load pynio. However, the pynio library is not as well supported as the netcdf4 library (by me, not the pynio developers). In this case, it looks like I wrote a function call to a function like the one I have implemented for the more common netcdf4 package, but I haven't actually implemented the function... I don't use pynio anymore so I don't have an easy way to test this and add the functionality (and it's not high on the priority list.)
from icar.
I had installed netcdf4 for my standard python library, but didn't have it installed in the python environment setup for icar (since the helper scripts are written for python2.X and I had python 3.X). Now that netcdf4 is installed in my icar python environment, the helper script worked after ensuring all indices were integers (not floats).
from icar.
from icar.
Related Issues (20)
- lsm=0 and LSM vars defined causes crash HOT 1
- upper level wind anomaly HOT 2
- More generalized `gen_ideal_test.py` HOT 5
- Github Actions doesn't fail on STOP HOT 1
- fixed_dz_advection: include in code | remove from namelist HOT 1
- More sophisticated PBL scheme (PBL height)
- iterative wind solver and wind rotation parallel bug HOT 1
- use wrfout files to run HICAR HOT 2
- Cray ftn version 17 bug HOT 2
- code error in helpers/genNetCDF/Topography.py HOT 3
- Xarray Dataset.dims Future Warning HOT 2
- questions about coordinate and dz HOT 1
- about wrfout 爱你的 HOT 1
- about wrfout and icar HOT 1
- about using ERA5 data to run icar HOT 4
- intermittent interpolation bug HOT 1
- running icar issue HOT 3
- Compilation error for domain_obj.f90 HOT 5
- Improve time handling
- Update CI now that Travis has moved on
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icar.