Re: [netcdfgroup] Using NetCDF with OPeNDAP on MacOS Sierra (homebrew- and netCDF-dependant software)

  • To: "Capehart, William J" <William.Capehart@xxxxxxxxx>
  • Subject: Re: [netcdfgroup] Using NetCDF with OPeNDAP on MacOS Sierra (homebrew- and netCDF-dependant software)
  • From: Roy Mendelssohn - NOAA Federal <roy.mendelssohn@xxxxxxxx>
  • Date: Tue, 2 May 2017 16:24:24 -0700
You got me.  I just tested it again, double-checking that I was using the Fink 
version,  and it worked fine.  Could something be blocking the remote I/O?  
Have you looked in your logs to see if the request shows up and what happened?

-Roy

> On May 2, 2017, at 4:16 PM, Capehart, William J <William.Capehart@xxxxxxxxx> 
> wrote:
> 
> Hi Roy. I did go back and make sure via “which” and also using the direct 
> path that I was hitting the right (and at each point ONLY ncdump on my rig).  
> I suspect that there is a deeper issue that we’re missing here.  
> 
> Also attaching my env though nothing is coming up and slapping me about the 
> face here.
> 
> [wjc@mandrenke:/usr/lib]% env
> TERM_PROGRAM=Apple_Terminal
> SHELL=/bin/bash
> TERM=xterm-color
> TMPDIR=/var/folders/cz/qb0gt1896cd09lvlcnnz67cw00017d/T/
> Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.bjGkPvFXji/Render
> TERM_PROGRAM_VERSION=388.1
> TERM_SESSION_ID=7E02FBA5-D649-48C2-9B08-5692B3210862
> USER=wjc
> WRFIO_NCD_LARGE_FILE_SUPPORT=1
> WRF_NMM_CORE=0
> SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.gH7fMayPzE/Listeners
> __CF_USER_TEXT_ENCODING=0x4ED:0x0:0x0
> PATH=/sw/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin
> PWD=/usr/lib
> LANG=en_US.UTF-8
> XPC_FLAGS=0x0
> PS1=[\u@\h:\w]% 
> WRFHYDRO=0
> XPC_SERVICE_NAME=0
> SHLVL=1
> HOME=/Users/wjc
> LOGNAME=wjc
> WRF_EM_CORE=1
> DISPLAY=/private/tmp/com.apple.launchd.yHRZKOA2iu/org.macosforge.xquartz:0
> SECURITYSESSIONID=186a7
> _=/usr/bin/env
> OLDPWD=/Users/wjc
> 
> ------------------------------------------------
> 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 5/2/17, 17:14 MDT, "Roy Mendelssohn - NOAA Federal" 
> <roy.mendelssohn@xxxxxxxx> wrote:
> 
>    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.
> 
> 
> 

**********************
"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.



  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: