Comments (13)
Good question. I've provided Pyspharm on binstar so that I can use conda in the Travis CI tests without having to build it every time. I have made conda packages for windspharm before but I didn't post them. I anticipate this is something that will get done in the near future. What platform are you looking for? I only have access 64-bit Linux and ancient OS X 10.6 at the moment.
from windspharm.
Primarily I'm after 64-bit Linux (for my desktop and also the departmental server), but it would also be useful to have OS X 10.9 available for my laptop. On binstar there is a default for all pypi packages, which suggests (see here):
pip install -i https://pypi.binstar.org/pypi/simple windspharm
I'm assuming that using conda is a better solution than this?
from windspharm.
I don't know much about that method. I would like to provide releases as native conda packages anyway though. I use conda a lot now and I feel I should do my bit to help out others!
Building windspharm is actually pretty trivial since it is pure python, so if I create a conda recipe it should be easy for you or another person to build an OS X 10.9 package which I host on my binstar (just to keep it all in one place).
from windspharm.
Do you want to test these binstar packages: https://binstar.org/ajdawson/windspharm? I've made builds of windspharm v1.3.1 for Python 2.7, 3.3 and 3.4 all for 64-bit Linux.
from windspharm.
That works on my Linux-64 machine - thanks!
from windspharm.
Great. I had a go at building packages for OS X but I couldn't get pyspharm to build successfully in the conda build environment. Creating a conda package for windspharm would be simple but without having its core dependency it would be practically useless!
from windspharm.
Shame about OS X. There is nothing available on binstar for cdat-lite, so I'm assuming that also doesn't build successfully - this might be a common problem for non-Linux operating systems...
from windspharm.
The frustrating thing is they both build fine in the normal python setup.py install
manner so you can simply install them into your anaconda environment. I don't know much about the OS X build system but it seems conda is stumbling on relocation of the binaries. There is probably a neat way round this but I don't know what it is. You can install the packages yourself without much fuss though, so don't let this hold you back.
from windspharm.
Hi @DamienIrving and @ajdawson,
I've built an OS X package for both pyspharm and windspharm, for Python 3.4 - it seems to work on both machines I have access to. Windspharm was easy; I just converted @ajdawson's existing package and it worked fine. There was a gltich in pyspharm in the linking stage of the build at the end of f2py's compilation; running from pip or source was just fine, but conda build passed the wrong architecture and flags to the linker. So I manually overrode them in the build script and it seems to work.
You can find them on my binstar channel. Was a painless process; I have a ton of backlogged work on my parcel model, but building a conda package for it and its dependencies (Sundials CVODE solver) is high on my priority list after seeing how easy this was.
from windspharm.
That is great @darothen! I'd like to get hold of your pyspharm recipe for OS X so I can try and support packages for this in the future (a future where I own a Mac...), is that is OK? I have a repository of conda recipes that you could make a PR to: https://github.com/ajdawson/conda-recipes, or you can just post it somewhere or even email me, whatever suits you best.
from windspharm.
Ah, if I had found your repository of recipes I would've just done that! I should have time later this evening to fork your repo, hack in my changes, and submit a PR.
Also, I'm very tempted to integrate a handler for xray DataArrays/Datasets into windspharm. I've abandoned iris in the short term because I wanted to move on to Python 3. Right now, I do have a working wrapper that allows me to pass xray objects to VectorWind but it could use polishing, test cases, documentation, etc.
from windspharm.
I've been working on xray interfaces myself actually. It is definitely on the todo list.
from windspharm.
@DamienIrving, @darothen - I've finally got hold of a working Mac and built some OS X conda packages for windspharm/pyspharm. I'm going to close this issue for now, but please comment here if you use them and find problems. I don't use OS X for work so any feedback on these is welcome.
from windspharm.
Related Issues (20)
- Conda Install Packages Not Found HOT 3
- Enhancement - including APIs for adding filters HOT 1
- Curious issue creating WindVector from 2D arrays HOT 2
- divergence is not right? HOT 4
- Calculating shear and stretch deform using windspharm HOT 4
- take divergence and vorticity as input HOT 1
- Issue attempting to import Windspharm in script HOT 2
- Importing JRA-55 files with windspharm
- Problem with computing vorticity of NWP model output
- ValueError: Cube 'U velocity' must contain a single 1D x coordinate. HOT 1
- Typo in windspharm.xarray docs
- windspharm future
- prep_data occur TypeError: unhashable type: 'list' HOT 1
- Possible issue with windspharm package's calculations of irrotational winds
- installation on Apple silicon HOT 2
- windspharm.iris.VectorWind fails with Numpy v1.24 HOT 1
- use windspharm on a Mercator grid? HOT 1
- numpy.float64 object cannot be interpreted as an index HOT 1
- Class instance fails if u and v are just lat,long arrays with no other (eg time) dimension HOT 3
- Memory conservation: legfunc kwarg HOT 2
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 windspharm.