Re: [netcdfgroup] Segmentation fault on NcFile open

Hi Taylor:
On Jan 8, 2013, at 9:46 AM, Taylor Binnington <tbinnington@xxxxxxxxx> wrote:

> Roy, I was confused by your comment:
> >"If you had gotten it from opendap, then it wouldn't be an hdf file.  
> >Moreover, there is the option to access the OpeNDAP server directly from the 
> >NetCDF library,  which is what people have been trying to tell you."
> 
> Yet looking at an OPeNDAP directory 
> (http://goldsmr2.sci.gsfc.nasa.gov/opendap/MERRA/MAT1NXSLV.5.2.0/1979/01/contents.html),
>  each file appears to be an HDF file. 


My best suggestion is you read up on OPeNDAP, and how ti works as a service.  
OPeNDAP can have as the basis of its service any number file formats.  What it 
does when it sends the request over the internet is transform each of these 
internal representations into a common external representation, which is an 
OpeNDAP binary.

The latest versions of the netcdf library take it one step further, by making 
the remote files appear as netcdf files, and to be accessible by netcdf api 
commands.  But even in this case, while the netcdf library hides the details, 
what gets transported is an OpeNDAP binary.

I would repeat my suggestion that you more closely read posting guides, in 
particular what r-help sends you to, in particulat 
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html and 
http://www.catb.org/~esr/faqs/smart-questions.html.  If you gave a small, 
complete program that can reproduce the problem that you are finding, than 
people have something specific that they can comment on.  The error you are 
reporting could be from so many issues, because it is unclear what steps you 
have taken.

Regards,

-Roy


**********************
"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
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
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.



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