Are you absolutley certain you are getting the ncdump you think you are? Or it
may lie linking to different dynamic libraries. For the fink version, try
giving the full path.
As I showed you, the Fink version is working for me.
-Roy
> On May 2, 2017, at 4:09 PM, Capehart, William J <William.Capehart@xxxxxxxxx>
> wrote:
>
> I just tried both Macports and Fink as well as homebrew to build netcdf.
>
> I got a similar flavor or error for macports (the segmentation fault).
>
> With Fink I didn’t get much further.
>
> netcdf library version 4.4.1 of Nov 1 2016 10:28:31 $
> [wjc@mandrenke:~]% ncdump -h http://test.opendap.org/opendap/data/nc/3fnoc.nc
> ncdump: http://test.opendap.org/opendap/data/nc/3fnoc.nc: NetCDF: I/O failure
>
> At this point I am wondering if there is something off with my
> configurations. Archived my bashrc and bash_profile files created new ones
> from a “new” account and my problems still exist.
>
> Is there any other route that anyone knows by which I can troubleshoot this?
>
> Bill
>
>
> ------------------------------------------------
> Bill Capehart <William.Capehart@xxxxxxxxx>
> Atmospheric and Environmental Sciences Program Coordinator
> Civil and Environmental Engineering
> 201 Mineral Industries Building
> South Dakota School of Mines and Technology
> 501 East St Joseph Street
> Rapid City, SD 57701-3995
> Ph: +1-605-394-1994 Mobile: +1-605-484-4692
>
> On 4/30/17, 13:07 MDT, "Roy Mendelssohn - NOAA Federal"
> <roy.mendelssohn@xxxxxxxx> wrote:
>
> Using the build of netcdf, running 10.12.4
>
> ncdump -h "http://test.opendap.org/opendap/data/nc/3fnoc.nc"
> netcdf \3fnoc {
> dimensions:
> time_a = UNLIMITED ; // (12 currently)
> lat = 53 ;
> lon = 83 ;
> time = 12 ;
> variables:
> short u(time_a, lat, lon) ;
> u:units = "meter per second" ;
> u:long_name = "Vector wind eastward component" ;
> u:missing_value = "-32767" ;
> u:scale_factor = "0.005" ;
> short v(time_a, lat, lon) ;
> v:units = "meter per second" ;
> v:long_name = "Vector wind northward component" ;
> v:missing_value = "-32767" ;
> v:scale_factor = "0.005" ;
> float lat(lat) ;
> lat:units = "degree North" ;
> float lon(lon) ;
> lon:units = "degree East" ;
> float time(time) ;
> time:units = "hours from base_time" ;
>
> // global attributes:
> :base_time = "88-245-00:00:00" ;
> :title = " FNOC UV wind components from 1988-245 to 1988-247." ;
> :DODS_EXTRA.Unlimited_Dimension = "time_a" ;
> }
>
> -Roy
>
>
>> On Apr 30, 2017, at 9:42 AM, Capehart, William J
>> <William.Capehart@xxxxxxxxx> wrote:
>>
>> Hi All
>>
>> I have been having a particularly time working with NetCDF with OPeNDAP on
>> my Macs (right now both are on MacOS 10.12.4). I’ve mostly been using
>> homebrew but this also happens with NCL 6.3 and 6.4 as downloaded from Earth
>> System Grid.
>>
>> When testing code using just the NetCDF fortran libraries as well as just
>> using ncdump I get segmentation faults when I try to access
>> http://test.opendap.org/opendap/data/nc/3fnoc.nc
>>
>> Is anyone else having any luck with their MacOS Sierra NetCDF builds and the
>> software that leverages NetCDF?
>>
>>
>> ------------------------------------------------
>> Bill Capehart <William.Capehart@xxxxxxxxx>
>> Atmospheric and Environmental Sciences Program Coordinator
>> Civil and Environmental Engineering
>> 201 Mineral Industries Building
>> South Dakota School of Mines and Technology
>> 501 East St Joseph Street
>> Rapid City, SD 57701-3995
>> Ph: +1-605-394-1994 Mobile: +1-605-484-4692
>>
>> _______________________________________________
>> NOTE: All exchanges posted to Unidata maintained email lists are
>> recorded in the Unidata inquiry tracking system and made publicly
>> available through the web. Users who post to any of the lists we
>> maintain are reminded to remove any personal information that they
>> do not want to be made public.
>>
>>
>> netcdfgroup mailing list
>> netcdfgroup@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe, visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>
> **********************
> "The contents of this message do not reflect any position of the U.S.
> Government or NOAA."
> **********************
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> Environmental Research Division
> Southwest Fisheries Science Center
> ***Note new street address***
> 110 McAllister Way
> Santa Cruz, CA 95060
> Phone: (831)-420-3666
> Fax: (831) 420-3980
> e-mail: Roy.Mendelssohn@xxxxxxxx www: http://www.pfeg.noaa.gov/
>
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected"
> "the arc of the moral universe is long, but it bends toward justice" -MLK
> Jr.
>
>
>
**********************
"The contents of this message do not reflect any position of the U.S.
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn@xxxxxxxx www: http://www.pfeg.noaa.gov/
"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.