[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #TPP-606554]: Getting the NetCDF files to compile Scientific Python for Python 2.6 an esri installation of python
- Subject: [netCDF #TPP-606554]: Getting the NetCDF files to compile Scientific Python for Python 2.6 an esri installation of python
- Date: Thu, 16 Sep 2010 10:58:20 -0600
Joseph,
> Thanks for the response but to build scientific python with netcdf I need
> netcdf.h which is not included in the zip file.
> I got a netcdf.h but I am not sure if it matches the netcdf.dll that I built.
> Hence it builds ok but will not run properly with the netcdf.
There is a netcdf.h included with each of the zip files available for download
from the link I referred to:
http://www.unidata.ucar.edu/netcdf/docs/faq.html#windows_netcdf4
The zip files were for two different styles of Fortran calling C conventions,
so if you're not using Fortran, it probably doesn't matter which you use:
ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/win32_vs_PGI_dll_4.0.1.zip
ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/win32_vs_f2c_dll_4.0.1.zip
If you use one of those, you also need the other 3 zip files mentioned for
zlib, hdf5, and szlib also available from the Unidata FTP site.
The 4.x dll is a drop-in replacement for the netcdf-3 dll, so there is no
need to build a netcdf-3 dll from the old netcdf-3 sources.
--Russ
> -----Original Message-----
> From: Unidata netCDF Support [mailto:address@hidden]
> Sent: Wednesday, 15 September 2010 1:21 AM
> To: Joseph Shanahan
> Cc: address@hidden; address@hidden
> Subject: [netCDF #TPP-606554]: Getting the NetCDF files to compile Scientific
> Python for Python 2.6 an esri installation of python
>
> Hi Joseph,
>
> > I appear to be having difficulty getting the correct NetCDF binaries
> > files to build Scientific Python on windows. It appears I also need the
> > corresponding header file.
> >
> > The documentation states that we need the header file
> > and a the netcdf.dll. I managed to download a zip file
> > "netcdf-3.6.1-beta1-win32dll.zip" but does not have all the files I need.
> >
> > I managed to compile it according the Scientific Python instructions and
> > build an installer but it can't load the dll. I think that the netcdf.h
> > and the netcdf.dll are incompatible. It also needs the netcdf.lib file
> > and a few more according the Scientific Python instructions. If you
> > could let me know where I could get all of these binaries for Windows
> > I would be most grateful.
> >
> > The problem has been bought about with the introduction of ArcGIS10 and we
> > need to move to a new version of python. The problem might also be that
> > esri does some non standard things with the python installation but if I
> > was sure that I had the correct files that would be a good starting point.
>
> The prebuilt DLLs we curently have are linked from here:
>
> http://www.unidata.ucar.edu/netcdf/docs/faq.html#windows_netcdf4
>
> We plan to revisit the Windows port in the next few months, but currently
> building with cygwin is the recommended alternative.
>
> --Russ
>
> Russ Rew UCAR Unidata Program
> address@hidden http://www.unidata.ucar.edu
>
>
>
> Ticket Details
> ===================
> Ticket ID: TPP-606554
> Department: Support netCDF
> Priority: Emergency
> Status: Closed
>
> -------------------------------Safe Stamp-----------------------------------
> Your Anti-virus Service scanned this email. It is safe from known viruses.
> For more information regarding this service, please contact your service
> provider.
>
> Level 1, 29 Bougainville St
> Manuka ACT 2603
>
> http://www.esriaustralia.com.au
> Freecall 1800 447 111
>
> Putting knowledge into place™
> This message is intended for the addressee named and may contain confidential
> information. If you are not the intended recipient please notify the sender
> by return email, do not use or disclose the contents and delete the message
> and any attachments from your system. The contents of this message does not
> necessarily represent the opinions of ESRI Australia. ESRI Australia does not
> accept any responsibility for loss or damage that may result from reliance
> on, or the use of, the information contained in this e-mail and any
> attachments.
> **Please consider the environment before printing this email**
>
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: TPP-606554
Department: Support netCDF
Priority: Emergency
Status: Closed