netcdf4

Christopher Barker Chris.Barker at noaa.gov
Fri May 22 15:02:55 PDT 2009


Bryan Blackburn wrote:
> On Thu, May 21, 2009 at 05:39:08PM -0700, Christopher Barker said:

>> so it looks like netcdf4 support has been commented out. Anyone know why?
> 
> Probably related to ticket #16262:
> 
> <http://trac.macports.org/ticket/16262>

arrgg! I just spent a couple hours learning about how to write port 
files and hacked the netcdf portfile, then found that 7 hours ago 
someone had already fixed it!

Oh well, at least I learned something. However:

>> I'd also love to get '--enable-dap if possible
>>
>> It also looks like the recent release is 4.0.1, it would be nice to get  
>> that updated.

The current port file does support netcdf4, which was the big one, but 
it's still using version 4.0, rather than 4.0.1, and it isn't using 
--enable-dap

How might those changed get in? I've tested them, and they work for me. 
As there is no maintainer, and the ticket has been closed, I'm not sure 
how to proceed.

--enable-dap required libcurl, which got pulled in from:

/usr/lib/libcurl.3.dylib

Should it use a macport libcurl instead? If so, how do I get it to do that?

By the way, I used python's hashlib module to generate the sha1 hash -- 
is there a simple mac-ports way to do that?

I've enclosed my version of the portfile (re-named to netcdf-4 to not 
stomp on netcdf) in case anyone wants a look.

-Chris





-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Portfile
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090522/fe006191/attachment.ksh>


More information about the macports-users mailing list