Re: Segmentation fault when I open some HDF-EOS5 files

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri Oct 01 2010 - 10:18:41 MDT

The attached ran fine on my MAC. It is based on one
of the examples at:

http://www.ncl.ucar.edu/Applications/HDF.shtml

As noted by Wei ... ignore the warning message.

On 10/1/10 8:51 AM, Wei Huang wrote:
> Ziying,
>
> I downloaded this file, and it seems there is no problem to dump out the
> variable
> information. It complains about no projection attribute, but it could be
> data on a
> a regular lat/lon grid, so the projection is not needed.
> Please ignore the error message for now, and to see if you can
> plot/analyze the data.
>
> Regards,
>
> Wei
> huangwei@ucar.edu <mailto:huangwei@ucar.edu>
> VETS/CISL
> National Center for Atmospheric Research
> P.O. Box 3000 (1850 Table Mesa Dr.)
> Boulder, CO 80307-3000 USA
> (303) 497-8924
>
>
>
>
>
> On Sep 30, 2010, at 12:45 PM, ziying li wrote:
>
>> Wei,
>>
>> It's nice experience to talk with you yesterday. You could click here
>> <ftp://ftp.hdfgroup.uiuc.edu/pub/outgoing/eseo2/aura_samples/grid/TES-Aura_L3-O3-M2008m03_F01_04.he5>
>> to get the hdf file (TES Grid) that I mentioned during the
>> conversation. I also attached the pic I showed you in this mail.
>>
>> So far, I have been successfully got the plot for following HDF5 products:
>>
>> HIRDLS swath, MLS swath, OMI grid and TES swath.
>>
>> Thanks for your work! Let me know if you find difficulty to download
>> the file.
>>
>> Best,
>> Ziying
>>
>> On Mon, Sep 27, 2010 at 10:13 PM, Wei Huang <huangwei@ucar.edu
>> <mailto:huangwei@ucar.edu>> wrote:
>>
>> Ziying,
>>
>> I can reproduce your problem.
>> I will check and get back to you.
>>
>> Thanks,
>>
>> Wei Huang
>> huangwei@ucar.edu <mailto:huangwei@ucar.edu>
>> VETS/CISL
>> National Center for Atmospheric Research
>> P.O. Box 3000 (1850 Table Mesa Dr.)
>> Boulder, CO 80307-3000 USA
>> (303) 497-8924
>>
>>
>>
>>
>>
>> On Sep 27, 2010, at 2:04 PM, ziying-li@hdfgroup.org
>> <mailto:ziying-li@hdfgroup.org> wrote:
>>
>> Hi,
>>
>> I already set up version 5.2.1 in my computer and successfully
>> generate
>> some plots for HDF-EOS5 files with this new version.
>>
>> But when try to open OMI swath files, I met this problem:
>> "Segmentation
>> fault"
>> (under ncl enviorment, I type in
>> "eos_file=addfile("filename.he5","r")")
>>
>> So far, I tried 3 OMI swath files and all of them failed to
>> open. However,
>> I can open these files with other software. I attached error
>> message which
>> are along with "segmentation fault" in this mail.
>>
>> You can got one file through:
>> 'ftp.hdfgroup.uiuc.edu/pub/outgoing/eseo2/aura_samples/swath/OMI-Aura_L2-OMNO2_2008m0720t2016-o21357_v003-2008m0721t101450.he5
>> <http://ftp.hdfgroup.uiuc.edu/pub/outgoing/eseo2/aura_samples/swath/OMI-Aura_L2-OMNO2_2008m0720t2016-o21357_v003-2008m0721t101450.he5>'
>>
>> -----------------
>> code:
>> load "$NCARG_ROOT/lib/ncarg/nclex/gsun/gsn_code.ncl"
>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
>>
>> eos_file=addfile("OMI-Aura_L2-OMNO2_2008m0720t2016-o21357_v003-2008m0721t101450.he5",
>> "r") ; Read file.
>>
>> ------------------
>>
>> Please let me know if any unclear description I made.
>>
>> Thanks
>>
>> Ziying
>>
>>
>> <error message when open OMI
>> swath.JPG>_______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>>
>> <error message for TES Grid.JPG>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Fri Oct 1 10:18:46 2010

This archive was generated by hypermail 2.1.8 : Mon Oct 04 2010 - 08:55:54 MDT