473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes and contribute your articles to a community of 473,404 developers and data experts.

How to install NetCDF library in python 2.7

This article provides you the essential instruction in order to install netcdf.

NetCDF is a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data. You can also find more about NetCDF from http://www.unidata.ucar.edu/software/netcdf/. But I just here only discuss how to install different versions of netcdf. For installing NetCDF in python following steps take in to consideration.

1. Download the Netcdf from
http://www.unidata.ucar.edu/software/netcdf/

2. The Netcdf versions above 4 needs HDF to install as prerequisite.

3. If you want to install Version 4 (or above) you must have the HDF5 1.8.6 release, You must also have the zlib compression library, version 1.2.5. Both of these packages are available from the netCDF-4 ftp site at ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.

4. You can also install Netcdf without HDF support by following bash commands.

./configure --prefix=/home/ed/local --disable-netcdf-4
make check install

5. If you want to install Netcdf3.6.2, you just need to download it and then unzip the folder.

netcdf-3.6.2.tar.gz - Binary distribution of netcdf-3.6.2 on linux_2.6-x86_64.

$ tar xvf netcdf-3.6.2.tar.gz
$ cd netcdf-3.6.2
netcdf-3.6.2$./configure
netcdf-3.6.2$ make check
netcdf-3.6.2$ make install
$ sudo apt-get install python-netcdf

Unidata doesn't distribute a Python API with it's netCDF software. So installing the netCDF library
will not also install a Python netCDF library. You will have to obtain and install the Python library
separately, after installing the netCDF library.

Hope this would help.
Jul 14 '11 #1
0 8807

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: CB Hamlyn | last post by:
Hello, I'm currently working on a Modification for the PC game Battlefield 1942. I'm a pretty good VBA Programmer with some Foxpro under belt as well. After reading a ton of stuff on-line I'm...
1
by: Thiago | last post by:
Hi guy, I'm trying install the MySQLdb and i'm receiving the message when i execute the command python setup.py install: error: Python was built with version 6 of Visual Studio, and extensions...
7
by: Rico | last post by:
I'm hoping this isn't another one of Microsofts ever depleating free help things, but I had to re-install Visual Studio 2003 Enterprise on a clean installation of Windows XP Pro. When I hit the F1...
2
by: stef | last post by:
hello, I'm still in the transition of going from MatLab to Scipy, and installed previous week a SciPy on a PC twice, through the new "Enstaller". It's a pitty that there will be no old...
2
by: mullaiselvan | last post by:
i tried some wedsites for twill in python environmet but i get a package and can't install in the wondows OS
3
by: commander_coder | last post by:
Hello, I have some materials for a project that I am working on that I keep in a source code control system (svn now, but I'm experimenting with mercurial). I want to install these things from...
2
by: =?Utf-8?B?TWlrZSBEb3Zlcg==?= | last post by:
Hi, How does one install the June 2005 Enterprise library (for .NET 1.1) on a production windows 2003 Internet server? My web project works in my dev environment as all installs properly there...
1
by: =?Utf-8?B?TWlrZSBEb3Zlcg==?= | last post by:
Hi, I hope this is the appropriate group to ask the following question. How does one install the June 2005 Enterprise library (for .NET 1.1) on a production windows 2003 Internet server? My...
3
by: hakeem777 | last post by:
How do I install GD library to my PHP ver 5.2.10? Thanks.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.