RE: [pyngl-talk] Problems opening CloudSat HDF-EOS files

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 3 Oct 2007 17:22:09 -0600 (MDT)

Dave Brown fixed a simple bug that enables PyNIO to read this file
with either extension. I believe it had to with with an attribute with
a "logical" type.

If you want a new version of PyNIO, send me a personal email with your
"uname -a" info.

Thanks,

--Mary

On Wed, 3 Oct 2007, Alliss, Randall J. wrote:

> Eric,
> Put it on the ftp server for Mary
>
> ftp://wx1.it-protect.com/pub
>
>
> 2007269075138_07514_CS_1B-CPR_GRANULE_P_R04_E02.hdf.hdf
>
>
> randy
>
> -----Original Message-----
> From: Mary Haley [mailto:haley_at_ucar.edu]
> Sent: Wednesday, October 03, 2007 3:47 PM
> To: Kemp, Eric M.
> Cc: pyngl-talk_at_ucar.edu; Alliss, Randall J.
> Subject: Re: Problems opening CloudSat HDF-EOS files
>
>
> Hi Eric,
>
> Is there a way we can get a copy of this file to take a look?
>
> --Mary
>
> On Wed, 3 Oct 2007, Kemp, Eric M. wrote:
>
>>
>> Dear pyngl-talk:
>>
>> I am having problems opening CloudSat HDF-EOS files with PyNGL. I
>> have downloaded four sample files (2B-CLDCLASS, 2B-GEOPROF,
>> 2B-GEOPROF-LIDAR, and 1B-CPR), but my simple python script seg faults
> when opening the file:
>>
>>
>> #!/usr/bin/env python
>> """
>> Simple script to open CloudSat 1B-CPR data.
>>
>> """
>>
>> import os,sys,math
>> import numpy
>> import Nio
>> import Ngl
>>
>> #
>> # Open CloudSat file
>> #
>> file =
>> Nio.open_file("2007269075138_07514_CS_1B-CPR_GRANULE_P_R04_E02.hdf.hdf
>> eos","r")
>>
>>
>>
>> When I use the .hdf suffix, the file opens but I cannot extract the
>> geolocation data.
>>
>> I am using Python 2.5.1, numpy 1.0.3, and Ngl/Nio 1.2.0 built with gcc
>
>> 3 for an i686 system.
>>
>> Any ideas?
>>
>> Thanks,
>>
>> -Eric
>>
>>
>> Eric M. Kemp
>> Meteorologist
>> Northrop Grumman Information Technology Intelligence Group (TASC)
>> 4801 Stonecroft Boulevard
>> Chantilly, VA 20151
>> (703) 633-8300 x7078 (lab)
>> (703) 633-8300 x8278 (office)
>> (703) 449-3400 (fax)
>> eric.kemp_at_ngc.com
>>
>>
>
_______________________________________________
pyngl-talk mailing list
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Wed Oct 03 2007 - 17:22:09 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 10 2007 - 17:15:05 MDT